News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Start Here page looks ugly with blue background in rev8888

Started by ollydbg, March 01, 2013, 03:21:35 AM

Previous topic - Next topic

ollydbg

See the image below:




I see no options to change the background color in Settings->Environment Settings->Colors.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Jenna

I already have icons with partly transparent background here (I also stumbled over this issue) and as far as I know, you can change the text-color somewhere in the settings (if I remember correctly, it is a new entry under "Settings -> Environment").

ollydbg

Quote from: jens on March 01, 2013, 06:27:40 AM
I already have icons with partly transparent background here (I also stumbled over this issue) and as far as I know, you can change the text-color somewhere in the settings (if I remember correctly, it is a new entry under "Settings -> Environment").
There are options for text colors in start here page, but not background color. :)  In my case, white background color is good. :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Jenna

Quote from: ollydbg on March 01, 2013, 06:36:38 AM
Quote from: jens on March 01, 2013, 06:27:40 AM
I already have icons with partly transparent background here (I also stumbled over this issue) and as far as I know, you can change the text-color somewhere in the settings (if I remember correctly, it is a new entry under "Settings -> Environment").
There are options for text colors in start here page, but not background color. :)  In my case, white background color is good. :)
Sorry I overread the last sentence in your first post.

I already noticed this and I am not really happy with the changes also.

oBFusCATed

Quote from: jens on March 01, 2013, 08:04:45 AM
I already noticed this and I am not really happy with the changes also.
You'll get used to it  ;D

It seems that I've used the wrong system colour for the background.
Can you please test to replace the colour id, here:

wxColour bgColour = wxSystemSettings::GetColour(wxSYS_COLOUR_BACKGROUND);

With wxSYS_COLOUR_APPWORKSPACE or wxSYS_COLOUR_WINDOW ?
(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!]

MortenMacFly

Quote from: ollydbg on March 01, 2013, 03:21:35 AM
See the image below:
Ah - that's where it comes from. I noticed this one as of today, too - for me its a grey background and looks even more uglier. :-) Luckily its just the start page which is opened for only a few seconds, usually.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

Quote from: oBFusCATed on March 01, 2013, 11:53:08 AM
With wxSYS_COLOUR_APPWORKSPACE or wxSYS_COLOUR_WINDOW ?
I prefer wxSYS_COLOUR_WINDOW (only tested on linux).

Another weird thing:
I can change the colour to any non-default vaue and it gets saved on close, but if I try to revert back to default it is not saved.
Changing the caret's colour only has an effect if I close and reopen C::B or the editor, or if I open the editorsettings dialog an close it.
The caret colour setting is still possible via "Settings -> Editor -> Margins and caret", so it can be changed in two different places what can confuse the user.

If resetting the default is done by just not setting it, the old value must explicitely be deleted in the conf-file or it will remain.

oBFusCATed

Quote from: jens on March 01, 2013, 12:49:43 PM
I prefer wxSYS_COLOUR_WINDOW (only tested on linux).
Anyone tried it on windows?

Quote from: jens on March 01, 2013, 12:49:43 PM
Another weird thing:
I can change the colour to any non-default vaue and it gets saved on close, but if I try to revert back to default it is not saved.
Hm, I'll have to test again, because I think I've tried it and it worked.

Quote from: jens on March 01, 2013, 12:49:43 PM
Changing the caret's colour only has an effect if I close and reopen C::B or the editor, or if I open the editorsettings dialog an close it.
Known issue, suggestions?

Quote from: jens on March 01, 2013, 12:49:43 PM
The caret colour setting is still possible via "Settings -> Editor -> Margins and caret", so it can be changed in two different places what can confuse the user.
I've removed only color options added after 12.11. I think this will be easier in the longer run.

Quote from: jens on March 01, 2013, 12:49:43 PM
If resetting the default is done by just not setting it, the old value must explicitely be deleted in the conf-file or it will remain.
I'll look at it tonight...
(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!]

ollydbg

Quote from: oBFusCATed on March 01, 2013, 12:54:57 PM
Quote from: jens on March 01, 2013, 12:49:43 PM
I prefer wxSYS_COLOUR_WINDOW (only tested on linux).
Anyone tried it on windows?
I have tried it now, using wxSYS_COLOUR_WINDOW ---> In my case, the start here page's background turn back to white.  :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

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!]

Miguel Gimenez

I've extended tpetrov changes to allow selecting also the background colour. If you are interested, the patch is in the Patch Tracker.

oBFusCATed

Quote from: mgimenez on March 01, 2013, 08:43:51 PM
I've extended tpetrov changes to allow selecting also the background colour. If you are interested, the patch is in the Patch Tracker.
Unfortunately there is no easy way I can think of providing the reset to default option.
If there is a desire we can add all colours, but at least on linux there is no point.
The idea of the colour manager is to allow the user to make the colours match, be visible, be readable on the default background.
I've not implemented a theme system inside C::B, this is a job of wxwidgets/gui toolkit available in the OS/distro.
(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!]