diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-26 13:40:30 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-26 13:40:30 +0000 |
commit | 657b283ab0ce13e0f655310b281bf3ac56948ffc (patch) | |
tree | 5abc4009d99ab0046cc2cf0dbad12eb535d11017 /navit/layout.c | |
parent | 5d319441a680aec6f0a8292d3faa4ba7bd018672 (diff) | |
download | navit-svn-657b283ab0ce13e0f655310b281bf3ac56948ffc.tar.gz |
Fix:Core:Fixed wrong color definitions
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4037 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/layout.c')
-rw-r--r-- | navit/layout.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/navit/layout.c b/navit/layout.c index f5f759ae..27ff0234 100644 --- a/navit/layout.c +++ b/navit/layout.c @@ -29,7 +29,7 @@ struct layout * layout_new(struct attr *parent, struct attr **attrs) { struct layout *l; - struct color def_color = {0xffff, 0xefef, 0xb7b7, 0xffff}; + struct color def_color = {COLOR_BACKGROUND_}; struct attr *name_attr,*color_attr,*order_delta_attr,*font_attr,*day_attr,*night_attr; if (! (name_attr=attr_search(attrs, NULL, attr_name))) @@ -464,8 +464,8 @@ struct circle * circle_new(struct attr *parent, struct attr **attrs) { struct element *e; - struct color color_black = {0x0000,0x0000,0x0000,0x0000}; - struct color color_white = {0xFFFF,0xFFFF,0xFFFF,0x0000}; + struct color color_black = {COLOR_BLACK_}; + struct color color_white = {COLOR_WHITE_}; e = g_new0(struct element, 1); e->type=element_circle; @@ -484,8 +484,8 @@ struct text * text_new(struct attr *parent, struct attr **attrs) { struct element *e; - struct color color_black = {0x0000,0x0000,0x0000,0x0000}; - struct color color_white = {0xFFFF,0xFFFF,0xFFFF,0x0000}; + struct color color_black = {COLOR_BLACK_}; + struct color color_white = {COLOR_WHITE_}; e = g_new0(struct element, 1); e->type=element_text; |