Search found 22 matches

by Gf11speed
Thu Jan 04, 2007 17:48
Forum: Offtopic Discussion
Topic: Multiple Viewports in Ogre Makes Text Unreadable
Replies: 4
Views: 1769

Yes the XML layout files are using UnifiedAreaRect. Is that incorrect?
by Gf11speed
Thu Jan 04, 2007 16:08
Forum: Offtopic Discussion
Topic: Multiple Viewports in Ogre Makes Text Unreadable
Replies: 4
Views: 1769

I tried setting the window layout to absolute metrics mode, but no luck:

layout_InRace->setMetricsMode(CEGUI::Absolute);

Also tried:
staticText->setMetricsMode(CEGUI::Absolute);

I am loading CEGUI XML layouts, and the text that is getting scrunched up is just a static text box.
by Gf11speed
Thu Jan 04, 2007 15:31
Forum: Offtopic Discussion
Topic: Multiple Viewports in Ogre Makes Text Unreadable
Replies: 4
Views: 1769

Multiple Viewports in Ogre Makes Text Unreadable

So I have a scene that goes from a single, to multiple viewports in Ogre, and contains static text boxes. When I add two viewports the text obviously is half the size (half the height since I have two viewports on top of each other). This causes a problem cause now the text is 2 times harder to read...
by Gf11speed
Tue Jul 18, 2006 02:07
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

Ok I fixed it. The problem was that my .imageset file was missing some stuff, and for some reason it prevented me from changing radio button text colors. So now I can change their color like so: <Window Type="GameLook/RadioButton" Name="Radio_Race1"> <Property Name="HoverTex...
by Gf11speed
Fri Jul 14, 2006 17:00
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

I'm not sure how to use ColourRect properly for what lindquist is referring to. Do you know how to do that?
by Gf11speed
Fri Jul 14, 2006 16:38
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

When I call the following, it just sets to the default white radio button color: <Property name="NormalTextColour" value="FFFFF444" /> So basically it just ignores the call. This is what it looks like: <Window Type="GameLook/RadioButton" Name="Radio10" > <Prop...
by Gf11speed
Fri Jul 14, 2006 16:12
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

Within TaharezLook.looknfeel, under the TaharezLook/RadioButton section: <PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" /> <PropertyDefinition name="HoverTextColour" initialValue="FFFFFFFF" redrawOnWrite=&qu...
by Gf11speed
Wed Jul 12, 2006 02:57
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

I'm not sure exactly what you mean by making the look'n'feel use a ColourRect property. Is this simple to do?

I'd certainly prefer to specify the colors in the look'n'feel and layout files instead of modifying any C++ code, if this is possible.
by Gf11speed
Tue Jul 11, 2006 18:21
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

Can't be done?
by Gf11speed
Wed Jul 05, 2006 16:19
Forum: Help
Topic: Radio Button Text Colors
Replies: 12
Views: 2360

Radio Button Text Colors

I am trying to modify the color of the text for my radio buttons, but I do not want all of them to be the same in my game. I know I can edit the game's looknfeel file and add this under the radio button section in order to change the colors: ... <WidgetLook name="GameLook/RadioButton"> <Pr...
by Gf11speed
Mon Jun 19, 2006 17:24
Forum: Help
Topic: Mouse Disappears over Button?
Replies: 3
Views: 1062

Ok problem solved. I was loading a cursor image that didn't exist after I had renamed some files. Thanks :)
by Gf11speed
Mon Jun 19, 2006 04:45
Forum: Help
Topic: Mouse Disappears over Button?
Replies: 3
Views: 1062

What is the name??? I'm trying to do this but it does not do anything (it does work for editboxes, however, which is where I got it in the first place -- in the .looknfeel file):

Code: Select all

<Property name="MouseCursorImage" value="set:GameLook image:MouseTextBar" />
by Gf11speed
Sun Jun 18, 2006 16:07
Forum: Help
Topic: Mouse Disappears over Button?
Replies: 3
Views: 1062

Mouse Disappears over Button?

All of the sudden in my application, the mouse disappears whenever it is over a button. Any ideas as to what is going on? I tried searching the forum, but I did not find anything on this... eventhough it seems like it might be a common problem?
by Gf11speed
Tue Jun 13, 2006 16:26
Forum: Modifications / Integrations / Customisations
Topic: Formatting Static Text
Replies: 13
Views: 5057

We ended up creating seperate vertical text fields with transparent backgrounds. If you do that then you can set the text as close as you want to each other without the text backgrounds overlapping. It works well, but the disadvantage is that you have to have a text field for every line.
by Gf11speed
Sat Jun 03, 2006 14:04
Forum: Modifications / Integrations / Customisations
Topic: Formatting Static Text
Replies: 13
Views: 5057

Ok, I probably won't mess with the internal system... at least for now. I think I might just use a transparent background for the text so that I can make text closer without the boarder frame and background overlapping.

Go to advanced search