News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

changing font colors in the management panel

Started by jambli, April 23, 2010, 09:52:15 PM

Previous topic - Next topic

jambli

Header files in the management panel blend with my window theme, is there
any way to change the font color of the file names? other files show up fine, along with the folders.
Its just the header files.

oBFusCATed

Please show us a screenshot.
What is your theme, os, cb version....

Our magic ball is on a holiday trip at the moment and we can guess this things :-P
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jambli

=) I figured there was just some option I'm missing.

OS : Linux (specifically ubuntu distrubution)
GUI : KDE



As you can see the the names of the file blend in with
the background of the management panel.
However if I select the file then it properly shows the name.

oBFusCATed

Second time: What is your gtk theme, gtk engine, cb version, wxGTK version?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jambli

gtk theme - new wave, with all the background colors set to black, and all the text colors set to white.
With default settings it shows up barely on the white background, its a very light grey color. None of the options
in the appearance settings affect the header file names. The file names for .c files however are affected by the input boxes
text color option.
wxGTK - libwxgtk2.9-dbg
gtk - libgtk2.0-0
CB - 8.02

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.
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
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
You can try a nightly to see if the bug is still pressent
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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.

        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;

jambli

QuoteThis one http://gnome-look.org/content/show.php/New+Wave+Lucid+theme?content=121184 ?
How do you change the colours?
yes that one. I change the colors through the appearance manager.
under system->preferences (? might be administration).

QuoteThe cause is, that we use wxSYS_COLOUR_GRAYTEXT for not compilable/linkable files, like nonpch-headers, xml-files etc.
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.