ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.236 by root, Sun Jan 22 17:10:01 2006 UTC vs.
Revision 1.239 by root, Tue Jan 24 16:57:42 2006 UTC

1157#endif 1157#endif
1158 1158
1159 // modifies first argument(!) 1159 // modifies first argument(!)
1160 void paste (char *data, unsigned int len) NOTHROW; 1160 void paste (char *data, unsigned int len) NOTHROW;
1161 1161
1162 long vt_emask, vt_emask_perl; 1162 long vt_emask, vt_emask_perl, vt_emask_xim;
1163 1163
1164 void vt_select_input () const NOTHROW 1164 void vt_select_input () const NOTHROW
1165 { 1165 {
1166 XSelectInput (display->display, vt, vt_emask | vt_emask_perl); 1166 XSelectInput (display->display, vt, vt_emask | vt_emask_perl | vt_emask_xim);
1167 } 1167 }
1168 1168
1169#if TRANSPARENT 1169#if TRANSPARENT
1170 void rootwin_cb (XEvent &xev); 1170 void rootwin_cb (XEvent &xev);
1171 xevent_watcher rootwin_ev; 1171 xevent_watcher rootwin_ev;
1328 int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour); 1328 int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour);
1329 void set_widthheight (unsigned int newwidth, unsigned int newheight); 1329 void set_widthheight (unsigned int newwidth, unsigned int newheight);
1330 1330
1331 // screen.C 1331 // screen.C
1332 1332
1333 void lalloc (line_t &l) const NOTHROW 1333 void lalloc (line_t &l) const
1334 { 1334 {
1335 l.t = (text_t *)talloc->alloc (); 1335 l.t = (text_t *)talloc->alloc ();
1336 l.r = (rend_t *)ralloc->alloc (); 1336 l.r = (rend_t *)ralloc->alloc ();
1337 } 1337 }
1338 1338
1342 talloc->free (l.t); 1342 talloc->free (l.t);
1343 ralloc->free (l.r); 1343 ralloc->free (l.r);
1344 } 1344 }
1345#endif 1345#endif
1346 1346
1347 void lresize (line_t &l) const NOTHROW 1347 void lresize (line_t &l) const
1348 { 1348 {
1349 if (!l.t) 1349 if (!l.t)
1350 return; 1350 return;
1351 1351
1352 l.t = (text_t *)talloc->alloc (l.t, prev_ncol * sizeof (text_t)); 1352 l.t = (text_t *)talloc->alloc (l.t, prev_ncol * sizeof (text_t));
1420 void scr_remap_chars () NOTHROW; 1420 void scr_remap_chars () NOTHROW;
1421 void scr_remap_chars (line_t &l) NOTHROW; 1421 void scr_remap_chars (line_t &l) NOTHROW;
1422 1422
1423 enum cursor_mode { SAVE, RESTORE }; 1423 enum cursor_mode { SAVE, RESTORE };
1424 1424
1425 void scr_poweron () NOTHROW; 1425 void scr_poweron ();
1426 void scr_cursor (cursor_mode mode) NOTHROW; 1426 void scr_cursor (cursor_mode mode) NOTHROW;
1427 void scr_do_wrap () NOTHROW; 1427 void scr_do_wrap () NOTHROW;
1428 void scr_swap_screen () NOTHROW;
1428 int scr_change_screen (int scrn) NOTHROW; 1429 void scr_change_screen (int scrn);
1429 void scr_color (unsigned int color, int fgbg) NOTHROW; 1430 void scr_color (unsigned int color, int fgbg) NOTHROW;
1430 void scr_rendition (int set, int style) NOTHROW; 1431 void scr_rendition (int set, int style) NOTHROW;
1431 void scr_add_lines (const wchar_t *str, int len, int minlines = 0) NOTHROW; 1432 void scr_add_lines (const wchar_t *str, int len, int minlines = 0) NOTHROW;
1432 void scr_backspace () NOTHROW; 1433 void scr_backspace () NOTHROW;
1433 void scr_tab (int count, bool ht = false) NOTHROW; 1434 void scr_tab (int count, bool ht = false) NOTHROW;
1525# define __PROTO(p) p 1526# define __PROTO(p) p
1526#else 1527#else
1527# define __PROTO(p) () 1528# define __PROTO(p) ()
1528#endif 1529#endif
1529 1530
1530#ifdef DEBUG_malloc
1531# include "dmalloc.h" /* This comes last */
1532#endif
1533
1534#endif /* _RXVT_H_ */ 1531#endif /* _RXVT_H_ */
1535 1532

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines