Search found 92 matches

by LennyH
Mon Jun 01, 2009 16:03
Forum: Modifications / Integrations / Customisations
Topic: is it possible to add shader effects on widgets?
Replies: 9
Views: 2366

Re: is it possible to add shader effects on widgets?

The wave effect is kinda silly, but it demonstrates your point. The glass effect, however, is pretty cool. Good job :)
by LennyH
Fri May 15, 2009 19:58
Forum: Offtopic Discussion
Topic: whether "staticimage" can load 2 images and 2 texts or not?
Replies: 3
Views: 1229

Re: whether "staticimage" can load 2 images and 2 texts or not?

I know for a fact you can load more than one image, since we do so in a project I am working on. However, it has been nearly three years since I have looked at that part of the project. I have not used PropertyHelper before, so I also cannot judge if your usage is correct. However, you could try: go...
by LennyH
Thu Apr 02, 2009 15:48
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 3395

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 :)

That is the "fun" of humanity.
by LennyH
Thu Apr 02, 2009 14:40
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 3395

The problem is, in either case, you are going to wind up doing something that the user doesn't think should occur. In the current view, if a user is performing a double click in his mind, he does not want a mouse down, mouse up, and click to occur. The user doesn't generally think of a double click ...
by LennyH
Thu Apr 02, 2009 14:08
Forum: Help
Topic: Resolving order of events - single and double clicks
Replies: 25
Views: 3395

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 an...
by LennyH
Tue Mar 17, 2009 17:48
Forum: Help
Topic: Text is not working with SleekSpace skin
Replies: 7
Views: 1231

Have you tried using the name you specified in the scheme, instead of the file name? IE, instead of CEGUI::FontManager::getSingleton().createFont("bluehighway-12.font")); try CEGUI::FontManager::getSingleton().createFont("BlueHighway-12")); I know, for instance, when using CEGUI:...
by LennyH
Tue Mar 17, 2009 17:29
Forum: Help
Topic: SDL + CEGUI + openGL display problem
Replies: 3
Views: 822

I haven't messed with openGL direct in a long long time, but shouldn't you be doing some form of glClear and glFlush before and after the teapot?
by LennyH
Tue Mar 17, 2009 14:51
Forum: Modifications / Integrations / Customisations
Topic: stuff with subscribeEvent()
Replies: 4
Views: 2028

Derive your own class from EventArgs. Have your derived class take in your callback. When firing the event, use your derived class.

Then, when handling event, cast the EventArgs to your derived class and grab your callback and do whatever it is you are going to do.
by LennyH
Mon Aug 11, 2008 14:59
Forum: Help
Topic: Double click speed
Replies: 4
Views: 1051

The default double-click speed is set to .33 seconds, which actually turns out to be the ideal speed for normal users. Setting the speed to 2 seconds just seems absurd, unless you are designing this specifically for the mentally challenged? Anyway, as to the behavior you are experiencing, I can ver...
by LennyH
Fri Aug 08, 2008 15:48
Forum: Help
Topic: Double click speed
Replies: 4
Views: 1051

Double click speed

We have recently updated our project to use CEGUI 0.6.1 (we use Delta3D, but needed a newer version of CEGUI for the slider thumb fix). We have issues with click speed, in particular, double clicking. Initially, with no setting, the speed needed to double click was ridiculously fast, to the point th...
by LennyH
Tue Apr 10, 2007 17:10
Forum: Help
Topic: Enable/disable tabs
Replies: 5
Views: 1528

Sorry if it seems like I am looking for a complete answer. It's not that, it's just that this would be a 'nice to have' before the next deadline, but it's not vital either. I don't really have the time to spend going through the code of CEGUI itself. Combined with me being a little flabbergasted tha...
by LennyH
Mon Apr 09, 2007 17:00
Forum: Help
Topic: Enable/disable tabs
Replies: 5
Views: 1528

Using getTabButtonForTabContents is what I was wanting to use before, but it's protected. How would I get the handle to the tab pane? If I had that, I would then be able to get the buttons, and subsequently set the enabled value to true or false?
by LennyH
Fri Apr 06, 2007 20:57
Forum: Help
Topic: Enable/disable tabs
Replies: 5
Views: 1528

Enable/disable tabs

The behavior I would most like is to be able to disable and enable tab buttons of a tab control. For instance, there could be cases where you have a tab control with multiple tab pages, but you only want the user to access another tab page with proper requirements met. There does not appear to be ab...
by LennyH
Wed Mar 14, 2007 21:14
Forum: Modifications / Integrations / Customisations
Topic: How to display "*****" (password) in EditBox ?
Replies: 2
Views: 1662

Try the function setTextMasked.

You should also be able to change the character of the mask using setMaskCodePoint.
by LennyH
Mon Mar 12, 2007 14:10
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Locking and grouping quads together (text based items)
Replies: 2
Views: 1473

If you think that's bad, wait until you want to use tiling when modifying the looknfeel :p These sort of optimizations should be seriously considered and implemented. Nothing like keeping everything running quickly to make us all happy :)

Go to advanced search