about this forum..

Discussion about everything. New games, 3d math, development tips...
Post Reply
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

about this forum..

Post by drarem »

I didn't see any topic so I'm posting it here. The only thing that drives me crazy is the poor contrast between the forecolor and backcolor of any posted code. Sometimes I have to highlight the codebox to read it. Can I change my colors in this forum?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, I don't think so. But you should probably check your monitor. We have a clear 'very light blue' against 'dark blue' contrast. The text is even black on the 'very light blue'
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

I think he's talking about the codebox. The green on whatever color the background is :lol:

Code: Select all

like this
Can't say I've ever had problems with it
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

Post by drarem »

Code: Select all

TESTING
Thanks for responding. On two different LCDs within the code tags, the font looks to be a light green and background white.
pippy3
Posts: 155
Joined: Tue Dec 15, 2009 7:32 am

Post by pippy3 »

I'd say a combination of having your monitor in bight conditions and perhaps color blindness would be causing it.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Ok, I thought code box was only one problem. Is it better now?
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

Post by drarem »

Sometimes I wonder if I have slight color-'tone' deafness. Single lines are fine, when I'm reading through a dump it's a little difficult to discern the lines.. like this can confuse me. Tell me you don't paste this into an editor to be able to read the lines carefully when debugging.

Maybe my monitor resolution is too big/font too small which may be driving me crazy too if I weren't already there :)

Code: Select all

g++ -I../../include -I/usr/X11R6/include -I/opt/irrlicht/include -O3 -ffast-math -Os -fomit-frame-pointer main.cpp -o main -L/usr/X11R6/lib -L../../irrlicht/lib/Linux -L/opt/irrlicht/lib/Linux -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11
main.cpp: In member function ‘int GDR::changeresolution(irr::IrrlichtDevice*, int, int)’:
main.cpp:55: error: invalid initialization of reference of type ‘const irr::core::dimension2d<unsigned int>&’ from expression of type ‘irr::core::dimension2d<int>’
/opt/irrlicht/include/irrlicht.h:322: error: in passing argument 2 of ‘irr::IrrlichtDevice* irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<unsigned int>&, irr::u32, bool, bool, bool, irr::IEventReceiver*)’
main.cpp: In member function ‘int GDR::restore(irr::IrrlichtDevice*)’:
main.cpp:59: error: invalid initialization of reference of type ‘const irr::core::dimension2d<unsigned int>&’ from expression of type ‘irr::core::dimension2d<int>’
/opt/irrlicht/include/irrlicht.h:322: error: in passing argument 2 of ‘irr::IrrlichtDevice* irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<unsigned int>&, irr::u32, bool, bool, bool, irr::IEventReceiver*)’
main.cpp: In member function ‘virtual bool MyEventReceiver::OnEvent(const irr::SEvent&)’:
main.cpp:103: error: invalid initialization of reference of type ‘const irr::core::dimension2d<unsigned int>&’ from expression of type ‘irr::core::dimension2d<int>’
/opt/irrlicht/include/irrlicht.h:322: error: in passing argument 2 of ‘irr::IrrlichtDevice* irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<unsigned int>&, irr::u32, bool, bool, bool, irr::IEventReceiver*)’
main.cpp: In member function ‘int LX::LXScreen(int, int)’:
main.cpp:143: error: invalid initialization of reference of type ‘const irr::core::dimension2d<unsigned int>&’ from expression of type ‘irr::core::dimension2d<int>’
/opt/irrlicht/include/irrlicht.h:322: error: in passing argument 2 of ‘irr::IrrlichtDevice* irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<unsigned int>&, irr::u32, bool, bool, bool, irr::IEventReceiver*)’
make: *** [all_linux] Error 1
[/code]
Adler1337
Posts: 471
Joined: Sat Aug 09, 2008 6:10 pm
Location: In your base.

Post by Adler1337 »

Sometimes I wonder if I have slight color-'tone' deafness.
I'm willing to bet you do. It's not that uncommon. I believe windows has a high contrast mode that might help you a bit. If someone were to change the color of the codebox I'm sure that would make things easier to read for everyone. (perhaps blue instead of green?)
multum in parvo
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

I saw that some forums have syntax highlighted code boxes, that would be nice to have :)
Working on game: Marrbles (Currently stopped).
pippy3
Posts: 155
Joined: Tue Dec 15, 2009 7:32 am

Post by pippy3 »

serengeor wrote:I saw that some forums have syntax highlighted code boxes, that would be nice to have :)
This. They're very easy to set up an the auto-copy function is great.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

IIRC, this is not possible for our current forum setup, but bitplane is working on an upgrade which will probably also include highlighting.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

Most browsers allow to override the CSS stylesheets. Just use a custom one when browsing the Irrlicht forums.

The CSS for the code box would look like this:

Code: Select all

td.code { color: blue !important; }
or similar.

Opera provides special accessibility stylesheets.
Image

http://www.opera.com/docs/usercss/
"Whoops..."
Post Reply