- 04 Dec, 2010 40 commits
-
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
Comparing a selector with a widget path was being done backwards since the change to use GtkContainer::get_path_for_child().
-
Matthias Clasen authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
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_*.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
Both API and file format is documented, there's still missing a migration doc though.
-
Carlos Garnacho authored
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.
-
Benjamin Berg authored
-
Carlos Garnacho authored
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.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
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.
-
Carlos Garnacho authored
Invalidation region coalescing now happens recursively as draw() runs, and the widget's x/y as now drawing coordinates are 0,0 based.
-
Carlos Garnacho authored
Now other CSS files can be referenced from the currently parsed file: @import url (other-file.css); @import url (/some/file.css);
-
Carlos Garnacho authored
This is done anyway on each iteration to parse_rule() in parse_stylesheet()
-
Carlos Garnacho authored
It will now return a full path, and check about the file being sane.
-
Carlos Garnacho authored
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);
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
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.
-
Carlos Garnacho authored
It will contain a 9-sliced image, so it can be rendered as rectangles with any dimensions.
-
Carlos Garnacho authored
This is a private boxed object to contain information about a border image in order to render it in a size independent way.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
This function recalculates the style for all widgets on a screen.
-
Carlos Garnacho authored
This functions loads a CSS file from a installed theme.
-
Carlos Garnacho authored
The providers are added as soon as gtk GtkSettings object for the screen is created.
-