Commit c626cd42 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

New default theme! A slighly improved version of the 2.0 Raleigh theme,

Mon Apr 30 20:29:27 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
  	  New default theme! A slighly improved version of the 2.0 Raleigh
	  theme, with Windows-esque focus/drawing default.
	  (GtkWidget::interior_focus defaults to TRUE.)

	* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
parent 2635496a
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
2001-04-30 Havoc Pennington <hp@pobox.com> 2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with * tests/testtext.c (line_numbers_expose): fix to work with
...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com> ...@@ -13,7 +23,8 @@ Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better. with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border,
::default_outside_border for more flexibility.
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
......
...@@ -496,7 +496,6 @@ This can later be composited together with other ...@@ -496,7 +496,6 @@ This can later be composited together with other
#GtkRcStyle structures to form a #GtkStyle. #GtkRcStyle structures to form a #GtkStyle.
</para> </para>
@parent_instance:
@name: @name:
@bg_pixmap_name: @bg_pixmap_name:
@font_desc: @font_desc:
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
#define CHILD_SPACING 1 #define CHILD_SPACING 1
static GtkBorder default_default_border = { 5, 5, 6, 6 }; static GtkBorder default_default_border = { 1, 1, 1, 1 };
static GtkBorder default_default_outside_border = { 5, 5, 6, 6 }; static GtkBorder default_default_outside_border = { 0, 0, 0, 0 };
/* Time out before giving up on getting a key release when animatng /* Time out before giving up on getting a key release when animatng
* the close button. * the close button.
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "gtklabel.h" #include "gtklabel.h"
#define INDICATOR_SIZE 10 #define INDICATOR_SIZE 13
#define INDICATOR_SPACING 2 #define INDICATOR_SPACING 2
......
...@@ -48,8 +48,8 @@ struct _GtkOptionMenuProps ...@@ -48,8 +48,8 @@ struct _GtkOptionMenuProps
static GtkOptionMenuProps default_props = { static GtkOptionMenuProps default_props = {
FALSE, FALSE,
{ 12, 8 }, { 7, 13 },
{ 3, 7, 2, 2 } /* Left, right, top, bottom */ { 7, 5, 2, 2 } /* Left, right, top, bottom */
}; };
static void gtk_option_menu_class_init (GtkOptionMenuClass *klass); static void gtk_option_menu_class_init (GtkOptionMenuClass *klass);
......
...@@ -203,7 +203,7 @@ gtk_range_class_init (GtkRangeClass *class) ...@@ -203,7 +203,7 @@ gtk_range_class_init (GtkRangeClass *class)
_("Width of scrollbar or scale thumb"), _("Width of scrollbar or scale thumb"),
0, 0,
G_MAXINT, G_MAXINT,
11, 14,
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("trough_border", g_param_spec_int ("trough_border",
...@@ -211,7 +211,7 @@ gtk_range_class_init (GtkRangeClass *class) ...@@ -211,7 +211,7 @@ gtk_range_class_init (GtkRangeClass *class)
_("Width of border around range"), _("Width of border around range"),
0, 0,
G_MAXINT, G_MAXINT,
2, 1,
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("stepper_size", g_param_spec_int ("stepper_size",
...@@ -219,7 +219,7 @@ gtk_range_class_init (GtkRangeClass *class) ...@@ -219,7 +219,7 @@ gtk_range_class_init (GtkRangeClass *class)
_("Size of step buttons at ends"), _("Size of step buttons at ends"),
0, 0,
G_MAXINT, G_MAXINT,
11, 14,
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("stepper_spacing", g_param_spec_int ("stepper_spacing",
...@@ -227,7 +227,7 @@ gtk_range_class_init (GtkRangeClass *class) ...@@ -227,7 +227,7 @@ gtk_range_class_init (GtkRangeClass *class)
_("Spacing between step buttons and thumb"), _("Spacing between step buttons and thumb"),
G_MININT, G_MININT,
G_MAXINT, G_MAXINT,
1, 0,
G_PARAM_READABLE)); G_PARAM_READABLE));
} }
......
...@@ -231,7 +231,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) ...@@ -231,7 +231,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
gtk_widget_class_install_style_property_parser (widget_class, gtk_widget_class_install_style_property_parser (widget_class,
g_param_spec_enum ("shadow_type", "Shadow Type", NULL, g_param_spec_enum ("shadow_type", "Shadow Type", NULL,
GTK_TYPE_SHADOW_TYPE, GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_NONE, GTK_SHADOW_IN,
G_PARAM_READABLE), G_PARAM_READABLE),
gtk_rc_property_parse_enum); gtk_rc_property_parse_enum);
spinbutton_signals[INPUT] = spinbutton_signals[INPUT] =
......
This diff is collapsed.
...@@ -83,6 +83,7 @@ struct _GtkStyle ...@@ -83,6 +83,7 @@ struct _GtkStyle
GdkColor mid[5]; GdkColor mid[5];
GdkColor text[5]; GdkColor text[5];
GdkColor base[5]; GdkColor base[5];
GdkColor text_aa[5]; /* Halfway between text/base */
GdkColor black; GdkColor black;
GdkColor white; GdkColor white;
...@@ -99,6 +100,7 @@ struct _GtkStyle ...@@ -99,6 +100,7 @@ struct _GtkStyle
GdkGC *mid_gc[5]; GdkGC *mid_gc[5];
GdkGC *text_gc[5]; GdkGC *text_gc[5];
GdkGC *base_gc[5]; GdkGC *base_gc[5];
GdkGC *text_aa_gc[5];
GdkGC *black_gc; GdkGC *black_gc;
GdkGC *white_gc; GdkGC *white_gc;
......
...@@ -991,7 +991,7 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -991,7 +991,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_param_spec_boolean ("interior_focus", g_param_spec_boolean ("interior_focus",
_("Interior Focus"), _("Interior Focus"),
_("Whether to draw the focus indicator inside widgets."), _("Whether to draw the focus indicator inside widgets."),
FALSE, TRUE,
G_PARAM_READABLE)); G_PARAM_READABLE));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment