diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-09-25 20:40:20 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-09-25 20:40:20 +0000 |
commit | 0c3be55498e388015bcba07791177be9d1225bd9 (patch) | |
tree | adcafce7f55404b0b8a6ab1f86967a54fe2cf69c /gtk/gtkstyle.h | |
parent | efae27a3a5d7ed8cb7063e1f0ac5634fc162284f (diff) | |
download | gtk+-0c3be55498e388015bcba07791177be9d1225bd9.tar.gz |
ue Sep 25 12:41:17 2001 Owen Taylor <otaylor@redhat.com>GTK_1_3_9
* configure.in: Version 1.3.9, interface age 0, binary age 0.
* configure.in: Require GLib-1.39, Pango 0.20, Atk 0.5.
* NEWS: Updates.
Mon Sep 24 11:59:09 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.[ch] (_gtk_draw_insertion_cursor): Shared
function for drawing cursors between gtkentry/gtklabel/gtktextview.
Should this be public? It has a bit of an odd interface, but
custom editing widgets probably should be using it.
Function will draw with wider width for taller cursors, and
draws a little indicator arrow to indicate directoin for split
cursors.
* gtk/gtktextview.c: Add a "cursor_color" property.
* gtk/gtktextdisplay.[ch]: Add a cursor_gc parameter to
gtk_text_layout_draw().
* gtk/gtkentry.c gtk/gtklabel.c gtk/gtktextdisplay.c: Use
_gtk_draw_insertion_cursor().
Tue Sep 25 11:22:23 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcellrenderertext.c gtk/gtktexttag.c: Restore
the behavior where you could turn family_set (etc) back on
and get back the values you had before.
* demos/gtk-demo/stock_browser.c (id_to_macro): Use
g_string_ascii_up() rather than looping through the
string ourself.
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index a6de90197f..14fcf3d2c6 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -868,6 +868,11 @@ void gtk_paint_string (GtkStyle *style, const gchar *string); #endif /* GTK_DISABLE_DEPRECATED */ +void _gtk_draw_insertion_cursor (GdkDrawable *drawable, + GdkGC *gc, + GdkRectangle *location, + GtkTextDirection dir); + #ifdef __cplusplus } #endif /* __cplusplus */ |