From: Jim Evins Date: Wed, 8 Feb 2006 03:44:52 +0000 (+0000) Subject: 2006-02-07 Jim Evins X-Git-Tag: glabels-2_3_0~382 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a68c33f4b10396ae9835a73db093b1b3c855446;p=glabels 2006-02-07 Jim Evins * data/glade/object-editor.glade: Fixed color groups of color combos. * src/color.h: Added default shadow color. * src/object-editor.c: (gl_object_editor_construct_color_combo): Added shadow color group. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@583 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 35507d13..1ed85ecb 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,12 @@ +2006-02-07 Jim Evins + + * data/glade/object-editor.glade: + Fixed color groups of color combos. + * src/color.h: + Added default shadow color. + * src/object-editor.c: (gl_object_editor_construct_color_combo): + Added shadow color group. + 2006-02-06 Jim Evins * src/object-editor-shadow-page.c: diff --git a/glabels2/data/glade/object-editor.glade b/glabels2/data/glade/object-editor.glade index 4b93983f..29393748 100644 --- a/glabels2/data/glade/object-editor.glade +++ b/glabels2/data/glade/object-editor.glade @@ -1067,7 +1067,7 @@ True gl_object_editor_construct_color_combo - 2 + 1 0 Sun, 16 Nov 2003 06:52:23 GMT @@ -1282,7 +1282,7 @@ True gl_object_editor_construct_color_combo - 2 + 0 0 Sun, 16 Nov 2003 06:52:23 GMT @@ -1976,7 +1976,7 @@ True gl_object_editor_construct_color_combo - 2 + 1 0 Sun, 16 Nov 2003 06:52:23 GMT @@ -3205,7 +3205,7 @@ True gl_object_editor_construct_color_combo - 2 + 3 0 Sun, 16 Nov 2003 06:52:23 GMT diff --git a/glabels2/src/color.h b/glabels2/src/color.h index 9fa55df0..ae0b2ae7 100644 --- a/glabels2/src/color.h +++ b/glabels2/src/color.h @@ -40,6 +40,7 @@ typedef struct { #define GL_COLOR_NONE GL_COLOR_A(0,0,0,0) #define GL_COLOR_FILL_MERGE_DEFAULT GL_COLOR_A(255,255,255,128) #define GL_COLOR_MERGE_DEFAULT GL_COLOR_A(0,0,0,128) +#define GL_COLOR_SHADOW_DEFAULT GL_COLOR(0,0,0) #define GL_COLOR_SHADOW_MERGE_DEFAULT GL_COLOR_A(0,0,0,255) #define GL_COLOR_I_RED(x) (((x)>>24) & 0xff) diff --git a/glabels2/src/object-editor.c b/glabels2/src/object-editor.c index ca82cf20..f8652f2c 100644 --- a/glabels2/src/object-editor.c +++ b/glabels2/src/object-editor.c @@ -593,6 +593,12 @@ gl_object_editor_construct_color_combo (gchar *name, switch (int1) { + case 3: + cg_name = "shadow_color_group"; + color = GL_COLOR_SHADOW_DEFAULT; + no_color = _("Default"); + break; + case 2: cg_name = "text_color_group"; color = gl_prefs->default_text_color;