Search found 130 matches

by Mikademus
Sun Jun 28, 2009 18:17
Forum: CEGUI Library Development Discussion
Topic: The Development of CEGUI 0.7.x
Replies: 78
Views: 36268

Re: The Development of CEGUI 0.7.x

Why don't just release 0.7 with base functionality and then upgrade from there? This way it'll get way more testing and a lot more bugs will be fixed. Also might highlight some design/implementation problems earlier. The issue with making a 0.7.0 release now, is that the ongoing development is goin...
by Mikademus
Sun Apr 26, 2009 17:39
Forum: CEGUI Library Development Discussion
Topic: 0.7.x - Summary of the suggestion about cooked click events
Replies: 12
Views: 3978

Re: 0.7.x - Summary of the suggestion about cooked click events

So which method did you choose to implement? I am assuming #2 since you seem to be leaning towards that option, and since it likely requires the least amount of modification to CEGUI. I still think #1 is better in the long-run, as clients would not need to write the event timing themsevles. Since C...
by Mikademus
Sat Apr 18, 2009 00:03
Forum: CEGUI Library Development Discussion
Topic: 0.7.x - Summary of the suggestion about cooked click events
Replies: 12
Views: 3978

Hi, With reference to the topic subject, don't presume that this will be going into the 0.7.x series, or indeed that it will get added at all. All I have said is that I'll look into the possibilities, and that if we decide to add this, it might get into a 0.7.x release. I must say that by keep &quo...
by Mikademus
Wed Apr 15, 2009 19:39
Forum: CEGUI Library Development Discussion
Topic: 0.7.x - Summary of the suggestion about cooked click events
Replies: 12
Views: 3978

0.7.x - Summary of the suggestion about cooked click events

I originally posted about the possibility of cooked events (a cooked event is f.i. a click or a double-click that doesn't generate prior mouseDown and moueUp evens) as a question in the beginners help forum , but it soon turned into a discussion about whether this could be a future part of CEGUI. Fo...
by Mikademus
Sat Apr 11, 2009 22:50
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

Perhaps it may be of use if I list what I've had to manage to create this functionality. So the things you need to consider when designing event cooking are Click invalidation checks ⋅  click interval : timeout interval for next down event after the last release event ⋅  release ...
by Mikademus
Mon Apr 06, 2009 16:50
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

With a little effort I think you could implement something like I originally suggested: delayed dispatching of events based on window properties (eg 'cooked events') by adding a couple properties to CEGUI::Window, an event queue to CEGUI::System, and updating CEGUI::System::injectMouseButtonDown() ...
by Mikademus
Sat Apr 04, 2009 18:16
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

Speedo wrote:I'm offering a potential solution which could save you all of the work you're looking at doing to deal with this very small problem


Thank you for your kind consideration.
by Mikademus
Sat Apr 04, 2009 16:00
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

It seems to me that the best (only?) solution here is to make the single click action benign enough that when the single click event occurs you can always go ahead and process it without caring whether or not it's going to be followed by a double click event. While you *could* work in some delays i...
by Mikademus
Fri Apr 03, 2009 23:32
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

Ok, having thought about this for some time I have some ideas --or rather notions-- I want do discuss. As I see it atm there are basically two ways of achieving the goal of cooked even handling in CEGUI, the first involves CEGUI cooking the mouse input into proper events, the second is about the cli...
by Mikademus
Thu Apr 02, 2009 22:16
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

Heh, interface-related questions are always interesting according to me, at least. :)

CE, if I knew the CEGUI framework I'd happily pitch in and try different solutions myself, but I'm afraid it would take quite some effort to get to the point that I'd be able to contribute anything worthwhile...
by Mikademus
Thu Apr 02, 2009 18:32
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

It's an unsolvable problem, in general. For you, specifically, that is a solution. But when dealing with end users, any arbitrary decision pretty much means somebody is going to be unhappy :) I totally disagree with you. This is a very well-structured problem and you have two distinct scenarios. On...
by Mikademus
Thu Apr 02, 2009 15:01
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

LennyH, unfortunately there isn't a Nobel Prize for Clever Algorithms; but you probably meant that to properly solve this we'd need time-travelling capabilities, which wouldn't likely be accepted by the scientific community for a long time since it among other things would void relativity and scienc...
by Mikademus
Thu Apr 02, 2009 13:47
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

I do see the problem. This seems to be one of those design decisions that has to be taken and that will affect the rest of the system. I will think about solutions, and hopefully report back what I find. I think this is not something only I would consider an important problem/limitation/obstacle and...
by Mikademus
Thu Apr 02, 2009 00:05
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

Been checking around some more, and I found a thread on the Ogre forum that talks about this behaviour. CEGUI supports up to triple click, so if you mouse_down on a widget 3 times times, it will receive the following events: mouse_down mouse_click mouse_double_click mouse_triple_click It's also wort...
by Mikademus
Wed Apr 01, 2009 20:18
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 5349

Ok, I'll wait and see if CE has some insight to share. Thanks for taking the time to reply to my question!

Go to advanced search