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.16 by pcg, Thu Dec 18 05:45:11 2003 UTC vs.
Revision 1.26 by pcg, Fri Jan 30 15:58:07 2004 UTC

1/*
2 * $Id: rxvt.h,v 1.16 2003/12/18 05:45:11 pcg Exp $
3 */
4
5#ifndef _RXVT_H_ /* include once only */ 1#ifndef RXVT_H_ /* include once only */
6#define _RXVT_H_ 2#define RXVT_H_
7 3
8#include "rxvtlib.h" 4#include "rxvtlib.h"
9 5
10#include "feature.h" 6#include "feature.h"
11 7
16 12
17#include "defaultfont.h" 13#include "defaultfont.h"
18#include "rxvtcolor.h" 14#include "rxvtcolor.h"
19#include "iom.h" 15#include "iom.h"
20#include "salloc.h" 16#include "salloc.h"
17
18#include <wchar.h>
21 19
22/* 20/*
23 ***************************************************************************** 21 *****************************************************************************
24 * SYSTEM HACKS 22 * SYSTEM HACKS
25 ***************************************************************************** 23 *****************************************************************************
316enum { 314enum {
317 PRIMARY = 0, 315 PRIMARY = 0,
318 SECONDARY 316 SECONDARY
319}; 317};
320 318
321enum {
322 SBYTE = 0,
323 WBYTE
324};
325
326
327#define RS_None 0 /* Normal */ 319#define RS_None 0 /* Normal */
328 320
329#define RS_fgMask 0x000001FFu /* 512 colors */ 321#define RS_fgMask 0x000001FFu /* 512 colors */
330#define RS_bgMask 0x0003FE00u /* 512 colors */ 322#define RS_bgMask 0x0003FE00u /* 512 colors */
331#define RS_Bold 0x00040000u /* bold */ 323#define RS_Bold 0x00040000u /* bold */
332#define RS_Blink 0x00080000u /* blink */ 324#define RS_Blink 0x00080000u /* blink */
333#define RS_RVid 0x00100000u /* reverse video */ 325#define RS_RVid 0x00100000u /* reverse video */
334#define RS_Uline 0x00200000u /* underline */ 326#define RS_Uline 0x00200000u /* underline */
335 327
336#define RS_wide 0x00400000u /* only multibyte characters */
337#define IS_WIDE(r) ((r) & RS_wide)
338
339#define RS_fontMask 0xff000000u /* plenty(?) of fonts */ 328#define RS_fontMask 0xffc00000u /* plenty(?) of fonts */
340#define RS_fontShift 24 329#define RS_fontShift 22
341 330
342#define RS_baseattrMask (RS_Bold|RS_Blink|RS_RVid|RS_Uline) 331#define RS_baseattrMask (RS_Bold|RS_Blink|RS_RVid|RS_Uline)
343#define RS_attrMask (RS_baseattrMask|RS_fontMask|RS_wide) 332#define RS_attrMask (RS_baseattrMask|RS_fontMask)
344 333
345#define Sel_none 0 /* Not waiting */ 334#define Sel_none 0 /* Not waiting */
346#define Sel_normal 0x01 /* normal selection */ 335#define Sel_normal 0x01 /* normal selection */
347#define Sel_incr 0x02 /* incremental selection */ 336#define Sel_incr 0x02 /* incremental selection */
348#define Sel_direct 0x00 337#define Sel_direct 0x00
349#define Sel_Primary 0x01 338#define Sel_Primary 0x01
350#define Sel_Secondary 0x02 339#define Sel_Secondary 0x02
351#define Sel_Clipboard 0x03 340#define Sel_Clipboard 0x03
352#define Sel_whereMask 0x0f 341#define Sel_whereMask 0x0f
353#define Sel_CompoundText 0x10 /* last request was Compound */ 342#define Sel_CompoundText 0x10 /* last request was COMPOUND_TEXT */
343#define Sel_UTF8String 0x20 /* last request was UTF8_STRING */
354 344
355enum { 345enum {
356 C0_NUL = 0x00, 346 C0_NUL = 0x00,
357 C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, 347 C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL,
358 C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , 348 C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI ,
453 TOTAL_COLORS = NRS_COLORS /* */ 443 TOTAL_COLORS = NRS_COLORS /* */
454#endif 444#endif
455}; 445};
456 446
457#define Color_Bits 9 447#define Color_Bits 9
458#define NPIXCLR_SETS 9 /* (256 + 14) bits / 32 bits */ 448#define NPIXCLR_SETS ((TOTAL_COLORS + 31) / 32)
459#define NPIXCLR_BITS 32 449#define NPIXCLR_BITS 32
460 450
461#define DEFAULT_RSTYLE (RS_None | (Color_fg) | (Color_bg<<Color_Bits)) 451#define DEFAULT_RSTYLE (RS_None | (Color_fg) | (Color_bg<<Color_Bits))
462 452
463/* 453/*
464 * Resource list 454 * Resource list
465 */ 455 */
466enum { 456enum {
553 Rs_pointerBlankDelay, 543 Rs_pointerBlankDelay,
554 Rs_imLocale, 544 Rs_imLocale,
555 NUM_RESOURCES 545 NUM_RESOURCES
556}; 546};
557 547
548// see init.C:xa_named, which must be kept in sync
558enum { 549enum {
550 XA_TEXT = 0,
559 XA_COMPOUND_TEXT = 0, 551 XA_COMPOUND_TEXT,
552 XA_UTF8_STRING,
560 XA_MULTIPLE, 553 XA_MULTIPLE,
561 XA_TARGETS, 554 XA_TARGETS,
562 XA_TEXT,
563 XA_TIMESTAMP, 555 XA_TIMESTAMP,
564 XA_VT_SELECTION, 556 XA_VT_SELECTION,
565 XA_INCR, 557 XA_INCR,
566 XA_WMDELETEWINDOW, 558 XA_WMDELETEWINDOW,
567#ifdef TRANSPARENT 559#ifdef TRANSPARENT
572 XA_DNDSELECTION, 564 XA_DNDSELECTION,
573#endif /* OFFIX_DND */ 565#endif /* OFFIX_DND */
574 XA_CLIPBOARD, 566 XA_CLIPBOARD,
575 NUM_XA 567 NUM_XA
576}; 568};
577
578/*
579 * number of graphics points
580 * divisible by 2 (num lines)
581 * divisible by 4 (num rect)
582 */
583#define NGRX_PTS 1000
584 569
585/* DEC private modes */ 570/* DEC private modes */
586#define PrivMode_132 (1LU<<0) 571#define PrivMode_132 (1LU<<0)
587#define PrivMode_132OK (1LU<<1) 572#define PrivMode_132OK (1LU<<1)
588#define PrivMode_rVideo (1LU<<2) 573#define PrivMode_rVideo (1LU<<2)
619#else 604#else
620# define PrivMode_Default \ 605# define PrivMode_Default \
621(PrivMode_Autowrap|PrivMode_aplKP|PrivMode_ShiftKeys|PrivMode_VisibleCursor) 606(PrivMode_Autowrap|PrivMode_aplKP|PrivMode_ShiftKeys|PrivMode_VisibleCursor)
622#endif 607#endif
623 608
624#ifdef PREFER_24BIT
625# define XDEPTH R->Xdepth 609#define XDEPTH R->Xdepth
626# define XCMAP R->Xcmap 610#define XCMAP R->Xcmap
627# define XVISUAL R->Xvisual 611#define XVISUAL R->Xvisual
628#else 612
629# ifdef DEBUG_DEPTH
630# define XDEPTH DEBUG_DEPTH
631# else
632# define XDEPTH DefaultDepth(R->Xdisplay,Xscreen)
633# define XCMAP DefaultColormap(R->Xdisplay,Xscreen)
634# define XVISUAL DefaultVisual(R->Xdisplay,Xscreen)
635# endif
636#endif
637#define IMBUFSIZ 128 /* input modifier buffer sizes */ 613#define IMBUFSIZ 128 /* input modifier buffer sizes */
638#ifndef BUFSIZ 614#ifndef BUFSIZ
639# define BUFSIZ 4096 615# define BUFSIZ 4096
640#endif 616#endif
641#define KBUFSZ 512 /* size of keyboard mapping buffer */ 617#define KBUFSZ 512 /* size of keyboard mapping buffer */
642 618
643/* 619/*
644 ***************************************************************************** 620 *****************************************************************************
645 * MACRO DEFINES 621 * MACRO DEFINES
646 ***************************************************************************** 622 *****************************************************************************
660#define STRLEN(x) strlen((const char *)(x)) 636#define STRLEN(x) strlen((const char *)(x))
661#define STRCHR(x, y) strchr((const char *)(x), (int)(y)) 637#define STRCHR(x, y) strchr((const char *)(x), (int)(y))
662#define STRRCHR(x, y) strrchr((const char *)(x), (int)(y)) 638#define STRRCHR(x, y) strrchr((const char *)(x), (int)(y))
663 639
664/* convert pixel dimensions to row/column values. Everything as int32_t */ 640/* convert pixel dimensions to row/column values. Everything as int32_t */
665#define Pixel2Col(x) Pixel2Width((int32_t)(x) - (int32_t)R->TermWin.int_bwidth) 641#define Pixel2Col(x) Pixel2Width((int32_t)(x) - (int32_t)TermWin.int_bwidth)
666#define Pixel2Row(y) Pixel2Height((int32_t)(y) - (int32_t)R->TermWin.int_bwidth) 642#define Pixel2Row(y) Pixel2Height((int32_t)(y) - (int32_t)TermWin.int_bwidth)
667#define Pixel2Width(x) ((int32_t)(x) / (int32_t)R->TermWin.fwidth) 643#define Pixel2Width(x) ((int32_t)(x) / (int32_t)TermWin.fwidth)
668#define Pixel2Height(y) ((int32_t)(y) / (int32_t)R->TermWin.fheight) 644#define Pixel2Height(y) ((int32_t)(y) / (int32_t)TermWin.fheight)
669#define Col2Pixel(col) ((int32_t)Width2Pixel(col) + (int32_t)R->TermWin.int_bwidth) 645#define Col2Pixel(col) ((int32_t)Width2Pixel(col) + (int32_t)TermWin.int_bwidth)
670#define Row2Pixel(row) ((int32_t)Height2Pixel(row) + (int32_t)R->TermWin.int_bwidth) 646#define Row2Pixel(row) ((int32_t)Height2Pixel(row) + (int32_t)TermWin.int_bwidth)
671#define Width2Pixel(n) ((int32_t)(n) * (int32_t)R->TermWin.fwidth) 647#define Width2Pixel(n) ((int32_t)(n) * (int32_t)TermWin.fwidth)
672#define Height2Pixel(n) ((int32_t)(n) * (int32_t)R->TermWin.fheight) 648#define Height2Pixel(n) ((int32_t)(n) * (int32_t)TermWin.fheight)
673 649
674#define TermWin_TotalWidth() ((int32_t)R->TermWin.width + 2 * (int32_t)R->TermWin.int_bwidth) 650#define TermWin_TotalWidth() ((int32_t)TermWin.width + 2 * (int32_t)TermWin.int_bwidth)
675#define TermWin_TotalHeight() ((int32_t)R->TermWin.height + 2 * (int32_t)R->TermWin.int_bwidth) 651#define TermWin_TotalHeight() ((int32_t)TermWin.height + 2 * (int32_t)TermWin.int_bwidth)
676 652
677#define Xscreen DefaultScreen(R->Xdisplay)
678#define Xroot DefaultRootWindow(R->Xdisplay) 653#define Xroot DefaultRootWindow(R->Xdisplay)
679 654
680/* how to build & extract colors and attributes */ 655/* how to build & extract colors and attributes */
681#define GET_BASEFG(x) (((x) & RS_fgMask)) 656#define GET_BASEFG(x) (((x) & RS_fgMask))
682#define GET_BASEBG(x) (((x) & RS_bgMask)>>Color_Bits) 657#define GET_BASEBG(x) (((x) & RS_bgMask)>>Color_Bits)
709#define SET_FGCOLOR(x,fg) (((x) & ~RS_fgMask) | (fg)) 684#define SET_FGCOLOR(x,fg) (((x) & ~RS_fgMask) | (fg))
710#define SET_BGCOLOR(x,bg) (((x) & ~RS_bgMask) | ((bg)<<Color_Bits)) 685#define SET_BGCOLOR(x,bg) (((x) & ~RS_bgMask) | ((bg)<<Color_Bits))
711#define SET_ATTR(x,a) (((x) & ~RS_attrMask)| (a)) 686#define SET_ATTR(x,a) (((x) & ~RS_attrMask)| (a))
712 687
713#define SET_PIXCOLOR(h, x) ((h)->pixcolor_set[(x) / NPIXCLR_BITS] |= (1 << ((x) % NPIXCLR_BITS))) 688#define SET_PIXCOLOR(h, x) ((h)->pixcolor_set[(x) / NPIXCLR_BITS] |= (1 << ((x) % NPIXCLR_BITS)))
714#define ISSET_PIXCOLOR(h, x) ((h)->pixcolor_set[(x) / NPIXCLR_BITS] & (1 << ((x) % NPIXCLR_BITS))) 689#define ISSET_PIXCOLOR(h, x) ((h)->pixcolor_set[(x) / NPIXCLR_BITS] & (1 << ((x) % NPIXCLR_BITS)))
715 690
716#ifdef HAVE_SCROLLBARS 691#ifdef HAVE_SCROLLBARS
717# define scrollbar_TotalWidth() (R->scrollBar.width + R->sb_shadow * 2) 692# define scrollbar_TotalWidth() (scrollBar.width + sb_shadow * 2)
718#else 693#else
719# define scrollbar_TotalWidth() (0) 694# define scrollbar_TotalWidth() (0)
720#endif 695#endif
721#define scrollbar_isMotion() (R->scrollBar.state == 'm') 696#define scrollbar_isMotion() (R->scrollBar.state == 'm')
722#define scrollbar_isUp() (R->scrollBar.state == 'U') 697#define scrollbar_isUp() (R->scrollBar.state == 'U')
743#define scrollbar_size() (R->scrollBar.end - R->scrollBar.beg \ 718#define scrollbar_size() (R->scrollBar.end - R->scrollBar.beg \
744 - scrollbar_minheight()) 719 - scrollbar_minheight())
745 720
746#if (MENUBAR_MAX > 1) 721#if (MENUBAR_MAX > 1)
747/* rendition style flags */ 722/* rendition style flags */
748# define menuBar_height() (R->TermWin.fheight + SHADOW) 723# define menuBar_height() (TermWin.fheight + SHADOW)
749# define menuBar_TotalHeight() (menuBar_height() + SHADOW + menuBar_margin) 724# define menuBar_TotalHeight() (menuBar_height() + SHADOW + menuBar_margin)
750# define isMenuBarWindow(w) ((w) == R->menuBar.win) 725# define isMenuBarWindow(w) ((w) == R->menuBar.win)
751#else 726#else
752# define menuBar_height() (0) 727# define menuBar_height() (0)
753# define menuBar_TotalHeight() (0) 728# define menuBar_TotalHeight() (0)
829#ifdef MENUBAR 804#ifdef MENUBAR
830# include "menubar.h" 805# include "menubar.h"
831#endif 806#endif
832 807
833#define BLINK_INTERVAL 0.5 808#define BLINK_INTERVAL 0.5
809#define TEXT_BLINK_INTERVAL 0.5
834 810
835struct mbstate { 811struct mbstate {
836 unsigned char orig; 812 mbstate_t mbs;
837 uint32_t reg;
838 int cnt;
839 813
840 mbstate () 814 mbstate ()
841 { 815 {
842 cnt = 0; 816 MEMSET (&mbs, 0, sizeof (mbs));
843 } 817 }
844}; 818};
845 819
846struct rxvt_term : rxvt_vars { 820struct rxvt_term : rxvt_vars {
847 struct mbstate mbstate; 821 struct mbstate mbstate;
859 num_scr_allow:1, 833 num_scr_allow:1,
860 bypass_keystate:1, 834 bypass_keystate:1,
861#ifdef CURSOR_BLINK 835#ifdef CURSOR_BLINK
862 hidden_cursor:1, 836 hidden_cursor:1,
863#endif 837#endif
838#ifdef TEXT_BLINK
839 hidden_text:1,
840#endif
864#ifdef POINTER_BLANK 841#ifdef POINTER_BLANK
865 hidden_pointer:1, 842 hidden_pointer:1,
866#endif 843#endif
867 parsed_geometry:1, 844 parsed_geometry:1,
868 seen_input:1; /* wether any input has been seen so far */ 845 seen_input:1, /* wether any input has been seen so far */
846 enc_utf8:1; /* wether terminal reads/writes utf-8 */
869 847
870 unsigned char refresh_type, 848 unsigned char refresh_type,
871#ifdef UTMP_SUPPORT 849#ifdef UTMP_SUPPORT
872 next_utmp_action, 850 next_utmp_action,
873#endif 851#endif
884#ifdef GREEK_SUPPORT 862#ifdef GREEK_SUPPORT
885 short greek_mode; /* greek keyboard mode */ 863 short greek_mode; /* greek keyboard mode */
886#endif 864#endif
887 short rvideo; 865 short rvideo;
888 int16_t num_scr; /* screen: number lines scrolled */ 866 int16_t num_scr; /* screen: number lines scrolled */
889 uint16_t prev_ncol, /* screen: previous number of columns */ 867 unsigned int prev_ncol, /* screen: previous number of columns */
890 prev_nrow; /* screen: previous number of rows */ 868 prev_nrow; /* screen: previous number of rows */
891#ifdef RXVT_GRAPHICS 869#ifdef RXVT_GRAPHICS
892 uint16_t gr_prev_start; 870 uint16_t gr_prev_start;
893#endif 871#endif
894/* ---------- */ 872/* ---------- */
895 rend_t rstyle; 873 rend_t rstyle;
896/* ---------- */ 874/* ---------- */
897 uint32_t pixcolor_set[NPIXCLR_SETS]; 875 uint32_t pixcolor_set[NPIXCLR_SETS];
898/* ---------- */ 876/* ---------- */
899#ifdef SELECTION_SCROLLING 877#ifdef SELECTION_SCROLLING
900 int scroll_selection_delay, 878 int scroll_selection_delay,
901 scroll_selection_lines; 879 scroll_selection_lines;
902 enum page_dirn scroll_selection_dir; 880 enum page_dirn scroll_selection_dir;
920 fnum, /* logical font number */ 898 fnum, /* logical font number */
921 last_bot, /* scrollbar last bottom position */ 899 last_bot, /* scrollbar last bottom position */
922 last_top, /* scrollbar last top position */ 900 last_top, /* scrollbar last top position */
923 last_state, /* scrollbar last state */ 901 last_state, /* scrollbar last state */
924 scrollbar_len, 902 scrollbar_len,
925 currmaxcol,
926#ifdef MENUBAR 903#ifdef MENUBAR
927 menu_readonly, /* okay to alter menu? */ 904 menu_readonly, /* okay to alter menu? */
928 Arrows_x, 905 Arrows_x,
929#endif 906#endif
930#if MENUBAR_MAX > 1 907#if MENUBAR_MAX > 1
947#endif 924#endif
948 ttymode; 925 ttymode;
949 unsigned long PrivateModes, 926 unsigned long PrivateModes,
950 SavedModes; 927 SavedModes;
951/* ---------- */ 928/* ---------- */
952#ifdef PREFER_24BIT
953 Visual *Xvisual;
954#endif
955/* ---------- */
956 Atom xa[NUM_XA]; 929 Atom xa[NUM_XA];
957/* ---------- */ 930/* ---------- */
958#ifdef MENUBAR 931#ifdef MENUBAR
959 GC menubarGC; 932 GC menubarGC;
960#endif 933#endif
1064/* these three don't need to be kept but do so to placate some mem checkers */ 1037/* these three don't need to be kept but do so to placate some mem checkers */
1065 char *env_windowid; /* environmental variable WINDOWID */ 1038 char *env_windowid; /* environmental variable WINDOWID */
1066 char *env_display; /* environmental variable DISPLAY */ 1039 char *env_display; /* environmental variable DISPLAY */
1067 char *env_term; /* environmental variable TERM */ 1040 char *env_term; /* environmental variable TERM */
1068 char *env_colorfgbg; 1041 char *env_colorfgbg;
1069 char *buffer;
1070 char *locale; 1042 char *locale;
1071 char *codeset; 1043 char *codeset;
1072 char charsets[4]; 1044 char charsets[4];
1073 unsigned char *v_buffer; /* pointer to physical buffer */ 1045 unsigned char *v_buffer; /* pointer to physical buffer */
1074 unsigned int v_buflen; /* size of area to write */ 1046 unsigned int v_buflen; /* size of area to write */
1078#endif 1050#endif
1079 const char *rs[NUM_RESOURCES]; 1051 const char *rs[NUM_RESOURCES];
1080/* command input buffering */ 1052/* command input buffering */
1081 unsigned char *cmdbuf_ptr, *cmdbuf_endp; 1053 unsigned char *cmdbuf_ptr, *cmdbuf_endp;
1082 unsigned char cmdbuf_base[BUFSIZ]; 1054 unsigned char cmdbuf_base[BUFSIZ];
1083 unsigned char kbuf[KBUFSZ];
1084 1055
1085 rxvt_salloc *ralloc; 1056 rxvt_salloc *ralloc;
1086 rxvt_salloc *talloc; 1057 rxvt_salloc *talloc;
1087 1058
1088 void paste (const unsigned char *data, unsigned int len); 1059 void paste (const unsigned char *data, unsigned int len);
1096 void x_cb (io_watcher &w, short revents); io_watcher x_ev; 1067 void x_cb (io_watcher &w, short revents); io_watcher x_ev;
1097 1068
1098 void incr_cb (time_watcher &w); time_watcher incr_ev; 1069 void incr_cb (time_watcher &w); time_watcher incr_ev;
1099 1070
1100#ifdef CURSOR_BLINK 1071#ifdef CURSOR_BLINK
1072 void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev;
1073#endif
1074#ifdef TEXT_BLINK
1101 void blink_cb (time_watcher &w); time_watcher blink_ev; 1075 void text_blink_cb (time_watcher &w); time_watcher text_blink_ev;
1102#endif 1076#endif
1103 1077
1104#ifdef POINTER_BLANK 1078#ifdef POINTER_BLANK
1105 void pointer_cb (time_watcher &w); time_watcher pointer_ev; 1079 void pointer_cb (time_watcher &w); time_watcher pointer_ev;
1106 void pointer_blank (); 1080 void pointer_blank ();
1128 void operator delete (void *p, size_t s); 1102 void operator delete (void *p, size_t s);
1129 1103
1130 void init_secondary (); 1104 void init_secondary ();
1131 const char **init_resources (int argc, const char *const *argv); 1105 const char **init_resources (int argc, const char *const *argv);
1132 void init_env (); 1106 void init_env ();
1107 void set_locale (const char *locale);
1133 void init_xlocale (); 1108 void init_xlocale ();
1134 void init_command (const char *const *argv); 1109 void init_command (const char *const *argv);
1135 int run_command (const char *const *argv); 1110 int run_command (const char *const *argv);
1136 int run_child (const char *const *argv); 1111 int run_child (const char *const *argv);
1137 1112
1138 void color_aliases(int idx); 1113 void color_aliases(int idx);
1139 void recolour_cursor (); 1114 void recolour_cursor ();
1115 void create_windows (int argc, const char *const *argv);
1116 void resize_all_windows (unsigned int width, unsigned int height, int ignoreparent);
1117 void window_calc (unsigned int width, unsigned int height);
1118 void set_preedit_area (XRectangle * preedit_rect, XRectangle * status_rect, XRectangle * needed_rect);
1119
1120#if USE_XIM
1121 void set_size (XRectangle *size);
1122 void set_position (XPoint *pos);
1123 void set_color (unsigned long *fg, unsigned long *bg);
1124#endif
1125
1126 void resize_scrollbar ();
1127
1128 void pixel_position (int *x, int *y);
1129
1130 void selection_click (int clicks, int x, int y);
1131 void selection_extend (int x, int y, int flag);
1132 void selection_rotate (int x, int y);
1140 1133
1141 /* screen(!) */ 1134 /* screen(!) */
1142 void scr_blank_line (text_t *et, rend_t *er, unsigned int width, rend_t efs); 1135 void scr_blank_line (text_t *et, rend_t *er, unsigned int width, rend_t efs);
1143 void scr_blank_screen_mem (text_t **tp, rend_t **rp, unsigned int row, rend_t efs); 1136 void scr_blank_screen_mem (text_t **tp, rend_t **rp, unsigned int row, rend_t efs);
1144 int scr_scroll_text (int row1, int row2, int count, int spec); 1137 int scr_scroll_text (int row1, int row2, int count, int spec);
1145 void scr_reset (); 1138 void scr_reset ();
1146 void scr_reset_realloc (); 1139 void scr_reset_realloc ();
1147 void scr_release (); 1140 void scr_release ();
1141 void scr_clear ();
1142 void scr_refresh (unsigned char refresh_type);
1143 bool scr_refresh_rend (rend_t mask, rend_t value);
1144 void scr_erase_screen (int mode);
1145 void scr_touch (bool refresh);
1146 void scr_expose (int x, int y, int width, int height, bool refresh);
1148}; 1147};
1149 1148
1150#define SET_LOCALE(locale) rxvt_set_locale (locale) 1149#define SET_LOCALE(locale) rxvt_set_locale (locale)
1151extern void rxvt_set_locale (const char *locale); 1150extern void rxvt_set_locale (const char *locale);
1152 1151

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines