User forums > Using Code::Blocks
changing font colors in the management panel
oBFusCATed:
--- Quote from: jambli on April 25, 2010, 08:35:28 pm ---gtk theme - new wave, with all the background colors set to black, and all the text colors set to white.
--- End quote ---
This one http://gnome-look.org/content/show.php/New+Wave+Lucid+theme?content=121184 ?
How do you change the colours?
--- Quote from: jambli on April 25, 2010, 08:35:28 pm ---wxGTK - libwxgtk2.9-dbg
--- End quote ---
There are reports that C::B crashes with wxgtk-2.9, only 2.8 is supported
--- Quote from: jambli on April 25, 2010, 08:35:28 pm ---CB - 8.02
--- End quote ---
You can try a nightly to see if the bug is still pressent
Jenna:
It is.
The cause is, that we use wxSYS_COLOUR_GRAYTEXT for not compilable/linkable files, like nonpch-headers, xml-files etc.
It should be used for disabled text (as the wxWidgets docu says), but for wxGTK they create it as 2/3 of wxSYS_COLOUR_3DFACE.
And 2/3 of black is black.
--- Code: --- case wxSYS_COLOUR_GRAYTEXT:
case wxSYS_COLOUR_BTNSHADOW:
//case wxSYS_COLOUR_3DSHADOW:
{
wxColour faceColour(GetColour(wxSYS_COLOUR_3DFACE));
color =
wxColour((unsigned char) (faceColour.Red() * 2 / 3),
(unsigned char) (faceColour.Green() * 2 / 3),
(unsigned char) (faceColour.Blue() * 2 / 3));
}
break;
--- End code ---
jambli:
--- Quote ---This one http://gnome-look.org/content/show.php/New+Wave+Lucid+theme?content=121184 ?
How do you change the colours?
--- End quote ---
yes that one. I change the colors through the appearance manager.
under system->preferences (? might be administration).
--- Quote ---The cause is, that we use wxSYS_COLOUR_GRAYTEXT for not compilable/linkable files, like nonpch-headers, xml-files etc.
--- End quote ---
This is what I was worried about, was hoping there was just some setting I couldn't find.
Oh well. Thanks for both of your help. If I get some free time this summer I might try to change that.
Thanks again.
Navigation
[0] Message Index
[*] Previous page
Go to full version