Code::Blocks Forums
User forums => Help => Topic started by: Krox on February 17, 2011, 01:54:28 pm
-
hi there,
The error-message of a compiler has pretty unsuitable colors.
http://imgur.com/6hwRql&RO9lA
which is really hard to read (probably depends on monitor settings)
Anyway, the last line is highlighted correctly
http://imgur.com/6hwRq&RO9lAl
The setting for that specific color is not in codeblocks itself, but I found some theme-setting of gnome (I'm on Ubunut). Problem is, if I change that color something appropriate (orange), large parts of the codeblocks-toolbar (and other programs) which used to be grey/white will change too, which is more than ugly.
I know, not a fundamental issue at all, but really annoying. Hope somebody can help me,
Krox
-
Known problem, the colour is hardcoded in the source. No way to set it in the gui, sorry.
You can patch the source directly or provide a patch which adds a gui to override the colours.
It won't be hard, but no one have done it so far....
Another option is to use another GTK theme or to modify your current one.
The problem is that the highlight has gradient, remove the gradient and the won't be a problem.
-
That's not totally correct.
The highlighting of selected items is done by wxWidgets (and as far as I know, there is no option to change the colour used by wxWidgets).
It uses wxSYS_COLOUR_HIGHLIGHT for focused items and wxSYS_COLOUR_BTNSHADOW for items that do not have the focus.
The "problem" with the errors (and warnings) is, that a click on it immediately jumps into the appropriate line in the editor.
Therefore the items loses the focus and wxSYS_COLOUR_BTNSHADOW is used.
-
Another option is to use another GTK theme or to modify your current one.
The problem is that the highlight has gradient, remove the gradient and the won't be a problem.
Modifying of current one leads to ugly results as explained before, but I found one without gradients, that will do.
Thanks for your time you two
-
Jens:
Do you have a theme that can be used to reproduce the problem?
Mine is working OK and it has gradients.