• Owen Taylor's avatar
    Centralize lookup and caching of cursor GC's here. · c848fbbc
    Owen Taylor authored
    Sun Mar  3 14:26:33 2002  Owen Taylor  <otaylor@redhat.com>
    
            * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc):
            Centralize lookup and caching of cursor GC's here.
    
            * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c
            gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc().
    
            * gtk/gtkentry.c (gtk_entry_expose): Draw cursors
            under the text, not over the text.
    
            * gtk/gtkwidget.c (gtk_widget_class_init): add
            a secondary-cursor-color property.
    
            * gtk/gtkwidget.c (gtk_widget_class_init): Decrease
            the default aspect ratio to 1/25 (0.04).
    
            * tests/testgtkrc (bell_duration): Comment out
            cursor color setting.
    c848fbbc
gtktextview.h 16.5 KB