JWM Source Documentation
ButtonNode Struct Reference
Data used for drawing a button. More...
#include <button.h>
Data Fields | |
| ButtonType | type |
| The type of button to draw. | |
| Drawable | drawable |
| The place to put the button. | |
| GC | gc |
| Graphics context used for drawing. | |
| FontType | font |
| The font for button text. | |
| AlignmentType | alignment |
| Alignment of the button content. | |
| int | x |
| int | y |
| The coordinates to render the button. | |
| int | width |
| int | height |
| The size of the button. | |
| struct IconNode * | icon |
| Icon used in the button. | |
| const char * | text |
| Text used in the button. | |
Detailed Description
Field Documentation
| Drawable ButtonNode::drawable |
| struct IconNode* ButtonNode::icon |
| const char* ButtonNode::text |
| int ButtonNode::x |
| int ButtonNode::y |
The documentation for this struct was generated from the following file: