diff options
author | Andrew T. Veliath <andrewtv@src.gnome.org> | 1998-12-08 13:25:35 +0000 |
---|---|---|
committer | Andrew T. Veliath <andrewtv@src.gnome.org> | 1998-12-08 13:25:35 +0000 |
commit | d6acd1ecd3779096e96d63e07d10ab01869ce7ed (patch) | |
tree | a3f4c7fc5deb1fab548457cf1e9a90637297f4c6 /ChangeLog.pre-2-8 | |
parent | 287b0ce008925385958a0c1fb0c3da7c63902c05 (diff) | |
download | gtk+-d6acd1ecd3779096e96d63e07d10ab01869ce7ed.tar.gz |
Functions to test the toolbar space style.
* gtk/testgtk.c: Functions to test the toolbar space style.
* gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of
GtkToolbarChild to hold allocation. Set default space style to
GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator
fraction defaults.
(gtk_toolbar_paint_space_line): New function; paints the separator
line, using "toolbar" as the detail.
(gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when
style is set to SPACE_LINE.
(gtk_toolbar_size_allocate): Store space allocations.
(gtk_toolbar_insert_element): If we are a space, allocate and
initialize a GtkToolbarChildSpace instead of a GtkToolbarChild.
(gtk_toolbar_set_space_style): New function.
* gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY
and LINE. Add prototype for gtk_toolbar_set_space_style.
Diffstat (limited to 'ChangeLog.pre-2-8')
-rw-r--r-- | ChangeLog.pre-2-8 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d3ceae8199..0a009aca25 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,23 @@ +1998-12-08 Andrew T. Veliath <andrewtv@usa.net> + + * gtk/testgtk.c: Functions to test the toolbar space style. + + * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of + GtkToolbarChild to hold allocation. Set default space style to + GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator + fraction defaults. + (gtk_toolbar_paint_space_line): New function; paints the separator + line, using "toolbar" as the detail. + (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when + style is set to SPACE_LINE. + (gtk_toolbar_size_allocate): Store space allocations. + (gtk_toolbar_insert_element): If we are a space, allocate and + initialize a GtkToolbarChildSpace instead of a GtkToolbarChild. + (gtk_toolbar_set_space_style): New function. + + * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY + and LINE. Add prototype for gtk_toolbar_set_space_style. + Mon Dec 7 16:03:55 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkthemes.h: Remove random unnecessary includes |