Windows Look Button setText - text missing

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Windows Look Button setText - text missing

Postby spannerman » Thu Aug 04, 2005 21:22

Howdy,

Ive recently upgraded my CEGUI CVS version to HEAD. Everything's looking great, except for one strange thing. None of my buttons are showing any text - they did before the upgrade. Im using the WindowsLook scheme.

Anybody seeing the same thing? Anything changed with regard to the WindowsLook/Button at all recently?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Windows Look Button setText - text missing

Postby CrazyEddie » Fri Aug 05, 2005 08:16

Hello thar :)

It shouldn't be broken. I'll have a look later, unless someone else replies with a solution first.

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Re: Windows Look Button setText - text missing

Postby spannerman » Fri Aug 05, 2005 14:19

Thankin you kindly pardner.

On a related note, I saw the new method to align the text on a button on the x-axis. This is fairly new right? I'll take a look into that, might see something. Also I'm using a non-standard font (i.e. not one that comes with the samples) so these might be adding up to produce the problemo.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Windows Look Button setText - text missing

Postby CrazyEddie » Fri Aug 05, 2005 18:11

This was missing alpha components on the constant default colours for the button texts. I've added alpha components to all the constant colours now. It's in CVS, but if you're impatient to wait for the sync, see the attached patch ;)

You mean the x offset thing? That's old and I'd prefer it if I could remove it, lol. Falagard rules!

There may be other issues hanging around too, so if you spot any other strangeness let us know ASAP :-D

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Re: Windows Look Button setText - text missing

Postby spannerman » Fri Aug 05, 2005 22:59

Aah, much obliged sir :) Ive no time to left to test the patch this evening but will do first thing tomorrow. Cheers!

You mean the x offset thing? That's old and I'd prefer it if I could remove it, lol. Falagard rules!


It is? Oops not noticed that method before :oops:. Yeah, Im sure Falagard will give me everything Ive been longing for, and more ;), Im very tempted to try it out and hopefully will do soon.

There may be other issues hanging around too, so if you spot any other strangeness let us know ASAP


But of course :hammer:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Windows Look Button setText - text missing

Postby CrazyEddie » Sat Aug 06, 2005 08:30

Cool.

Switching to Falagard will be pretty simple if you're currently using one of the provided 'look' modules. Basically, for example, you just switch from using "TaharezLook.scheme" to "TaharezLookSkin.scheme" and you'll then be running Falagard - we're still tweaking things at the moment, so while it's "mostly done" there are still changes being made where we see weakness ;)

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Re: Windows Look Button setText - text missing

Postby spannerman » Sat Aug 06, 2005 16:27

Sorry for delay in replying, I got the latest from CVS HEAD and thats fixed it, all looking good now thanks :)

I spent a short while trying to switch to the new Falagard, but with no luck just yet. Kept getting a few errors, nothing big, they are no doubt to do with my not moving across all the correct files. I'll try again soon though, and let you know it goes.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 12 guests