CVSROOT: /cvs/gnome Module name: gtk+ Changes by: matthiasc 05/06/10 16:05:08
Modified files: . : ChangeLog gtk : gtktextlayout.c gtktextlayout.h gtktextdisplay.c gtktexttag.c gtktexttag.h Log message: 2005-06-10 Matthias Clasen <[EMAIL PROTECTED]> Allow setting paragraph background. (#81045, Gustavo Carneiro, patch by Jeroen Zwartepoorte) * gtk/gtktextlayout.c (set_para_values): Propagate pg_bg_color to the display struct. (gtk_text_layout_free_line_display): Free it here. * gtk/gtktextdisplay.c (render_para): If pg_bg_color is set, draw a rectangle in that color behind the paragraph. * gtk/gtktexttag.c (gtk_text_tag_class_init): Add paragraph-background, paragraph-background-gdk and paragraph-background-set properties. (set_pg_bg_color): A setter for paragraph-background. * gtk/gtktextlayout.h (struct _GtkTextLineDisplay): Add pg_bg_color. * gtk/gtktexttag.h (struct _GtkTextAttributes): Add pg_bg_color. (struct _GtkTextTag): Add pg_bg_color_set. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=matthiasc&date=explicit&mindate=2005-06-10%2016:04&maxdate=2005-06-10%2016:06 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list