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.235 by root, Sun Jan 22 11:57:06 2006 UTC vs.
Revision 1.238 by ayin, Mon Jan 23 10:26:22 2006 UTC

1257 void create_windows (int argc, const char *const *argv); 1257 void create_windows (int argc, const char *const *argv);
1258 void resize_all_windows (unsigned int newwidth, unsigned int newheight, int ignoreparent); 1258 void resize_all_windows (unsigned int newwidth, unsigned int newheight, int ignoreparent);
1259 void window_calc (unsigned int newwidth, unsigned int newheight); 1259 void window_calc (unsigned int newwidth, unsigned int newheight);
1260 1260
1261#if USE_XIM 1261#if USE_XIM
1262 rxvt_xim *input_method; 1262 rxvt_xim *input_method;
1263 XIC Input_Context; 1263 XIC Input_Context;
1264 XIMStyle input_style; 1264 XIMStyle input_style;
1265 XPoint spot; // most recently sent spot position 1265 XPoint spot; // most recently sent spot position
1266 1266
1267 void im_destroy (); 1267 void im_destroy ();
1268 void im_cb (); im_watcher im_ev; 1268 void im_cb (); im_watcher im_ev;
1269 void im_set_size (XRectangle &size); 1269 void im_set_size (XRectangle &size);
1270 void im_set_position (XPoint &pos) NOTHROW; 1270 void im_set_position (XPoint &pos) NOTHROW;
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