]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoGtkThemingEngine: Improve rendering of inset/outset borders.
Carlos Garnacho [Sat, 23 Oct 2010 16:33:07 +0000 (18:33 +0200)]
GtkThemingEngine: Improve rendering of inset/outset borders.

13 years agoGtkCssProvider: Improve default CSS.
Carlos Garnacho [Sat, 23 Oct 2010 16:32:15 +0000 (18:32 +0200)]
GtkCssProvider: Improve default CSS.

13 years agoGtkStyle: Handle scrollbar buttons.
Carlos Garnacho [Sat, 23 Oct 2010 16:25:18 +0000 (18:25 +0200)]
GtkStyle: Handle scrollbar buttons.

13 years agoDo not shade alpha values.
Carlos Garnacho [Sat, 23 Oct 2010 16:24:14 +0000 (18:24 +0200)]
Do not shade alpha values.

13 years agoGtkStyle: Match "trough" and "slider" detail strings.
Carlos Garnacho [Fri, 22 Oct 2010 21:59:58 +0000 (23:59 +0200)]
GtkStyle: Match "trough" and "slider" detail strings.

This is so scrollbars can be themed throught the "trough" and
"slider" classes.

13 years agoUse GdkRGBA all around in GtkStyleContext.
Carlos Garnacho [Fri, 22 Oct 2010 10:41:19 +0000 (12:41 +0200)]
Use GdkRGBA all around in GtkStyleContext.

13 years agoGtkStyleSet: Register the border-style and border-color properties
Carlos Garnacho [Fri, 22 Oct 2010 08:38:21 +0000 (10:38 +0200)]
GtkStyleSet: Register the border-style and border-color properties

This is also implemented in the theming engine, although the default
CSS should be using it in order to theme buttons, troughs, sliders
and such.

13 years agoGtkStyleContext: '_' prefix the structs, gtk-doc prefers this.
Carlos Garnacho [Wed, 20 Oct 2010 17:52:50 +0000 (19:52 +0200)]
GtkStyleContext: '_' prefix the structs, gtk-doc prefers this.

13 years agoGtkWidgetPath: turn into a boxed type.
Carlos Garnacho [Wed, 20 Oct 2010 17:33:39 +0000 (19:33 +0200)]
GtkWidgetPath: turn into a boxed type.

13 years agoGtkStyleContext: s/set/add/ and s/unset/remove/ for classes/regions.
Carlos Garnacho [Wed, 20 Oct 2010 17:02:41 +0000 (19:02 +0200)]
GtkStyleContext: s/set/add/ and s/unset/remove/ for classes/regions.

Several classes and regions may be set to GtkStyleContext, so rename
the functions to be more intuitive.

13 years agoGtkThemingEngine: Honor border-radius in render_background().
Carlos Garnacho [Wed, 20 Oct 2010 16:47:28 +0000 (18:47 +0200)]
GtkThemingEngine: Honor border-radius in render_background().

13 years agoGtkStyleSet: Register the "border-radius" property
Carlos Garnacho [Wed, 20 Oct 2010 16:44:48 +0000 (18:44 +0200)]
GtkStyleSet: Register the "border-radius" property

13 years agoGtkStyleContext: Update function declaration in header.
Carlos Garnacho [Wed, 20 Oct 2010 16:05:15 +0000 (18:05 +0200)]
GtkStyleContext: Update function declaration in header.

13 years agoGtkCssProvider: Make it able to parse enums.
Carlos Garnacho [Wed, 20 Oct 2010 16:04:39 +0000 (18:04 +0200)]
GtkCssProvider: Make it able to parse enums.

13 years agoGtkCssProvider: Run through the widget path in the correct order.
Carlos Garnacho [Wed, 20 Oct 2010 15:37:00 +0000 (17:37 +0200)]
GtkCssProvider: Run through the widget path in the correct order.

Comparing a selector with a widget path was being done backwards since
the change to use GtkContainer::get_path_for_child().

13 years agoMake loading of theming engines from modules work
Matthias Clasen [Wed, 20 Oct 2010 11:26:27 +0000 (13:26 +0200)]
Make loading of theming engines from modules work

13 years agoGtkStyleContext: Add gtk_style_context_new().
Carlos Garnacho [Tue, 19 Oct 2010 16:42:00 +0000 (18:42 +0200)]
GtkStyleContext: Add gtk_style_context_new().

13 years agoGtkCssProvider: Parse default/sorted region flags.
Carlos Garnacho [Tue, 19 Oct 2010 11:00:07 +0000 (13:00 +0200)]
GtkCssProvider: Parse default/sorted region flags.

13 years agoGtkCssProvider: Parse missing widget states.
Carlos Garnacho [Tue, 19 Oct 2010 10:59:19 +0000 (12:59 +0200)]
GtkCssProvider: Parse missing widget states.

13 years agoChange semantics of the methods to check whether an animation is running.
Carlos Garnacho [Tue, 19 Oct 2010 10:09:23 +0000 (12:09 +0200)]
Change semantics of the methods to check whether an animation is running.

It actually messed up with the state being actually set, and having a
transition animation running for it. Now this dichotomy is removed, and
gtk_style_context_state_is_running() only checks whether an animation is
running, leaving state checking to flags & GTK_STATE_FLAG_*.

13 years agoGtkStyleContext: Actually store region ID when starting an animation.
Carlos Garnacho [Tue, 19 Oct 2010 09:29:18 +0000 (11:29 +0200)]
GtkStyleContext: Actually store region ID when starting an animation.

13 years agoAdd theming docs
Carlos Garnacho [Tue, 19 Oct 2010 08:59:46 +0000 (10:59 +0200)]
Add theming docs

Both API and file format is documented, there's still missing
a migration doc though.

13 years agoRemove GtkOrientation parameter from gtk_render_handle().
Carlos Garnacho [Tue, 12 Oct 2010 22:52:50 +0000 (00:52 +0200)]
Remove GtkOrientation parameter from gtk_render_handle().

The case for paned can be guessed out from the height and width,
for handlebox the orientation parameter doesn't make much sense,
and this way it could also be used for resize grips.

13 years agoUse cairo gobject support instead of a new boxed type.
Benjamin Berg [Wed, 13 Oct 2010 14:33:38 +0000 (16:33 +0200)]
Use cairo gobject support instead of a new boxed type.

13 years agoGtkGradient: Handle symbolic gradients.
Carlos Garnacho [Tue, 12 Oct 2010 19:48:23 +0000 (21:48 +0200)]
GtkGradient: Handle symbolic gradients.

The css parser has been modified to parse correctly radial gradients:

background-image: -gtk-gradient (radial,
                                 center center, 0,
                                 center center, 0.8,
                                 from (#000), to (#fff));

The theming engine has been modified to correctly animate these,
as well as transitions between different pattern types.

13 years agoGtk9Slice: Fix stretch case.
Carlos Garnacho [Tue, 12 Oct 2010 01:46:40 +0000 (03:46 +0200)]
Gtk9Slice: Fix stretch case.

13 years agoGtkWidget: Store GtkStyleContext in private struct.
Carlos Garnacho [Mon, 11 Oct 2010 17:27:36 +0000 (19:27 +0200)]
GtkWidget: Store GtkStyleContext in private struct.

13 years agoGtkStyleContext: Cache style properties accross class/region changes.
Carlos Garnacho [Mon, 11 Oct 2010 15:58:31 +0000 (17:58 +0200)]
GtkStyleContext: Cache style properties accross class/region changes.

13 years agoGtkContainer: Add method to get the GtkWidgetPath for a child.
Carlos Garnacho [Sun, 10 Oct 2010 22:23:40 +0000 (00:23 +0200)]
GtkContainer: Add method to get the GtkWidgetPath for a child.

This is now used throughout in order to have the full path for a given widget,
including intermediate named regions, the default implementation just returns
the GtkContainer's path copy, no intermediate regions between.

13 years agoGtkStyleContext: Fix animation framework to work with the new draw() semantics.
Carlos Garnacho [Sat, 9 Oct 2010 13:19:52 +0000 (15:19 +0200)]
GtkStyleContext: Fix animation framework to work with the new draw() semantics.

Invalidation region coalescing now happens recursively as draw() runs, and the
widget's x/y as now drawing coordinates are 0,0 based.

13 years agoGtkCssProvider: Add support for @import rules
Carlos Garnacho [Fri, 8 Oct 2010 16:36:46 +0000 (18:36 +0200)]
GtkCssProvider: Add support for @import rules

Now other CSS files can be referenced from the currently parsed file:

@import url (other-file.css);
@import url (/some/file.css);

13 years agoGtkCssProvider: no need for resetting the parser prior to parsing data
Carlos Garnacho [Fri, 8 Oct 2010 16:32:10 +0000 (18:32 +0200)]
GtkCssProvider: no need for resetting the parser prior to parsing data

This is done anyway on each iteration to parse_rule() in parse_stylesheet()

13 years agoGtkCssProvider: improve file paths parser.
Carlos Garnacho [Fri, 8 Oct 2010 16:27:22 +0000 (18:27 +0200)]
GtkCssProvider: improve file paths parser.

It will now return a full path, and check about the file being sane.

13 years agoGtkCssProvider: Transform custom colors to a @define-color rule.
Carlos Garnacho [Fri, 8 Oct 2010 16:19:34 +0000 (18:19 +0200)]
GtkCssProvider: Transform custom colors to a @define-color rule.

Given there are other rules such as @import (which will be supported),
keep a sane namespace here, so for (re)defining a color name, in the CSS
file it will look like:

@define-color color-name #fff;
@define-color other-color mix (@color-name, #f00, 0.4);

13 years agoGtkThemingEngine: Do not return a const GtkThemingEngine on load()
Carlos Garnacho [Fri, 8 Oct 2010 16:13:14 +0000 (18:13 +0200)]
GtkThemingEngine: Do not return a const GtkThemingEngine on load()

13 years agoPlug some leaks.
Carlos Garnacho [Tue, 5 Oct 2010 23:04:06 +0000 (01:04 +0200)]
Plug some leaks.

13 years agoFix typo in the Gtk9Slice parser.
Carlos Garnacho [Tue, 5 Oct 2010 22:53:49 +0000 (00:53 +0200)]
Fix typo in the Gtk9Slice parser.

13 years agoGtkButton: Notify on prelight state change.
Carlos Garnacho [Tue, 5 Oct 2010 08:56:52 +0000 (10:56 +0200)]
GtkButton: Notify on prelight state change.

13 years agoGtkThemingEngine: Implement animations between gradients/colors.
Carlos Garnacho [Tue, 5 Oct 2010 08:55:40 +0000 (10:55 +0200)]
GtkThemingEngine: Implement animations between gradients/colors.

13 years agoGtkSymbolicColor: Use G_DEFINE_BOXED_TYPE
Carlos Garnacho [Tue, 5 Oct 2010 08:54:49 +0000 (10:54 +0200)]
GtkSymbolicColor: Use G_DEFINE_BOXED_TYPE

13 years agoGtkStyleContext: Store animation region for a bunch of paint operations.
Carlos Garnacho [Tue, 5 Oct 2010 08:54:19 +0000 (10:54 +0200)]
GtkStyleContext: Store animation region for a bunch of paint operations.

13 years agoGtkStyleContext: Invalidate whole window if no invalidation region is obtained.
Carlos Garnacho [Tue, 5 Oct 2010 08:53:09 +0000 (10:53 +0200)]
GtkStyleContext: Invalidate whole window if no invalidation region is obtained.

13 years agoGtkCssProvider: use mapped file to read CSS files.
Carlos Garnacho [Fri, 24 Sep 2010 20:10:20 +0000 (22:10 +0200)]
GtkCssProvider: use mapped file to read CSS files.

13 years agoGtkCssProvider: unset filename on load_from_data()
Carlos Garnacho [Fri, 24 Sep 2010 20:09:37 +0000 (22:09 +0200)]
GtkCssProvider: unset filename on load_from_data()

13 years agoGtkThemingEngine: Use border-image to render borders if an image is available.
Carlos Garnacho [Fri, 24 Sep 2010 20:08:49 +0000 (22:08 +0200)]
GtkThemingEngine: Use border-image to render borders if an image is available.

13 years agoGtkCssProvider: Add a parser for 9slice typed properties.
Carlos Garnacho [Fri, 24 Sep 2010 20:05:20 +0000 (22:05 +0200)]
GtkCssProvider: Add a parser for 9slice typed properties.

The value it parses is similar to the border-image CSS3 property,
so strings like this will be accepted:

  border-image: url (foo.png) 4 3 4 3 repeat repeat;

the image path is relative to the parsed CSS file dirname if no
absolute path is provided.

13 years agoRegister the border-image property
Carlos Garnacho [Fri, 24 Sep 2010 20:02:39 +0000 (22:02 +0200)]
Register the border-image property

It will contain a 9-sliced image, so it can be rendered as rectangles with any
dimensions.

13 years agoAdd Gtk9Slice
Carlos Garnacho [Fri, 24 Sep 2010 19:42:18 +0000 (21:42 +0200)]
Add Gtk9Slice

This is a private boxed object to contain information about a border image
in order to render it in a size independent way.

13 years agoGtkSettings: Add a new provider for the theme CSS file.
Carlos Garnacho [Wed, 22 Sep 2010 21:44:06 +0000 (23:44 +0200)]
GtkSettings: Add a new provider for the theme CSS file.

13 years agoGtkStyleContext: Add gtk_style_context_reset_widgets()
Carlos Garnacho [Wed, 22 Sep 2010 21:40:59 +0000 (23:40 +0200)]
GtkStyleContext: Add gtk_style_context_reset_widgets()

This function recalculates the style for all widgets on a screen.

13 years agoGtkCssProvider: Add gtk_css_provider_get_named()
Carlos Garnacho [Wed, 22 Sep 2010 21:39:15 +0000 (23:39 +0200)]
GtkCssProvider: Add gtk_css_provider_get_named()

This functions loads a CSS file from a installed theme.

13 years agoAdd generic providers per-screen.
Carlos Garnacho [Sat, 11 Sep 2010 10:48:27 +0000 (12:48 +0200)]
Add generic providers per-screen.

The providers are added as soon as gtk GtkSettings object for the screen
is created.

13 years agoGtkStyleContext: invalidate context when setting the screen
Carlos Garnacho [Sat, 11 Sep 2010 10:47:31 +0000 (12:47 +0200)]
GtkStyleContext: invalidate context when setting the screen

13 years agoGtkWidget: Set style context's screen before the widget_path.
Carlos Garnacho [Sat, 11 Sep 2010 10:45:42 +0000 (12:45 +0200)]
GtkWidget: Set style context's screen before the widget_path.

This is so the style context has all necessary information before
triggering a style change on setting the path.

13 years agoGtkStyleContext: Add gtk_style_context_[add|remove]_provider_for_screen()
Carlos Garnacho [Sat, 11 Sep 2010 10:42:35 +0000 (12:42 +0200)]
GtkStyleContext: Add gtk_style_context_[add|remove]_provider_for_screen()

These functions allow per-screen style providers. also, the changed signal
will be emitted whenever a style context changes.

13 years agoGtkWidget: Add gtk_widget_reset_style().
Carlos Garnacho [Sat, 11 Sep 2010 10:40:31 +0000 (12:40 +0200)]
GtkWidget: Add gtk_widget_reset_style().

This function is analogous to gtk_widget_reset_rc_styles(),
updates style recursively on a widget.

13 years agoGtkWidget: Add the style-updated signal
Carlos Garnacho [Sat, 11 Sep 2010 10:36:54 +0000 (12:36 +0200)]
GtkWidget: Add the style-updated signal

This signal is emitted whenever the widget's style changes.

13 years agoGtkStyle: Protect against padding being NULL
Carlos Garnacho [Sat, 11 Sep 2010 10:10:50 +0000 (12:10 +0200)]
GtkStyle: Protect against padding being NULL

13 years agoGtkStyleContext: Add gtk_style_context_invalidate().
Carlos Garnacho [Sat, 11 Sep 2010 10:18:26 +0000 (12:18 +0200)]
GtkStyleContext: Add gtk_style_context_invalidate().

This function will regenerate all styling information.

13 years agoGtkStyleSet: Fix typo
Carlos Garnacho [Sat, 11 Sep 2010 10:10:25 +0000 (12:10 +0200)]
GtkStyleSet: Fix typo

13 years agoGtkThemingEngine: use background-image in render_background()
Carlos Garnacho [Thu, 2 Sep 2010 00:14:10 +0000 (02:14 +0200)]
GtkThemingEngine: use background-image in render_background()

13 years agoGtkStyleSet: Register a "background-image" property.
Carlos Garnacho [Thu, 2 Sep 2010 00:12:26 +0000 (02:12 +0200)]
GtkStyleSet: Register a "background-image" property.

Ironically, it currently just handles gradients, the name is to conform
to current CSS gradient implementation trends.

13 years agoGtkStyleSet: Handle GtkGradients as a replacement for cairo_pattern_t
Carlos Garnacho [Thu, 2 Sep 2010 00:11:12 +0000 (02:11 +0200)]
GtkStyleSet: Handle GtkGradients as a replacement for cairo_pattern_t

The former will handle GtkSymbolicColors, which will be resolved and
cached at query time.

13 years agoGtkCssProvider: Add a parser for gradients.
Carlos Garnacho [Thu, 2 Sep 2010 00:06:05 +0000 (02:06 +0200)]
GtkCssProvider: Add a parser for gradients.

13 years agoAdd GtkGradient.
Carlos Garnacho [Thu, 2 Sep 2010 00:01:01 +0000 (02:01 +0200)]
Add GtkGradient.

This type defines a gradient between 2 symbolic colors, with any number
of color stop between these. At the moment it has been put besides
GtkSymbolicColor, although should be completely private, it will likely
need extending in the future for radial gradients.

At some point, it maybe should also be used for images, so painting
both a gradient and an image is consistent.

13 years agoGtkStyleSet: Set an empty default_value if none is provided.
Carlos Garnacho [Wed, 1 Sep 2010 23:58:48 +0000 (01:58 +0200)]
GtkStyleSet: Set an empty default_value if none is provided.

13 years agoGtkCssProvider: strip whitespaces in symbolic color values.
Carlos Garnacho [Wed, 1 Sep 2010 23:49:59 +0000 (01:49 +0200)]
GtkCssProvider: strip whitespaces in symbolic color values.

13 years agoAllow linefeeds in property values.
Carlos Garnacho [Wed, 1 Sep 2010 23:48:24 +0000 (01:48 +0200)]
Allow linefeeds in property values.

13 years agoAdd a boxed type for cairo_pattern_t.
Carlos Garnacho [Wed, 1 Sep 2010 23:45:17 +0000 (01:45 +0200)]
Add a boxed type for cairo_pattern_t.

13 years agoGtkSettings: implement GtkStyleProvider
Carlos Garnacho [Mon, 30 Aug 2010 20:41:12 +0000 (22:41 +0200)]
GtkSettings: implement GtkStyleProvider

13 years agoGtkStyle: Fill in x/ythickness and font_desc from the style context.
Carlos Garnacho [Mon, 30 Aug 2010 20:39:47 +0000 (22:39 +0200)]
GtkStyle: Fill in x/ythickness and font_desc from the style context.

13 years agoGtkStyleSet: Register "margin" property.
Carlos Garnacho [Mon, 30 Aug 2010 20:35:30 +0000 (22:35 +0200)]
GtkStyleSet: Register "margin" property.

13 years agoAdd basic parser for GtkBorder properties.
Carlos Garnacho [Mon, 30 Aug 2010 20:34:31 +0000 (22:34 +0200)]
Add basic parser for GtkBorder properties.

Different units aren't supported, it takes 1 to 4 integers representing
pixel distances.

13 years agoGtkStyle: Allow GTK_ARROW_NONE.
Carlos Garnacho [Mon, 23 Aug 2010 16:00:31 +0000 (18:00 +0200)]
GtkStyle: Allow GTK_ARROW_NONE.

13 years agoGtkNotebook: invert tab drawing order so region flags are set correctly.
Carlos Garnacho [Mon, 23 Aug 2010 16:00:06 +0000 (18:00 +0200)]
GtkNotebook: invert tab drawing order so region flags are set correctly.

13 years agoGet rid of GdkPangoRenderer code in GtkThemingEngine.
Carlos Garnacho [Fri, 20 Aug 2010 12:58:54 +0000 (14:58 +0200)]
Get rid of GdkPangoRenderer code in GtkThemingEngine.

13 years agoReplace GdkRegion and GdkRectangle with their cairo counterparts.
Carlos Garnacho [Fri, 20 Aug 2010 12:09:30 +0000 (14:09 +0200)]
Replace GdkRegion and GdkRectangle with their cairo counterparts.

13 years agoRemove gtkalias from style context code.
Carlos Garnacho [Fri, 20 Aug 2010 11:56:30 +0000 (13:56 +0200)]
Remove gtkalias from style context code.

13 years agoGtkCssProvider: Add gtk_css_provider_load_from_path()
Carlos Garnacho [Fri, 20 Aug 2010 09:50:39 +0000 (11:50 +0200)]
GtkCssProvider: Add gtk_css_provider_load_from_path()

13 years agoPlug a bunch of leaks.
Carlos Garnacho [Thu, 19 Aug 2010 23:16:40 +0000 (01:16 +0200)]
Plug a bunch of leaks.

13 years agoGtkButton: Notify on active state when (un)depressed
Carlos Garnacho [Thu, 19 Aug 2010 20:47:44 +0000 (22:47 +0200)]
GtkButton: Notify on active state when (un)depressed

13 years agoGtkThemingEngine: Animate checkboxes activation.
Carlos Garnacho [Thu, 19 Aug 2010 20:47:02 +0000 (22:47 +0200)]
GtkThemingEngine: Animate checkboxes activation.

13 years agoGtkThemingEngine: Add progress arg to gtk_theming_engine_is_state_set()
Carlos Garnacho [Thu, 19 Aug 2010 20:45:22 +0000 (22:45 +0200)]
GtkThemingEngine: Add progress arg to gtk_theming_engine_is_state_set()

13 years agoGtkWidget: Update GtkStyleContext animation regions on allocation change.
Carlos Garnacho [Thu, 19 Aug 2010 20:42:16 +0000 (22:42 +0200)]
GtkWidget: Update GtkStyleContext animation regions on allocation change.

13 years agoGtkStyleContext: Add animation machinery.
Carlos Garnacho [Thu, 19 Aug 2010 20:35:42 +0000 (22:35 +0200)]
GtkStyleContext: Add animation machinery.

Animation regions are confined through gtk_style_context_[push|pop]_animatable_region,
anything that's painted between these calls will be invalidated if an animation starts
for any of the regions in the stack.

gtk_style_context_notify_state_change() may be called from widgets to indicate a
change for a given GtkStateType, in that case an animation will be started if there
is an animation description for the widget/state.

13 years agoGtkStyleContext: Declare gtk_style_context_list_classes() in header.
Carlos Garnacho [Thu, 19 Aug 2010 20:00:04 +0000 (22:00 +0200)]
GtkStyleContext: Declare gtk_style_context_list_classes() in header.

13 years agoGtkCssProvider: Parse properties of type GtkAnimationDescription.
Carlos Garnacho [Thu, 19 Aug 2010 19:50:19 +0000 (21:50 +0200)]
GtkCssProvider: Parse properties of type GtkAnimationDescription.

13 years agoGtkStyleSet: Register the "transition" property.
Carlos Garnacho [Thu, 19 Aug 2010 19:49:22 +0000 (21:49 +0200)]
GtkStyleSet: Register the "transition" property.

13 years agoAdd GtkAnimationDescription as a private boxed object.
Carlos Garnacho [Thu, 19 Aug 2010 19:45:30 +0000 (21:45 +0200)]
Add GtkAnimationDescription as a private boxed object.

This struct will be used to represent an animation in GtkStyleSet. It
will only be used internally in GtkStyleContext in order to trigger
animations, engines shouldn't need this.

13 years agoAdd GtkTimeline as a private object.
Carlos Garnacho [Thu, 19 Aug 2010 19:40:41 +0000 (21:40 +0200)]
Add GtkTimeline as a private object.

This will only be used internally by GtkStyleContext in order
to animate state changes. When a proper animation framework is
introduced in GTK+, it may be ditched.

13 years agoMove all theming stack to use GtkStateFlags.
Carlos Garnacho [Mon, 16 Aug 2010 17:09:34 +0000 (19:09 +0200)]
Move all theming stack to use GtkStateFlags.

This support goes from the theming engines, which are able to retrieve
style for different combined states to the CSS provider, where several
state pseudo-classes may be specified, such as:

GtkButton:active:prelight {}

13 years agoGtkStyleContext: Return insertion position if not found when matching classes/regions
Carlos Garnacho [Mon, 16 Aug 2010 17:08:11 +0000 (19:08 +0200)]
GtkStyleContext: Return insertion position if not found when matching classes/regions

13 years agoGtkStyle: set the active flag depending on shadow_type in draw_box().
Carlos Garnacho [Mon, 16 Aug 2010 16:40:03 +0000 (18:40 +0200)]
GtkStyle: set the active flag depending on shadow_type in draw_box().

13 years agoGtkCssProvider: Use class for tooltips.
Carlos Garnacho [Fri, 6 Aug 2010 10:09:09 +0000 (12:09 +0200)]
GtkCssProvider: Use class for tooltips.

13 years agoGtkCssProvider: Parse and match class info.
Carlos Garnacho [Fri, 6 Aug 2010 10:08:48 +0000 (12:08 +0200)]
GtkCssProvider: Parse and match class info.

13 years agoSet classes info in GtkWidgetPath.
Carlos Garnacho [Fri, 6 Aug 2010 10:06:29 +0000 (12:06 +0200)]
Set classes info in GtkWidgetPath.

13 years agoGtkStyleContext: Add gtk_style_context_list_classes().
Carlos Garnacho [Fri, 6 Aug 2010 10:05:42 +0000 (12:05 +0200)]
GtkStyleContext: Add gtk_style_context_list_classes().

13 years agoGtkWidgetPath: Add methods to include class info in paths.
Carlos Garnacho [Fri, 6 Aug 2010 09:59:35 +0000 (11:59 +0200)]
GtkWidgetPath: Add methods to include class info in paths.

13 years agos/child class/region/ everywhere.
Carlos Garnacho [Thu, 5 Aug 2010 09:08:51 +0000 (11:08 +0200)]
s/child class/region/ everywhere.

"Child class" is an invented term anyway, and it conceptually defines
identifiable regions in widgets.

13 years agoGtkStyleContext: Rename internal struct.
Carlos Garnacho [Thu, 5 Aug 2010 09:28:15 +0000 (11:28 +0200)]
GtkStyleContext: Rename internal struct.

GtkStyleRegion has been renamed to GtkStyleInfo, as it doesn't really
have much to do with regions itself, the information it contains does.
This struct is used in save/restore.