News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Headers file name color linux

Started by Xorlium, May 09, 2010, 04:42:43 PM

Previous topic - Next topic

Xorlium

Hi,

I'm not sure if this is a bug or if I just can't find where. I'm using linux, KDE 4.4.

If I have a project, on the left there is a project browser, with the names of all the files. The problem is that I can't see the names of the headers, because they are black, and my background is black. Is there somewhere I can change that color? The same thing happens in for example, the valgrind message window and the error build log (except for errors or warnings, which are red and blue).

Perhaps it's better if I show you:



Xorlium

Thanks. It seems silly, but I found where that was defined, and changed it :). I'm currently compiling codeblocks just for this.

Xorlium

Hi. I managed to fix the headers by doing a replace in files of wxSYS_COLOUR_GRAYTEXT by wxSYS_COLOUR_WINDOWTEXT and so now they display properly, but the build messages are still black-on-black (see the screenshot above). I can't find where to change this colour.

Also, this is more of an annoyance, but you know when you put the mouse on top of a function, it pops up a little window telling you about the function? I searched the code::blocks code, but I can't find where those colours are defined. (I'd like to change it to be white-on-black instead of gray-on-white like it is right now). So if anyone could direct me to the file where those things are defined, I'd be grateful.

Thanks!

oBFusCATed

(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

Quote from: Xorlium on May 10, 2010, 01:34:42 AM
Hi. I managed to fix the headers by doing a replace in files of wxSYS_COLOUR_GRAYTEXT by wxSYS_COLOUR_WINDOWTEXT and so now they display properly, but the build messages are still black-on-black (see the screenshot above). I can't find where to change this colour.
Using of wxSYS_COLOUR_GRAYTEXT on linux is a problem with dark backgrounds (due to wxwidgets).
Nevertheless, it's used for purpose. Not compilable-files like headers and some resources should have a different colour, so wxSYS_COLOUR_WINDOWTEXT is not a real solution.
It seems not so easy to fix, but I have it in mind.

Xorlium

Oh yeah, I understand it's not a Codeblocks problem but a wxGTK problem. But for now, it works for me. I also applied (by hand, since the patch gave me trouble) the patch suggested in the other thread. Thanks!!