Author Topic: How to change the menu color of code blocks.  (Read 12670 times)

Offline unnaturhal

  • Multiple posting newcomer
  • *
  • Posts: 20
How to change the menu color of code blocks.
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to change the menu color of code blocks.
« Reply #1 on: October 10, 2012, 02:02:52 pm »
What theme are you using?
Does other wxwidgets based apps work correctly?
(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!]

Offline unnaturhal

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: How to change the menu color of code blocks.
« Reply #2 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to change the menu color of code blocks.
« Reply #3 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.
(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!]

Offline unnaturhal

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: How to change the menu color of code blocks.
« Reply #4 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: How to change the menu color of code blocks.
« Reply #5 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline unnaturhal

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: How to change the menu color of code blocks.
« Reply #6 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?