forked from AuroraMiddleware/gtk
When in split cursor mode, always add the cursor as both strong and weak
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.c (add_cursor): When in split cursor mode, always add the cursor as both strong and weak so that it is drawn with the correct non-split color.
This commit is contained in:
parent
8b4034d843
commit
c78f465b7c
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (add_cursor): When in split cursor
|
||||
mode, always add the cursor as both strong and weak
|
||||
so that it is drawn with the correct non-split color.
|
||||
|
||||
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* modules/input/Makefile.am (moduledir): Fix
|
||||
|
@ -1458,7 +1458,7 @@ add_cursor (GtkTextLayout *layout,
|
||||
cursor->y = PANGO_PIXELS (strong_pos.y);
|
||||
cursor->height = PANGO_PIXELS (strong_pos.height);
|
||||
cursor->is_strong = TRUE;
|
||||
cursor->is_weak = FALSE;
|
||||
cursor->is_weak = (layout->cursor_direction == GTK_TEXT_DIR_NONE) ? FALSE : TRUE;
|
||||
display->cursors = g_slist_prepend (display->cursors, cursor);
|
||||
}
|
||||
|
||||
@ -1473,7 +1473,7 @@ add_cursor (GtkTextLayout *layout,
|
||||
cursor->x = PANGO_PIXELS (weak_pos.x);
|
||||
cursor->y = PANGO_PIXELS (weak_pos.y);
|
||||
cursor->height = PANGO_PIXELS (weak_pos.height);
|
||||
cursor->is_strong = FALSE;
|
||||
cursor->is_strong = (layout->cursor_direction == GTK_TEXT_DIR_NONE) ? FALSE : TRUE;
|
||||
cursor->is_weak = TRUE;
|
||||
display->cursors = g_slist_prepend (display->cursors, cursor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user