… | |
… | |
98 | { CS_UNKNOWN, 0 } |
98 | { CS_UNKNOWN, 0 } |
99 | }; |
99 | }; |
100 | |
100 | |
101 | ///////////////////////////////////////////////////////////////////////////// |
101 | ///////////////////////////////////////////////////////////////////////////// |
102 | |
102 | |
|
|
103 | #if XFT |
103 | rxvt_drawable::~rxvt_drawable () |
104 | rxvt_drawable::~rxvt_drawable () |
104 | { |
105 | { |
105 | if (xftdrawable) |
106 | if (xftdrawable) |
106 | XftDrawDestroy (xftdrawable); |
107 | XftDrawDestroy (xftdrawable); |
107 | } |
108 | } |
… | |
… | |
111 | if (!xftdrawable) |
112 | if (!xftdrawable) |
112 | xftdrawable = XftDrawCreate (display->display, drawable, display->visual, display->cmap); |
113 | xftdrawable = XftDrawCreate (display->display, drawable, display->visual, display->cmap); |
113 | |
114 | |
114 | return xftdrawable; |
115 | return xftdrawable; |
115 | } |
116 | } |
|
|
117 | #endif |
116 | |
118 | |
117 | ///////////////////////////////////////////////////////////////////////////// |
119 | ///////////////////////////////////////////////////////////////////////////// |
118 | |
120 | |
119 | static void *enc_buf; |
121 | static void *enc_buf; |
120 | static uint32_t enc_len; |
122 | static uint32_t enc_len; |
… | |
… | |
304 | |
306 | |
305 | if (t >= 0x2500 & t <= 0x2580 && linedraw_cmds[t - 0x2500]) |
307 | if (t >= 0x2500 & t <= 0x2580 && linedraw_cmds[t - 0x2500]) |
306 | { |
308 | { |
307 | const char *p = linedraw_cmds[t - 0x2500]; |
309 | const char *p = linedraw_cmds[t - 0x2500]; |
308 | |
310 | |
309 | int x0 = x, x1 = x + r->TermWin.fwidth / 2, x2 = x + r->TermWin.fwidth ; |
311 | int x0 = x, x1 = x + r->TermWin.fwidth / 2, x2 = x + r->TermWin.fwidth - 1; |
310 | int y0 = y, y1 = y + r->TermWin.fheight / 2, y2 = y + r->TermWin.fheight; |
312 | int y0 = y, y1 = y + r->TermWin.fheight / 2, y2 = y + r->TermWin.fheight - 1; |
311 | |
313 | |
312 | XGCValues gcv; |
314 | XGCValues gcv; |
313 | |
315 | |
314 | while (*p) |
316 | while (*p) |
315 | { |
317 | { |