]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gui: Simplify color handling.
authorAndre Noll <maan@systemlinux.org>
Sat, 8 Mar 2014 20:18:21 +0000 (21:18 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 13:53:20 +0000 (15:53 +0200)
Various gui elements of para_gui can be customized through struct
gui_theme. Currently this structure contains two integers for each
each element, one for the foreground and one for the background color
of the element. This is a bit clumsy and repetitive.

This commit cuts down the number of fields of struct gui_theme by
a factor of two by introducing struct gui_color_spec as a pair of
integers.

The patch is quite large but also simple.


No differences found