comparison src/gui.c @ 2275:e4d849f4df03 vim73

Remove the old and not well supported GTK 1 code. (James Vega)
author Bram Moolenaar <bram@vim.org>
date Fri, 25 Jun 2010 05:37:59 +0200
parents 770485470e59
children f42e0b5ff9e9
comparison
equal deleted inserted replaced
2274:7c31d761ffa9 2275:e4d849f4df03
2259 len = i + cl; /* len must be wrong "cannot happen" */ 2259 len = i + cl; /* len must be wrong "cannot happen" */
2260 2260
2261 /* print the string so far if it's the last character or there is 2261 /* print the string so far if it's the last character or there is
2262 * a composing character. */ 2262 * a composing character. */
2263 if (i + cl >= len || (comping && i > start) || dowide 2263 if (i + cl >= len || (comping && i > start) || dowide
2264 # if defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) 2264 # if defined(FEAT_GUI_X11)
2265 || (cn > 1 2265 || (cn > 1
2266 # ifdef FEAT_XFONTSET 2266 # ifdef FEAT_XFONTSET
2267 /* No fontset: At least draw char after wide char at 2267 /* No fontset: At least draw char after wide char at
2268 * right position. */ 2268 * right position. */
2269 && fontset == NOFONTSET 2269 && fontset == NOFONTSET
2291 s + start, cl, draw_flags); 2291 s + start, cl, draw_flags);
2292 gui_mch_set_font(font); 2292 gui_mch_set_font(font);
2293 start += cl; 2293 start += cl;
2294 } 2294 }
2295 2295
2296 # if defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) 2296 # if defined(FEAT_GUI_X11)
2297 /* No fontset: draw a space to fill the gap after a wide char 2297 /* No fontset: draw a space to fill the gap after a wide char
2298 * */ 2298 * */
2299 if (cn > 1 && (draw_flags & DRAW_TRANSP) == 0 2299 if (cn > 1 && (draw_flags & DRAW_TRANSP) == 0
2300 # ifdef FEAT_XFONTSET 2300 # ifdef FEAT_XFONTSET
2301 && fontset == NOFONTSET 2301 && fontset == NOFONTSET