Mercurial > hg > xemacs-beta
comparison src/toolbar.h @ 380:8626e4521993 r21-2-5
Import from CVS: tag r21-2-5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:07:10 +0200 |
parents | e11d67e05968 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
379:76b7d63099ad | 380:8626e4521993 |
---|---|
23 /* Synched up with: Not in FSF. */ | 23 /* Synched up with: Not in FSF. */ |
24 | 24 |
25 #ifndef _XEMACS_TOOLBAR_H_ | 25 #ifndef _XEMACS_TOOLBAR_H_ |
26 #define _XEMACS_TOOLBAR_H_ | 26 #define _XEMACS_TOOLBAR_H_ |
27 | 27 |
28 #ifdef HAVE_TOOLBARS | |
29 | |
28 #include "specifier.h" | 30 #include "specifier.h" |
29 | |
30 #ifdef HAVE_TOOLBARS | |
31 | 31 |
32 #define FRAME_TOOLBAR_BUTTONS(frame, pos) \ | 32 #define FRAME_TOOLBAR_BUTTONS(frame, pos) \ |
33 ((frame)->toolbar_buttons[pos]) | 33 ((frame)->toolbar_buttons[pos]) |
34 #define FRAME_CURRENT_TOOLBAR_SIZE(frame, pos) \ | 34 #define FRAME_CURRENT_TOOLBAR_SIZE(frame, pos) \ |
35 ((frame)->current_toolbar_size[pos]) | 35 ((frame)->current_toolbar_size[pos]) |
63 int x, y; | 63 int x, y; |
64 int width, height; | 64 int width, height; |
65 int dirty; | 65 int dirty; |
66 /* is this button in a left or right toolbar? */ | 66 /* is this button in a left or right toolbar? */ |
67 int vertical; | 67 int vertical; |
68 /* border_width when this button was layed out */ | 68 /* border_width when this button was laid out */ |
69 int border_width; | 69 int border_width; |
70 }; | 70 }; |
71 | 71 |
72 DECLARE_LRECORD (toolbar_button, struct toolbar_button); | 72 DECLARE_LRECORD (toolbar_button, struct toolbar_button); |
73 #define XTOOLBAR_BUTTON(x) XRECORD (x, toolbar_button, struct toolbar_button) | 73 #define XTOOLBAR_BUTTON(x) XRECORD (x, toolbar_button, struct toolbar_button) |