diff options
author | Havoc Pennington <hp@pobox.com> | 2002-02-25 04:19:05 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-02-25 04:19:05 +0000 |
commit | 8ddb92e4911f0f9304be211382b4e80258d7804b (patch) | |
tree | 40c503f9ac35f28487c7bd1d67944a82a7411c87 /gtk/gtkstyle.h | |
parent | 3e7279cff4cb1cd940a9ad22a5abf5fd4b3bfa43 (diff) | |
download | gtk+-8ddb92e4911f0f9304be211382b4e80258d7804b.tar.gz |
change to pass in the cursor direction always, not just when we need an
2002-02-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in
the cursor direction always, not just when we need an arrow, so we
can flip the cursor around its axis for RTL. Resolves #72372
* gtk/gtkentry.c (gtk_entry_draw_cursor): update for
draw_insertion_cursor change
* gtk/gtklabel.c (gtk_label_draw_cursor): ditto
* gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index 9c3d60384e..02b8a6e27b 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -883,7 +883,8 @@ void _gtk_draw_insertion_cursor (GtkWidget *widget, GdkDrawable *drawable, GdkGC *gc, GdkRectangle *location, - GtkTextDirection dir); + GtkTextDirection direction, + gboolean draw_arrow); #ifdef __cplusplus } |