summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
Commit message (Collapse)AuthorAgeFilesLines
* API: Get rid of gtk_draw_insertion_cursor()Benjamin Otte2010-09-261-53/+7
| | | | | and rename gtk_cairo_draw_insertion_cursor() to gtk_draw_insertion_cursor().
* API: Rename gtk_cairo_paint_*() to gtk_paint_*()Benjamin Otte2010-09-261-229/+229
| | | | | | Large patch, but just renaming. Indentation should still mostly be correct because I took care of keeping the indentation for this function name.
* API: style: Remove old drawing functionsBenjamin Otte2010-09-261-966/+0
|
* gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visualBenjamin Otte2010-09-261-1/+1
|
* style: Move from colormaps to visualsBenjamin Otte2010-09-261-22/+21
|
* style: Remove depth member from GtkStyleBenjamin Otte2010-09-261-4/+2
|
* style: Remove depth checks in render functionsBenjamin Otte2010-09-261-20/+0
| | | | There's no need for them anymore now that we render with Cairo.
* API: Add gtk_cairo_draw_insertion_cursor()Benjamin Otte2010-09-261-8/+31
| | | | | | | For now just add it instead of replacing the current function. In the end, this one should probably be renamed to gtk_draw_insertion_cursor() and the current gtk_draw_insertion_cursor() should die.
* style: Rewrite background handling to use cairo_pattern_tBenjamin Otte2010-09-261-57/+56
|
* style: Convert draw_spinner vfunc to Cairo versionBenjamin Otte2010-09-261-13/+50
|
* style: Convert draw_resize_grip vfunc to Cairo versionBenjamin Otte2010-09-261-15/+49
| | | | | Includes removal of now unused draw_simple_image_no_cairo() function from pixbuf engine.
* style: Convert draw_layout vfunc to Cairo versionBenjamin Otte2010-09-261-17/+49
|
* style: Convert draw_expander vfunc to Cairo versionBenjamin Otte2010-09-261-16/+56
|
* style: Convert draw_handle vfunc to Cairo versionBenjamin Otte2010-09-261-20/+58
|
* style: Convert draw_slider vfunc to Cairo versionBenjamin Otte2010-09-261-16/+65
|
* style: Convert draw_focus vfunc to Cairo versionBenjamin Otte2010-09-261-18/+53
|
* style: Convert draw_extension vfunc to Cairo versionBenjamin Otte2010-09-261-19/+57
|
* style: Convert draw_box_gap vfunc to Cairo versionBenjamin Otte2010-09-261-21/+62
| | | | | Includes removal of now unused draw_gap_image_no_cairo() function from pixbuf theme engine.
* style: Convert draw_shadow_gap vfunc to a Cairo versionBenjamin Otte2010-09-261-18/+63
|
* style: Convert draw_tab vfunc to Cairo versionBenjamin Otte2010-09-261-17/+51
|
* style: Convert draw_option vfunc to Cairo versionBenjamin Otte2010-09-261-15/+51
|
* style: Convert draw_check vfunc to Cairo versionBenjamin Otte2010-09-261-15/+51
|
* style: Convert draw_flat_box vfunc to Cairo versionBenjamin Otte2010-09-261-23/+58
|
* style: Convert draw_shadow vfunc to Cairo versionBenjamin Otte2010-09-261-106/+233
|
* style: Convert draw_vline vfunc to a Cairo versionBenjamin Otte2010-09-261-17/+48
|
* style: Convert draw_hline vfunc to Cairo versionBenjamin Otte2010-09-261-17/+64
|
* API: change gtk_style_apply_default_background()Benjamin Otte2010-09-261-107/+78
| | | | | It now takes a cr to apply the default background to. And it no longer takes a set_bg parameter
* Fix a couple of broken annotationsJohan Dahlin2010-09-231-1/+1
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-6/+8
|
* Update gtkstyle.c to account for removal of row-ending-detailsKristian Rietveld2010-09-131-15/+27
| | | | | | | | | The detail strings now have more "detail" by default, so gtkstyle.c needed to be updated to properly handle this. Tests like testtreeview, testtreesort now have proper background drawing again. This strncmp trick was the best I could think of so quickly, if anybody has an idea to do this in a better way, let me know.
* style: Fix drawing of insensitive textBenjamin Otte2010-09-121-2/+3
| | | | | | | | | | When writing the original code I erroneously assumed that the current point of the cairo context would be saved by cairo_save/restore(), but of course the current point is part of the path and therefor isn't saved. Also do a cairo_new_path() before rendering any text so that we are sure the text ends up at the right spot.
* style: Use gtk_widget_get_state() for the entry backgroundBenjamin Otte2010-09-031-1/+1
| | | | | New code sets the entry background to GTK_STATE_ACTIVE when it has focus and the active color in the default theme looks rather bad.
* gtk/gtkstyle.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-5/+8
|
* Use G_DEFINE_BOXED_TYPEChristian Persch2010-08-181-12/+3
| | | | Bug #627214.
* style: Use _gtk_pango_fill_layout()Benjamin Otte2010-08-101-2/+1
|
* style: Apply same matrix conversion as gdk_draw_layout() didBenjamin Otte2010-08-101-2/+30
| | | | | | | This is only necessary for GtkLabel with an angle set as no other widget rotates text. Note that the label code does not need these adjustments as those paths are only taken when the label is not rotated.
* style: Don't use gdk_pixmap_create_from_xpmBenjamin Otte2010-08-101-3/+27
| | | | Instead, do what that code did manually.
* style: Do not allocate colors anymoreBenjamin Otte2010-08-101-36/+0
|
* Add missing calls to cairo_destroy()Kristian Rietveld2010-08-101-0/+3
|
* API: Remove GC members from GtkStyleBenjamin Otte2010-08-101-78/+11
|
* style: Replace last gdk_draw_rectangle() with CairoBenjamin Otte2010-08-101-9/+11
|
* style: replace draw_frame_gap with Cairo callsBenjamin Otte2010-08-101-127/+123
|
* style: Replace draw_diamond vfunc with Cairo callsBenjamin Otte2010-08-101-87/+81
|
* API: remove gtk_paint_polygon()Benjamin Otte2010-08-101-178/+0
| | | | | Almost noone uses it in real applications and it's broken in most theme engines.
* style: apply cleanup patch from bug 576988Benjamin Otte2010-08-101-923/+785
| | | | | | | | | | | Ideally this patch would be split up into chunks, but the git branch it came from doesn't exist anymore. Only this patch is left in a bug report. It it's adapted to use accessors and contains some fixes that were spotted while using the patch. https://bugzilla.gnome.org/show_bug.cgi?id=576988
* Remove some unused variablesJavier Jardón2010-08-031-1/+0
|
* style: Draw insertion cursor with CairoBenjamin Otte2010-07-261-95/+57
|
* Remove _gtk_widget_get_cursor_gc() functionBenjamin Otte2010-07-261-8/+0
| | | | It's unused now.
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* [GtkStyle] Remove deprecated GdkFont usageJavier Jardón2010-06-281-21/+0
|