Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Small accessibility patch
Carl Colijn:
Hi Morten,
When in Windows 7, right-click on an empty spot on the desktop, and select "Personalize" from the context menu; the "Personalize" dialog will pop up. There's a scrollable control in that dialog listing all predefined themes; somewhere at the bottom of the list are the "Basic and high-contrast" themes. I always select "High contrast #1".
If you are using an already modified theme then this theme will be listed on top of the list under "My themes" or such. If it's not saved, then you can right-click it and select "Save theme" first before switching to another theme (just to be on the safe side).
So far I've found nowadays Code::Blocks goes along with high contrast themes pretty well, apart from the notebook tabs and the dockable window title bars. The colour of the latter can be set via the settings, so no fix is needed there.
Note though that some other apps do not play nice with high contrast themes; my Kaspersky virus scanner e.g. insists on using it's own custom window drawing using white as background, but uses the Windows system text colour (in my case pale yellow) to show text; quite unreadable thank you very much ;) In version 8.02 Code::Block's logger windows used to be like this (background from system colours == black in my case, and text colour hard-coded to black, dark blue and dark red), but nowadays in the text loggers any non-standard text colour is first BlendTextColoured which fixes this nicely.
I also alterd the HTML logger window code just to be safe, but I suspect there are no HTML loggers in use anymore?
MortenMacFly:
--- Quote from: Carl Colijn on November 23, 2011, 09:33:34 am ---When in Windows 7, right-click on an empty spot on the desktop, and select "Personalize" from the context menu; the "Personalize" dialog will pop up. There's a scrollable control in that dialog listing all predefined themes; somewhere at the bottom of the list are the "Basic and high-contrast" themes. I always select "High contrast #1".
--- End quote ---
OK - I'll try once I find the time...
--- Quote from: Carl Colijn on November 23, 2011, 09:33:34 am ---I also alterd the HTML logger window code just to be safe, but I suspect there are no HTML loggers in use anymore?
--- End quote ---
Sure there is. The build log (if saved) is HTML. You can open the build log itself inside C::B in a HTML viewer.
oBFusCATed:
OK, I'm testing this patch and I'll commit it after some time.
Morten have you tried it with a dark theme on windows?
MortenMacFly:
--- Quote from: oBFusCATed on December 05, 2011, 02:24:04 pm ---OK, I'm testing this patch and I'll commit it after some time.
Morten have you tried it with a dark theme on windows?
--- End quote ---
Yes, it works - you got the go from my side.
oBFusCATed:
One think I'm noticing is that if there is an error the red color is not that red, but a bit whitened.
Is this the same on your machine?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version