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.143 by root, Thu Feb 3 07:18:30 2005 UTC vs.
Revision 1.146 by root, Mon Feb 14 18:47:54 2005 UTC

603#endif 603#endif
604#if ENABLE_FRILLS 604#if ENABLE_FRILLS
605 Rs_ext_bwidth, 605 Rs_ext_bwidth,
606 Rs_int_bwidth, 606 Rs_int_bwidth,
607 Rs_borderLess, 607 Rs_borderLess,
608#endif
609#if ENABLE_FRILLS
610 Rs_lineSpace, 608 Rs_lineSpace,
609 Rs_embed,
611#endif 610#endif
612 Rs_cutchars, 611 Rs_cutchars,
613 Rs_modifier, 612 Rs_modifier,
614 Rs_answerbackstring, 613 Rs_answerbackstring,
615 Rs_tripleclickwords, 614 Rs_tripleclickwords,
759#define strdup(x) strdup((const char *)(x)) 758#define strdup(x) strdup((const char *)(x))
760#define strlen(x) strlen((const char *)(x)) 759#define strlen(x) strlen((const char *)(x))
761#define strchr(x, y) strchr((const char *)(x), (int)(y)) 760#define strchr(x, y) strchr((const char *)(x), (int)(y))
762#define strrchr(x, y) strrchr((const char *)(x), (int)(y)) 761#define strrchr(x, y) strrchr((const char *)(x), (int)(y))
763 762
763#define dDisp Display *disp = display->display
764
764/* convert pixel dimensions to row/column values. Everything as int32_t */ 765/* convert pixel dimensions to row/column values. Everything as int32_t */
765#define Pixel2Col(x) Pixel2Width((int32_t)(x)) 766#define Pixel2Col(x) Pixel2Width((int32_t)(x))
766#define Pixel2Row(y) Pixel2Height((int32_t)(y)) 767#define Pixel2Row(y) Pixel2Height((int32_t)(y))
767#define Pixel2Width(x) ((int32_t)(x) / (int32_t)TermWin.fwidth) 768#define Pixel2Width(x) ((int32_t)(x) / (int32_t)TermWin.fwidth)
768#define Pixel2Height(y) ((int32_t)(y) / (int32_t)TermWin.fheight) 769#define Pixel2Height(y) ((int32_t)(y) / (int32_t)TermWin.fheight)
865#ifdef XPM_BACKGROUND 866#ifdef XPM_BACKGROUND
866# define XPMClearArea(a, b, c, d, e, f, g) XClearArea((a), (b), (c), (d), (e), (f), (g)) 867# define XPMClearArea(a, b, c, d, e, f, g) XClearArea((a), (b), (c), (d), (e), (f), (g))
867#else 868#else
868# define XPMClearArea(a, b, c, d, e, f, g) 869# define XPMClearArea(a, b, c, d, e, f, g)
869#endif 870#endif
870
871#ifndef STRICT_FONT_CHECKING
872# define rxvt_get_fontwidest(font) ((font)->max_bounds.width)
873#endif
874
875#define rxvt_Gr_ButtonPress(x,y) rxvt_Gr_ButtonReport (R, 'P',(x),(y))
876#define rxvt_Gr_ButtonRelease(x,y) rxvt_Gr_ButtonReport (R, 'R',(x),(y))
877 871
878#ifdef UTMP_SUPPORT 872#ifdef UTMP_SUPPORT
879# if !defined(RXVT_UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX) 873# if !defined(RXVT_UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX)
880# undef HAVE_UTMPX_H 874# undef HAVE_UTMPX_H
881# undef HAVE_STRUCT_UTMPX 875# undef HAVE_STRUCT_UTMPX
1283 void tt_winch (); 1277 void tt_winch ();
1284 1278
1285 rxvt_term (); 1279 rxvt_term ();
1286 ~rxvt_term (); 1280 ~rxvt_term ();
1287 void destroy (); 1281 void destroy ();
1282 void emergency_cleanup ();
1288 1283
1289 bool init (int argc, const char *const *argv); 1284 bool init (int argc, const char *const *argv);
1290 bool init_vars (); 1285 bool init_vars ();
1291 1286
1292 bool pty_fill (); 1287 bool pty_fill ();
1516 1511
1517 // xdefaults.C 1512 // xdefaults.C
1518 void get_options (int argc, const char *const *argv); 1513 void get_options (int argc, const char *const *argv);
1519 int parse_keysym (const char *str, const char *arg); 1514 int parse_keysym (const char *str, const char *arg);
1520 void get_xdefaults (FILE *stream, const char *name); 1515 void get_xdefaults (FILE *stream, const char *name);
1521 void extract_resources (Display *display, const char *name); 1516 void extract_resources ();
1522 // xpm.C 1517 // xpm.C
1523 int scale_pixmap (const char *geom); 1518 int scale_pixmap (const char *geom);
1524 void resize_pixmap (); 1519 void resize_pixmap ();
1525 Pixmap set_bgPixmap (const char *file); 1520 Pixmap set_bgPixmap (const char *file);
1526}; 1521};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines