FrameWindow: setCaptionColour()

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
walaber
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun Jan 23, 2005 10:20
Contact:

FrameWindow: setCaptionColour()

Postby walaber » Mon Mar 07, 2005 02:12

I can't seem to get this function to work... I'm using WindowsLook, with a modified imageset (no changes to the xml, just changed the .tga itself).

however, calling this function on a FrameWindow seems to have no affect, the text is always black, no matter what.

I'm simply calling the function like this:

mWindow->setCaptionColour( colour(1,1,1) );


am I dong something wrong?

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

Re: FrameWindow: setCaptionColour()

Postby CrazyEddie » Mon Mar 07, 2005 09:43

I have not checked the code yet, but it's probably a stupid bug on my part :-D I'll have a look later on and report back.

CE.

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

Re: FrameWindow: setCaptionColour()

Postby CrazyEddie » Wed Mar 09, 2005 14:15

This was indeed a silly bug. I have fixed the bug in CVS, please allow a few hours for anonymous access to sync up.

CE.

User avatar
Lucky_Luciano
Just popping in
Just popping in
Posts: 6
Joined: Tue Mar 08, 2005 14:39

Re: FrameWindow: setCaptionColour()

Postby Lucky_Luciano » Wed Mar 09, 2005 18:11

Very off-topic, but I don't want to start a new thread for this: how do you use the WindowsLook please?
I can only use the TaharezLook at the moment...

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

Re: FrameWindow: setCaptionColour()

Postby spannerman » Wed Mar 09, 2005 20:42

Lucky_Luciano wrote:
Very off-topic, but I don't want to start a new thread for this: how do you use the WindowsLook please?
I can only use the TaharezLook at the moment...


If you are already using TaharezLook, then its just a case of replacing TaharezLook specific things with the WindowsLook version. So instead of using the TaharezLook.scheme and TaharezLook.imageset, try using the WindowsLook.scheme and WindowsLook.imageset. Look in your code and resources, and see where you have 'Taharez' things referenced, and use the 'Windows' type instead.

If you have any questions a bit more specifc, just ask and we'll try help you out :)

User avatar
walaber
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun Jan 23, 2005 10:20
Contact:

Re: FrameWindow: setCaptionColour()

Postby walaber » Thu Mar 10, 2005 03:42

CrazyEddie- thanks! now I just need to get internet back on my home PC, and I'll update to the CVS version :P


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 19 guests