Code::Blocks Forums

User forums => Help => Topic started by: unnaturhal on October 10, 2012, 12:43:25 pm

Title: How to change the menu color of code blocks.
Post by: unnaturhal on October 10, 2012, 12:43:25 pm
Hi there,
I have a bit problem with the C::B appareance, this:
http://i46.tinypic.com/194j2q.png
As you can see, there are some parts of the toolbars are "dark" and some other in the standard C::B grey color. And it's a punch in the eye.
There is a way to make everything dark, or to just turn in the standard color?
This dark color is given by mu Windows7 Theme (I think) but I can't undestand why it makes dark just a piece of the toolbars and not the whole one.
Thanks in advance
Title: Re: How to change the menu color of code blocks.
Post by: oBFusCATed on October 10, 2012, 02:02:52 pm
What theme are you using?
Does other wxwidgets based apps work correctly?
Title: Re: How to change the menu color of code blocks.
Post by: unnaturhal on October 10, 2012, 03:17:21 pm
What theme are you using?
Is called Different Touch 7, I dropped it from deviantart.
Quote
Does other wxwidgets based apps work correctly?
For exaple? :o
Title: Re: How to change the menu color of code blocks.
Post by: oBFusCATed on October 10, 2012, 05:25:52 pm
Choose something from here: http://wxwidgets.org/about/users.htm
Or compile and run some of the wx samples.
Title: Re: How to change the menu color of code blocks.
Post by: unnaturhal on October 10, 2012, 05:35:38 pm
I donwloaded a sample and this is how it looks:
http://i49.tinypic.com/de2ngm.png
It's helpful?
Title: Re: How to change the menu color of code blocks.
Post by: MortenMacFly on October 11, 2012, 09:24:03 am
I donwloaded a sample and this is how it looks:
http://i49.tinypic.com/de2ngm.png
It's helpful?
It depends on if this is using the wxAUI toolbar. As you know, there are also other (including the default wxToolbar) toolbars around. So the question is, is this a sample for wxAUI?

I you are unsure but have the sources of wxWidgets, I guess the easiest way would be to compile the wxAUI sample of your wxWidgets version (usually in [wxWidgets_src]\samples\aui) for verification. This should be really easy, espeicially if you self-compiled wxWidgets anyways.

Also keep in mind that this must match the wx version you are using. So don'T trty samples compiled against wx2.9.x if you are using wx2.8.x.

For me (btw) I don't see such artefacts on Linux.
Title: Re: How to change the menu color of code blocks.
Post by: unnaturhal on October 12, 2012, 04:34:20 pm
It depends on if this is using the wxAUI toolbar. As you know, there are also other (including the default wxToolbar) toolbars around. So the question is, is this a sample for wxAUI?

I you are unsure but have the sources of wxWidgets, I guess the easiest way would be to compile the wxAUI sample of your wxWidgets version (usually in [wxWidgets_src]\samples\aui) for verification. This should be really easy, espeicially if you self-compiled wxWidgets anyways.

Also keep in mind that this must match the wx version you are using. So don'T trty samples compiled against wx2.9.x if you are using wx2.8.x.

For me (btw) I don't see such artefacts on Linux.
But.. why all this problems? There isn't a simple way to make C::B appareance dark or to get back the original color without changing the windows 7 theme?