Color blindness simulation for kmag... not so useful for people with color blindness...
commit8681723efdbe6d2f559a4b0d8873adaae67d425e
authormwoehlke <mwoehlke@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Thu, 14 Feb 2008 00:18:27 +0000 (14 00:18 +0000)
committermwoehlke <mwoehlke@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Thu, 14 Feb 2008 00:18:27 +0000 (14 00:18 +0000)
tree7dac5f2b8d793e47a53c8c261d6600c22c245adf
parent6bf95c8635512d27914c8055f1dca863c7874458
Color blindness simulation for kmag... not so useful for people with color blindness, but good for designing accessible interfaces (also makes a fun toy in its own right).

Several algorithms are implemented (the preprocessor selects one at compile time), so some of the evolution is visible. I'd like to get the "non-simple" algorithm working, but the paper is missing most of the crucial variables. For now the "simple" algorithm with coefficients derived from Visolve is used.

TODO: make gamma configurable, re-add 'invert colors', add modes to actually help people with color blindness in addition to the simulation modes... UI probably needs more work to make this practical, the simple menu-with-list-of-exclusive-options doesn't really cut it.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeaccessibility@774789 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
kmag/CMakeLists.txt
kmag/colorsim.cpp [new file with mode: 0644]
kmag/colorsim.h [new file with mode: 0644]
kmag/kmag.cpp
kmag/kmag.h
kmag/kmagui.rc
kmag/kmagzoomview.cpp
kmag/kmagzoomview.h
kmag/main.cpp