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.11 by pcg, Tue Dec 16 23:04:13 2003 UTC vs.
Revision 1.15 by pcg, Thu Dec 18 02:07:12 2003 UTC

1/* 1/*
2 * $Id: rxvt.h,v 1.11 2003/12/16 23:04:13 pcg Exp $ 2 * $Id: rxvt.h,v 1.15 2003/12/18 02:07:12 pcg Exp $
3 */ 3 */
4 4
5#ifndef _RXVT_H_ /* include once only */ 5#ifndef _RXVT_H_ /* include once only */
6#define _RXVT_H_ 6#define _RXVT_H_
7 7
15#include <X11/Xatom.h> 15#include <X11/Xatom.h>
16 16
17#include "defaultfont.h" 17#include "defaultfont.h"
18#include "rxvtcolor.h" 18#include "rxvtcolor.h"
19#include "iom.h" 19#include "iom.h"
20#include "salloc.h"
20 21
21/* 22/*
22 ***************************************************************************** 23 *****************************************************************************
23 * SYSTEM HACKS 24 * SYSTEM HACKS
24 ***************************************************************************** 25 *****************************************************************************
480 Rs_backgroundPixmap, 481 Rs_backgroundPixmap,
481#endif 482#endif
482#if (MENUBAR_MAX) 483#if (MENUBAR_MAX)
483 Rs_menu, 484 Rs_menu,
484#endif 485#endif
485#ifndef NO_BOLDFONT
486 Rs_boldFont,
487#endif
488#ifdef GREEK_SUPPORT 486#ifdef GREEK_SUPPORT
489 Rs_greek_keyboard, 487 Rs_greek_keyboard,
490 Rs_greektoggle_key, 488 Rs_greektoggle_key,
491#endif 489#endif
492 Rs_loginShell, 490 Rs_loginShell,
551 Rs_answerbackstring, 549 Rs_answerbackstring,
552 Rs_tripleclickwords, 550 Rs_tripleclickwords,
553 Rs_cursorBlink, 551 Rs_cursorBlink,
554 Rs_pointerBlank, 552 Rs_pointerBlank,
555 Rs_pointerBlankDelay, 553 Rs_pointerBlankDelay,
554 Rs_imLocale,
556 NUM_RESOURCES 555 NUM_RESOURCES
557}; 556};
558 557
559enum { 558enum {
560 XA_COMPOUND_TEXT = 0, 559 XA_COMPOUND_TEXT = 0,
768 767
769#ifndef STRICT_FONT_CHECKING 768#ifndef STRICT_FONT_CHECKING
770# define rxvt_get_fontwidest(font) ((font)->max_bounds.width) 769# define rxvt_get_fontwidest(font) ((font)->max_bounds.width)
771#endif 770#endif
772 771
773#define rxvt_Gr_ButtonPress(x,y) rxvt_Gr_ButtonReport (r, 'P',(x),(y)) 772#define rxvt_Gr_ButtonPress(x,y) rxvt_Gr_ButtonReport (R, 'P',(x),(y))
774#define rxvt_Gr_ButtonRelease(x,y) rxvt_Gr_ButtonReport (r, 'R',(x),(y)) 773#define rxvt_Gr_ButtonRelease(x,y) rxvt_Gr_ButtonReport (R, 'R',(x),(y))
775 774
776#ifdef UTMP_SUPPORT 775#ifdef UTMP_SUPPORT
777# if !defined(RXVT_UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX) 776# if !defined(RXVT_UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX)
778# undef HAVE_UTMPX_H 777# undef HAVE_UTMPX_H
779# undef HAVE_STRUCT_UTMPX 778# undef HAVE_STRUCT_UTMPX
1085/* command input buffering */ 1084/* command input buffering */
1086 unsigned char *cmdbuf_ptr, *cmdbuf_endp; 1085 unsigned char *cmdbuf_ptr, *cmdbuf_endp;
1087 unsigned char cmdbuf_base[BUFSIZ]; 1086 unsigned char cmdbuf_base[BUFSIZ];
1088 unsigned char kbuf[KBUFSZ]; 1087 unsigned char kbuf[KBUFSZ];
1089 1088
1089 rxvt_salloc *ralloc;
1090 rxvt_salloc *talloc;
1091
1090 void paste (const unsigned char *data, unsigned int len); 1092 void paste (const unsigned char *data, unsigned int len);
1091 1093
1092 void flush (); 1094 void flush ();
1093 1095
1094 void check_cb (check_watcher &w); check_watcher check_ev; 1096 void check_cb (check_watcher &w); check_watcher check_ev;
1126 bool pty_fill (); 1128 bool pty_fill ();
1127 void process_x_events (); 1129 void process_x_events ();
1128 1130
1129 void *operator new (size_t s); 1131 void *operator new (size_t s);
1130 void operator delete (void *p, size_t s); 1132 void operator delete (void *p, size_t s);
1133
1134 /* screen(!) */
1135 void scr_blank_line (text_t *et, rend_t *er, unsigned int width, rend_t efs);
1136 void scr_blank_screen_mem (text_t **tp, rend_t **rp, unsigned int row, rend_t efs);
1137 int scr_scroll_text (int row1, int row2, int count, int spec);
1138 void scr_reset ();
1139 void scr_reset_realloc ();
1140 void scr_release ();
1131}; 1141};
1132 1142
1133#ifndef __attribute__ 1143#ifndef __attribute__
1134# ifdef __GNUC__ 1144# ifdef __GNUC__
1135# if (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || (__GNUC__ < 2) 1145# if (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || (__GNUC__ < 2)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines