Julien Danjou
5b718cdacb
structs: rename to globalconf
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:23:01 +02:00
Brian Gianforcaro
3145e3145e
Grammar/spelling corrections in comments and docs.
...
Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:39:36 +02:00
Julien Danjou
ada6056c89
color: do not take pointer to push
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:46:35 +02:00
Julien Danjou
df20e95f82
color: move push color function to color.c
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-19 17:01:01 +02:00
Julien Danjou
9b35ad7983
color: simplify includes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 14:02:21 +02:00
Uli Schlachter
7beda0321a
Add some comments to make things clearer
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:02:21 +02:00
Uli Schlachter
293f2a312d
Add an API for converting a xcolor_t to a color_t
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:02:21 +02:00
Uli Schlachter
19e30e56d0
Add new color management api
...
This api is intended for uses where you don't need a color's pixel value but
only the color components.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:02:20 +02:00
Uli Schlachter
b38881b123
Fix a integer overflow issue
...
Alpha of 0xff resulted in RGB_8TO16(0xff) == 0x10000. This was cast to uint8_t
which resulted in alpha being set to 0.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:01:22 +02:00
Uli Schlachter
388ef61158
Move some code into a helper function
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:01:21 +02:00
Uli Schlachter
5dadaa59a9
Move xcolor into its own source files
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 13:55:38 +02:00