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.240 by root, Tue Jan 24 19:40:12 2006 UTC vs.
Revision 1.241 by root, Wed Jan 25 00:42:20 2006 UTC

15#endif 15#endif
16 16
17#if ENABLE_FRILLS 17#if ENABLE_FRILLS
18# define ENABLE_XEMBED 1 18# define ENABLE_XEMBED 1
19# define ENABLE_EWMH 1 19# define ENABLE_EWMH 1
20# define ENABLE_XIM_ONTHESPOT 1
20# define CURSOR_BLINK 1 21# define CURSOR_BLINK 1
21#else 22#else
22# define ENABLE_MINIMAL 1 23# define ENABLE_MINIMAL 1
23#endif 24#endif
24 25
736 ***************************************************************************** 737 *****************************************************************************
737 */ 738 */
738#define dLocal(type,name) type const name = this->name 739#define dLocal(type,name) type const name = this->name
739#define dDisp Display *disp = this->display->display 740#define dDisp Display *disp = this->display->display
740 741
742// for speed reasons, we assume that all latin1 characters
743// are single-width (the first unicdoe combining character
744// is actually 0x300, but ascii is what matters most).
745#define WCWIDTH(c) ((c) < 0x100 ? 1 : wcwidth (c))
746
741/* convert pixel dimensions to row/column values. Everything as int32_t */ 747/* convert pixel dimensions to row/column values. Everything as int32_t */
742#define Pixel2Col(x) Pixel2Width((int32_t)(x)) 748#define Pixel2Col(x) Pixel2Width((int32_t)(x))
743#define Pixel2Row(y) Pixel2Height((int32_t)(y)) 749#define Pixel2Row(y) Pixel2Height((int32_t)(y))
744#define Pixel2Width(x) ((int32_t)(x) / (int32_t)fwidth) 750#define Pixel2Width(x) ((int32_t)(x) / (int32_t)fwidth)
745#define Pixel2Height(y) ((int32_t)(y) / (int32_t)fheight) 751#define Pixel2Height(y) ((int32_t)(y) / (int32_t)fheight)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines