diff options
author | Tim Janik <timj@gtk.org> | 1998-07-08 14:12:27 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-07-08 14:12:27 +0000 |
commit | 9b4d90465ef16ba56272cb91857dab0b2347d93c (patch) | |
tree | d7e4b37b892493914a72fdb8bcc7bfc0f5ac0b03 /gtk/gtkenums.h | |
parent | 88fba9f84531a3c38b9ad6dbc9820288cb8b6094 (diff) | |
download | gtk+-9b4d90465ef16ba56272cb91857dab0b2347d93c.tar.gz |
handle GTK_RELIEF_HALF, which was introduced to keep either
Wed Jul 8 15:31:28 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
(GTK_RELIEF_HALF).
(gtk_button_paint): set the background for prelighted buttons with
GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
(gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
the shadow type (otherwise we get strange shadows for coloured buttons).
(gtk_button_set_relief): queue a redraw after changing
the relief.
(gtk_button_class_init):
(gtk_button_set_arg):
(gtk_button_get_arg): added object argument "GtkButton::relief".
* gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index c65bd8578f..ecfe5ca95a 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -179,6 +179,7 @@ typedef enum typedef enum { GTK_RELIEF_NORMAL, + GTK_RELIEF_HALF, GTK_RELIEF_NONE } GtkReliefStyle; |