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 IconNodeicon
 Icon used in the button.
const char * text
 Text used in the button.

Detailed Description

Data used for drawing a button.

Definition at line 33 of file button.h.


Field Documentation

Alignment of the button content.

Definition at line 39 of file button.h.

The place to put the button.

Definition at line 36 of file button.h.

The font for button text.

Definition at line 38 of file button.h.

Graphics context used for drawing.

Definition at line 37 of file button.h.

The size of the button.

Definition at line 42 of file button.h.

Icon used in the button.

Definition at line 44 of file button.h.

const char* ButtonNode::text

Text used in the button.

Definition at line 45 of file button.h.

The type of button to draw.

Definition at line 35 of file button.h.

Definition at line 42 of file button.h.

Definition at line 41 of file button.h.

The coordinates to render the button.

Definition at line 41 of file button.h.


The documentation for this struct was generated from the following file: