comparison src/gui.h @ 8218:3456e2ebebd4 v7.4.1402

commit https://github.com/vim/vim/commit/9892189d2e7ab94b750f99e6da4cbfc3c8014517 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 23 17:14:37 2016 +0100 patch 7.4.1402 Problem: GTK 3 is not supported. Solution: Add GTK 3 support. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Tue, 23 Feb 2016 17:15:05 +0100
parents d8a8e86f39ad
children 24b43dd167eb
comparison
equal deleted inserted replaced
8217:c52abf35df88 8218:3456e2ebebd4
357 char_u *geom; /* Geometry, eg "80x24" */ 357 char_u *geom; /* Geometry, eg "80x24" */
358 Bool color_approx; /* Some color was approximated */ 358 Bool color_approx; /* Some color was approximated */
359 #endif 359 #endif
360 360
361 #ifdef FEAT_GUI_GTK 361 #ifdef FEAT_GUI_GTK
362 # ifndef USE_GTK3
362 int visibility; /* Is shell partially/fully obscured? */ 363 int visibility; /* Is shell partially/fully obscured? */
364 # endif
363 GdkCursor *blank_pointer; /* Blank pointer */ 365 GdkCursor *blank_pointer; /* Blank pointer */
364 366
365 /* X Resources */ 367 /* X Resources */
366 char_u *geom; /* Geometry, eg "80x24" */ 368 char_u *geom; /* Geometry, eg "80x24" */
367 369
379 GtkWidget *toolbar_h; /* toolbar handle */ 381 GtkWidget *toolbar_h; /* toolbar handle */
380 # endif 382 # endif
381 GdkColor *fgcolor; /* GDK-styled foreground color */ 383 GdkColor *fgcolor; /* GDK-styled foreground color */
382 GdkColor *bgcolor; /* GDK-styled background color */ 384 GdkColor *bgcolor; /* GDK-styled background color */
383 GdkColor *spcolor; /* GDK-styled special color */ 385 GdkColor *spcolor; /* GDK-styled special color */
386 # ifdef USE_GTK3
387 cairo_surface_t *surface; /* drawarea surface */
388 gboolean by_signal; /* cause of draw operation */
389 # else
384 GdkGC *text_gc; /* cached GC for normal text */ 390 GdkGC *text_gc; /* cached GC for normal text */
391 # endif
385 PangoContext *text_context; /* the context used for all text */ 392 PangoContext *text_context; /* the context used for all text */
386 PangoFont *ascii_font; /* cached font for ASCII strings */ 393 PangoFont *ascii_font; /* cached font for ASCII strings */
387 PangoGlyphString *ascii_glyphs; /* cached code point -> glyph map */ 394 PangoGlyphString *ascii_glyphs; /* cached code point -> glyph map */
388 # ifdef FEAT_GUI_TABLINE 395 # ifdef FEAT_GUI_TABLINE
389 GtkWidget *tabline; /* tab pages line handle */ 396 GtkWidget *tabline; /* tab pages line handle */