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

Comparing rxvt-unicode/src/rxvtlib.h.in (file contents):
Revision 1.75 by ayin, Tue May 1 09:34:07 2007 UTC vs.
Revision 1.77 by ayin, Sat Jun 23 13:43:06 2007 UTC

186 wchar_t *text; /* selected text */ 186 wchar_t *text; /* selected text */
187 unsigned int len; /* length of selected text */ 187 unsigned int len; /* length of selected text */
188 unsigned int screen; /* screen being used */ 188 unsigned int screen; /* screen being used */
189 unsigned int clicks; /* number of clicks */ 189 unsigned int clicks; /* number of clicks */
190 selection_op_t op; /* current operation */ 190 selection_op_t op; /* current operation */
191 bool rect; /* rectangluar selection? */ 191 bool rect; /* rectangular selection? */
192 row_col_t beg; /* beginning of selection <= mark */ 192 row_col_t beg; /* beginning of selection <= mark */
193 row_col_t mark; /* point of initial click <= end */ 193 row_col_t mark; /* point of initial click <= end */
194 row_col_t end; /* one character past end point */ 194 row_col_t end; /* one character past end point */
195} selection_t; 195} selection_t;
196 196
204#define Screen_WrapNext (1<<4) /* need to wrap for next char? */ 204#define Screen_WrapNext (1<<4) /* need to wrap for next char? */
205#define Screen_DefaultFlags (Screen_VisibleCursor | Screen_Autowrap) 205#define Screen_DefaultFlags (Screen_VisibleCursor | Screen_Autowrap)
206 206
207/* rxvt_vars.options */ 207/* rxvt_vars.options */
208enum { 208enum {
209# define def(name,idx) Opt_ ## name = 1UL << (idx), Opt_ ## name ## _idx = idx, 209# define def(name,idx) Opt_ ## name = idx,
210# define nodef(name) Opt_ ## name = 0, Opt_ ## name ## _idx = 0, 210# define nodef(name) Opt_ ## name = 0,
211# include "optinc.h" 211# include "optinc.h"
212# undef nodef 212# undef nodef
213# undef def 213# undef def
214Opt_count
214}; 215};
215 216
216/* ------------------------------------------------------------------------- */ 217/* ------------------------------------------------------------------------- */
217 218
218typedef struct { 219typedef struct {
233 void setDn() { state = 'D'; } 234 void setDn() { state = 'D'; }
234} scrollBar_t; 235} scrollBar_t;
235 236
236struct rxvt_vars : TermWin_t { 237struct rxvt_vars : TermWin_t {
237 scrollBar_t scrollBar; 238 scrollBar_t scrollBar;
238 uint32_t options; 239 uint8_t options[(Opt_count + 7) >> 3];
239 XSizeHints szHint; 240 XSizeHints szHint;
240 rxvt_color *pix_colors; 241 rxvt_color *pix_colors;
241 rxvt_color *pix_colors_focused; 242 rxvt_color *pix_colors_focused;
242#ifdef OFF_FOCUS_FADING 243#ifdef OFF_FOCUS_FADING
243 rxvt_color *pix_colors_unfocused; 244 rxvt_color *pix_colors_unfocused;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines