46de2130d3
GtkWidget: unset NULL properties when overriding style.
2010-12-04 15:39:50 +01:00
64b7d9e5c1
GtkThemingEngine: Render gradients in tabs.
...
Background will be actually rotated in tabs, so the "bottom" side coincides
with the junction point, this makes gradients work as expected in rotated tabs.
2010-12-04 15:39:50 +01:00
32c2b13969
GtkThemingEngine: split background rendering to a private function.
2010-12-04 15:39:50 +01:00
4c1a2426d4
GtkStyle: Commit a few typos when translating states.
2010-12-04 15:39:49 +01:00
4aaf193602
docs: gtk_style_context_get_screen() always returns a valid screen
2010-12-04 15:39:49 +01:00
7a5a622998
Check screen really changed before notifying it and invalidating the context
2010-12-04 15:39:49 +01:00
7abf76fbc1
Initialize screen of GtkStyleContext to default screen
2010-12-04 15:39:48 +01:00
587c08a151
Add explanation to failing test
2010-12-04 15:39:48 +01:00
12d6b5889d
Add a testcase a problem with style property handling
2010-12-04 15:39:48 +01:00
f86e8f7512
Allow images for background-image
...
In addition to -gtk-gradient(...), allow url(path), and create
a pattern from the image. Still to do: allow stretch/repeat options.
2010-12-04 15:39:48 +01:00
ca143b1303
Add list of classes and regions to the docs
2010-12-04 15:39:48 +01:00
897c370f5f
Avoid compiler warnings
2010-12-04 15:39:47 +01:00
5adfe6029d
Don't add class "scrollbar" for every trough
...
Turns out "trough" as a detail string is used in a variety
of widgets, not all of which are scrollbars.
2010-12-04 15:39:47 +01:00
2578f4f4c3
Trivial doc fixes
2010-12-04 15:39:47 +01:00
e598f17871
Some header cleanups
...
Move GtkGradient to their own files, also move GtkBorder out of
gtkstyle.h, so that header can be all deprecated.
2010-12-04 15:39:47 +01:00
1915a19503
Add deprecation notes
2010-12-04 15:39:46 +01:00
f8a874abb1
Initial attempt at deprecating GtkStyle api
...
This will probably need some finetuning.
2010-12-04 15:39:46 +01:00
e374f7e4b5
Forgotten files
2010-12-04 15:39:46 +01:00
757837b611
Make tests compile without using GtkStyle api
2010-12-04 15:39:46 +01:00
9b1118a35d
Port gtk3-demo to GtkStyleContext
2010-12-04 15:39:46 +01:00
bbca96044e
Fix memory handling when dealing with colors
2010-12-04 15:39:45 +01:00
ab0a8fc17f
Improve the migration guide
...
Add some hints about dealing with colors.
2010-12-04 15:39:45 +01:00
53c2114356
Deprecate gtk_icon_info_load_symbolic_for_style
...
We might end removing it altogether since it is a bit silly to have
Since: 3.0
Deprecated: 3.0
2010-12-04 15:39:45 +01:00
e9ef162d4c
GtkSpinner: Use style context for rendering.
...
Animation is now handled by the theming layer, a looping animation
has been defined in the default CSS to handle active spinners.
2010-12-04 15:39:45 +01:00
3d956b10ee
GtkStyleContext: handle prelight transitions
2010-12-04 15:39:44 +01:00
c90bee16ba
GtkThemingEngine: Handle prelight transitions in render_layout()
2010-12-04 15:39:44 +01:00
e696c24f08
GtkThemingEngine: Also render topright and bottomleft corners if junction sides say so
2010-12-04 15:39:44 +01:00
11004ef61d
Initialize all looping, active state transitions on map()
...
This allows widgets to gtk_widget_set_state_flags() before mapping
and have animations started anyway when this happens.
2010-12-04 15:39:44 +01:00
4027dceaa9
Add #define for the "spinner" style class
2010-12-04 15:39:44 +01:00
62e9188ff3
GtkStyleContext: store layout extents for animation purposes.
2010-12-04 15:39:43 +01:00
818aca5aee
GtkStyleContext: Only allow looping transitions for states being turned on.
2010-12-04 15:39:43 +01:00
ad6da0cdb8
GtkStyleContext: Stop animations if the window is gone.
2010-12-04 15:39:43 +01:00
cc18d65986
GtkThemingEngine: render square corner if the gap is too close on render_frame_gap()
2010-12-04 15:39:43 +01:00
f0eed4a5b1
Use gtk_icon_info_load_symbolic_for_context
...
gtk_icon_info_load_symbolic_for_style is going to be deprecated.
2010-12-04 15:39:43 +01:00
f90881271f
Add a GtkStyleContext-variant of symbolic icon loading
2010-12-04 15:39:42 +01:00
091c882996
Some tweaks for the GtkStyleContext migration guide
2010-12-04 15:39:42 +01:00
0f98b15090
Add illustration to gtk_render_handle docs
2010-12-04 15:39:42 +01:00
3ddee2561b
Small doc addition
2010-12-04 15:39:42 +01:00
d1f1af202b
Add a frame-gap illustration
2010-12-04 15:39:42 +01:00
1391a61bc5
Improve frame-gap drawing
...
Instead of overdrawing the gap with bg-color, clip it away.
2010-12-04 15:39:42 +01:00
54eadfcefd
Fix another parameter mismatch
2010-12-04 15:39:42 +01:00
4e3dabf582
Fix up symbol list for docs
2010-12-04 15:39:41 +01:00
b51c0f826a
fix parameter name mismatch
2010-12-04 15:39:41 +01:00
8abe9f300c
Forgotten file
2010-12-04 15:39:41 +01:00
9c0ef02ea5
GtkButton: Remove unneeded gtk_style_context_notify_state_change() calls
...
There is now code to handle this for one-item widgets (such as GtkButton)
in gtk_widget_set_state_flags()
2010-12-04 15:39:41 +01:00
2f0b5d8a9d
GtkCheckButton: Look active when the pointer button is pressed and hovering
2010-12-04 15:39:41 +01:00
037c982824
GtkStyleContext: Handle empty areas when coalescing invalidation regions.
2010-12-04 15:39:41 +01:00
2fb9687f55
GtkToggleButton: Make it able to be prelight and active at the same time.
2010-12-04 15:39:40 +01:00
1d5a6b687e
GtkComboBox: Use style context for rendering
2010-12-04 15:39:40 +01:00
c6b2e47931
Let gtk_widget_get_path() correct early calls during init().
2010-12-04 15:39:40 +01:00