Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Small accessibility patch

(1/3) > >>

Carl Colijn:
Hi all,

I've worked on a small patch to get some better usability when working with inverted colour schemes (white on black).  It's really only a few lines, but they do wonders ;)

The changes affect the text logger (white on red text is now also 'inverted' when needed), the HTML logger (no hard-coded colours anymore but now also BlendTextColour), and the VC71 and FireFox2 notebook styles (the tabs now use the correct colour for the tab texts).

The other two notebook styles (used directly from wxWidgets) still do not play nice, since that'll need a wxWidgets source update.

Hope this patch makes it through, so I can keep using the new Code::Blocks versions in stead of my previously patched 8.02 source - I really want to upgrade by now ;)

oBFusCATed:
Can you show screen shots with and without the patch?

Carl Colijn:
Sure; I've used the (modified) MS VC7 notebook theme, but the FireFox one behaves identically.

Without the patch, regular colour scheme:
   

Without the patch, inverted colour scheme:
   

With the patch, regular colour scheme:
   

With the patch, inverted colour scheme:
   

Carl Colijn:
On a related note: in the past I already submitted two similar patches, then for the 8.02 version.  Since the relevant code base has changed dramatically since then, these patches are nowhere near useable anymore.  They're patch #002337 and #002336; I think the best thing to do with them is to delete/reject them so they don't clutter the patch list.

They did bring in an extra settings window so you could set the colours to be used in the loggers (front and back), but the new code base uses BlendTextColour which also Just Works and requires no settings management.

MortenMacFly:
One question: How can I temporarily have a black theme (on Windows 7) without loosing anything? In fact I never played with themes... :shock:

Navigation

[0] Message Index

[#] Next page

Go to full version