ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.h
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.23 by root, Thu Feb 2 18:04:46 2006 UTC vs.
Revision 1.24 by root, Sat Feb 18 14:14:43 2006 UTC

105 } 105 }
106}; 106};
107 107
108///////////////////////////////////////////////////////////////////////////// 108/////////////////////////////////////////////////////////////////////////////
109 109
110struct rxvt_screen;
111
112struct rxvt_drawable {
113 rxvt_screen *screen;
114 Drawable drawable;
115 operator Drawable() { return drawable; }
116
117#if XFT
118 XftDraw *xftdrawable;
119 operator XftDraw *();
120#endif
121
122 rxvt_drawable (rxvt_screen *screen, Drawable drawable)
123 : screen(screen),
124#if XFT
125 xftdrawable(0),
126#endif
127 drawable(drawable)
128 { }
129
130#if XFT
131 ~rxvt_drawable ();
132#endif
133};
134
135/////////////////////////////////////////////////////////////////////////////
136
110#ifdef USE_XIM 137#ifdef USE_XIM
111struct rxvt_xim : refcounted { 138struct rxvt_xim : refcounted {
112 void destroy (); 139 void destroy ();
113 rxvt_display *display; 140 rxvt_display *display;
114 141
125 rxvt_display *display; 152 rxvt_display *display;
126 Display *dpy; 153 Display *dpy;
127 int depth; 154 int depth;
128 Visual *visual; 155 Visual *visual;
129 Colormap cmap; 156 Colormap cmap;
157
158#if XFT
159 // scratch pixmap
160 rxvt_drawable *scratch_area;
161 int scratch_w, scratch_h;
162
163 rxvt_drawable &scratch_drawable (int w, int h);
164
165 rxvt_screen ();
166#endif
130 167
131 void set (rxvt_display *disp); 168 void set (rxvt_display *disp);
132 void set (rxvt_display *disp, int bitdepth); 169 void set (rxvt_display *disp, int bitdepth);
133 void clear (); 170 void clear ();
134}; 171};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines