]> Pileus Git - ~andy/gtk/commit
handle GTK_RELIEF_HALF, which was introduced to keep either
authorTim Janik <timj@gtk.org>
Wed, 8 Jul 1998 14:12:27 +0000 (14:12 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 8 Jul 1998 14:12:27 +0000 (14:12 +0000)
commit9b4d90465ef16ba56272cb91857dab0b2347d93c
treed7e4b37b892493914a72fdb8bcc7bfc0f5ac0b03
parent88fba9f84531a3c38b9ad6dbc9820288cb8b6094
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.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtk.defs
gtk/gtkbutton.c
gtk/gtkenums.h
gtk/gtktypebuiltins_evals.c