WPrefs: grouped items related to the color selection in a single place
commit2925e54bc1fdd120b1bb5be5d4b6447816bcc49d
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 4 Jul 2014 21:28:44 +0000 (4 23:28 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 6 Jul 2014 00:07:55 +0000 (6 01:07 +0100)
tree3f7b673e163b6d5758384c8e8dd94a089badaf56
parent2c9e500b88bc3976bc58bf4e86105a5057d6bfc7
WPrefs: grouped items related to the color selection in a single place

Having all these information spread in different places makes it error
prone when wanting to add/remove/change something in the list are there are
many unrelated places to keep in sync.

By merging everything in a single struct array it is a lot easier to
maintain this list.

Took the opportunity to properly document a little hack which is used to
avoid complex handling for a special case.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/Appearance.c