Search found 92 matches

by LennyH
Tue Jan 16, 2007 21:56
Forum: Help
Topic: Tab buttons, alternate positioning
Replies: 14
Views: 6892

How about the tab methods setTabHeight and setTabTextPadding . Would a combination of these do what you need, or have I misunderstood your question? These don't really address the problem. The problem is that even if you set a tab control to be an absolute size, the tab buttons still scale with scr...
by LennyH
Tue Jan 16, 2007 15:49
Forum: Help
Topic: Tab buttons, alternate positioning
Replies: 14
Views: 6892

I've been looking around a bit more about tabs, and I am curious: is there any way to set the size of the tab buttons and their positioning/spacing between each other and the sides of the control? It is bad that if I have a control of an absolute size, the buttons still scale to the window size whe...
by LennyH
Mon Jan 08, 2007 15:43
Forum: Help
Topic: Is it suitable for?
Replies: 1
Views: 1576

Well, it depends on your expectations. Part of what you listed isn't really GUI related. For instance, you wouldn't use CEGUI to do the logic for rotating/panning a globe, but you would use it to create interface controls that would call your classes and/or function that handle that. Likewise, when ...
by LennyH
Fri Jan 05, 2007 15:42
Forum: Help
Topic: Tab buttons, alternate positioning
Replies: 14
Views: 6892

I've been looking around a bit more about tabs, and I am curious: is there any way to set the size of the tab buttons and their positioning/spacing between each other and the sides of the control? It is bad that if I have a control of an absolute size, the buttons still scale to the window size when...
by LennyH
Wed Jan 03, 2007 14:42
Forum: Help
Topic: Best way to handle 'icon buttons' with varying images?
Replies: 11
Views: 6523

huh? Ahhh you mean you want one general button that has a frame, and instead of putting text onto it, you put a picture onto it, like the windows buttons with pictures in it ?? Exactly, so I think Rackles solution of using a scrolling pane to set the image would work best eh? Why? If you make a but...
by LennyH
Tue Jan 02, 2007 21:21
Forum: Help
Topic: Best way to handle 'icon buttons' with varying images?
Replies: 11
Views: 6523

But wait youre talking about using a single image for each icon. What if you had HUNDREDS of different icon pictures, youd need to combine them all into a giant 'icon image atlas' (try and make a WoW macro to see what im talking about). How could cegui support that? It would require some kind of 'u...
by LennyH
Tue Jan 02, 2007 15:12
Forum: Offtopic Discussion
Topic: Avoid some events
Replies: 2
Views: 2923

->hasInputFocus() I think would get you the bool you seem to be looking for, as well.
by LennyH
Tue Jan 02, 2007 14:52
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

->setPosition( CEGUI::UVector2( cegui_reldim( 0.0f ), cegui_reldim( 0.0f ) ) ); ->setSize( CEGUI::UVector2( cegui_absdim( 450 ), cegui_absdim( 71 ) ) ); You can use absolute or relative for both size and position. Just use the appropri...
by LennyH
Fri Dec 29, 2006 19:32
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

I am thinking another way to do it... Is there any way of creating a new widget using CEGUI?. I mean, create a copy of the ProgressBar element, but changing the images used in the imageset. Is that possible?. If so, how???. It's kind of funny - you're going down the same path of reasoning as me. I ...
by LennyH
Fri Dec 29, 2006 18:06
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

I'll have to differ to somebody else on that then :p

I didn't find upgrading to 0.5.0 too difficult. But, I only had to worry about a 'small' test app that I test things in. I just had to change how the sizes and positions were done. I guess you find yourself having to do more?
by LennyH
Fri Dec 29, 2006 17:31
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

They look fine to me, so I see no immediate reason why it would not work with at least CEGUI 0.5.0.
by LennyH
Fri Dec 29, 2006 15:41
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

Hmm, looking at your log again, I'm not sure if this behavior is available in CEGUI 0.4.1. This works fine in CEGUI 0.5.0.
by LennyH
Fri Dec 29, 2006 14:50
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

The idea I listed in my above posts does indeed work for me...

Please make sure that where you put "Color" that you change it to "Colour"...such as "ColorProperty" becomes "ColourProperty", etc.
by LennyH
Thu Dec 28, 2006 23:25
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

It was my understanding, based on other examples within the default looknfeel file, that you would place it exactly where you did place it. On a side note, I think ColorProperty should be ColourProperty. Dang English spelling. I'll play with this idea tomorrow when I have more time; if you come up w...
by LennyH
Thu Dec 28, 2006 21:56
Forum: Modifications / Integrations / Customisations
Topic: Coloured progressbar
Replies: 20
Views: 10515

Again, all of this is untested ;) But, if we go off the layout of my code, I would assume you would change the color like so: FriendlyWidget->setProperty("FriendlyColor", "FFFF0000"); You could, of course, set the hexadecimal color code to whatever you want, keeping in mi...

Go to advanced search