forked from AuroraMiddleware/gtk
Add flipping support to the expanders.
2002-02-03 Anders Carlsson <expander-master@gtk.org> * gtk/gtkstyle.c (gtk_default_draw_expander): Add flipping support to the expanders.
This commit is contained in:
parent
79b8237cc6
commit
4eca4af11b
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-03 Anders Carlsson <expander-master@gtk.org>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
|
||||
flipping support to the expanders.
|
||||
|
||||
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
RC file lookup improvements (#68234, suggestions
|
||||
|
@ -4398,13 +4398,13 @@ gtk_default_draw_expander (GtkStyle *style,
|
||||
switch (expander_style)
|
||||
{
|
||||
case GTK_EXPANDER_COLLAPSED:
|
||||
degrees = 0;
|
||||
degrees = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) ? 180 : 0;
|
||||
break;
|
||||
case GTK_EXPANDER_SEMI_COLLAPSED:
|
||||
degrees = 30;
|
||||
degrees = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) ? 150 : 30;
|
||||
break;
|
||||
case GTK_EXPANDER_SEMI_EXPANDED:
|
||||
degrees = 60;
|
||||
degrees = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) ? 120 : 60;
|
||||
break;
|
||||
case GTK_EXPANDER_EXPANDED:
|
||||
degrees = 90;
|
||||
|
Loading…
Reference in New Issue
Block a user