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.66 by root, Mon Jan 16 06:37:52 2006 UTC vs.
Revision 1.67 by root, Mon Jan 16 15:00:20 2006 UTC

62 62
63extern rxvt_t rxvt_current_term; 63extern rxvt_t rxvt_current_term;
64 64
65#define SET_R(r) rxvt_current_term = const_cast<rxvt_term *>(r) 65#define SET_R(r) rxvt_current_term = const_cast<rxvt_term *>(r)
66#define GET_R rxvt_current_term 66#define GET_R rxvt_current_term
67
68#define scrollbar_visible() scrollBar.state
69#define menubar_visible() menuBar.state
70 67
71typedef struct { 68typedef struct {
72 int row; 69 int row;
73 int col; 70 int col;
74} row_col_t; 71} row_col_t;
216}; 213};
217 214
218/* ------------------------------------------------------------------------- */ 215/* ------------------------------------------------------------------------- */
219 216
220typedef struct { 217typedef struct {
221 short state;
222 Window win;
223 struct rxvt_drawable *drawable;
224} menuBar_t;
225
226typedef struct {
227 char state; /* scrollbar state */ 218 char state; /* scrollbar state */
228 char init; /* scrollbar has been initialised */ 219 char init; /* scrollbar has been initialised */
229 unsigned int beg; /* slider sub-window begin height */ 220 unsigned int beg; /* slider sub-window begin height */
230 unsigned int end; /* slider sub-window end height */ 221 unsigned int end; /* slider sub-window end height */
231 unsigned int top; /* slider top position */ 222 unsigned int top; /* slider top position */
241 void setDn() { state = 'D'; } 232 void setDn() { state = 'D'; }
242} scrollBar_t; 233} scrollBar_t;
243 234
244struct rxvt_vars : TermWin_t { 235struct rxvt_vars : TermWin_t {
245 scrollBar_t scrollBar; 236 scrollBar_t scrollBar;
246 menuBar_t menuBar;
247 uint32_t options; 237 uint32_t options;
248 XSizeHints szHint; 238 XSizeHints szHint;
249 rxvt_display *display; 239 rxvt_display *display;
250 rxvt_color *pix_colors; 240 rxvt_color *pix_colors;
251 rxvt_color *pix_colors_focused; 241 rxvt_color *pix_colors_focused;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines