GrafX2 2.9.3227
The ultimate 256-color painting program
|
A normal rectangular button in windows and menus. More...
#include <struct.h>
Data Fields | |
short | Number |
Unique identifier for all controls. More... | |
word | Pos_X |
Coordinate for top of button, relative to the window, before scaling. More... | |
word | Pos_Y |
Coordinate for left of button, relative to the window, before scaling. More... | |
word | Width |
Width before scaling. More... | |
word | Height |
Height before scaling. More... | |
byte | Clickable |
Boolean, unused. More... | |
byte | Repeatable |
Boolean, true if the button activates repeatedly until you release the mouse button. Used for "+" buttons, for example. More... | |
word | Shortcut |
Keyboard shortcut that will emulate a click on this button. More... | |
struct T_Normal_button * | Next |
Pointer to the next normal button of current window. More... | |
A normal rectangular button in windows and menus.
short T_Normal_button::Number |
Unique identifier for all controls.
Referenced by Window_get_button_shortcut(), Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().
word T_Normal_button::Pos_X |
Coordinate for top of button, relative to the window, before scaling.
Referenced by Button_Sieve_menu(), Window_get_button_shortcut(), Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().
word T_Normal_button::Pos_Y |
Coordinate for left of button, relative to the window, before scaling.
Referenced by Button_Sieve_menu(), Window_get_button_shortcut(), Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().
word T_Normal_button::Width |
Width before scaling.
Referenced by Window_get_button_shortcut(), Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().
word T_Normal_button::Height |
Height before scaling.
Referenced by Window_get_button_shortcut(), Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().
byte T_Normal_button::Clickable |
Boolean, unused.
Referenced by Window_set_normal_button().
byte T_Normal_button::Repeatable |
Boolean, true if the button activates repeatedly until you release the mouse button. Used for "+" buttons, for example.
Referenced by Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().
word T_Normal_button::Shortcut |
Keyboard shortcut that will emulate a click on this button.
Referenced by Window_get_button_shortcut(), Window_set_normal_button(), and Window_set_repeatable_button().
struct T_Normal_button* T_Normal_button::Next |
Pointer to the next normal button of current window.
Referenced by Window_get_button_shortcut(), Window_get_clicked_button(), Window_set_normal_button(), and Window_set_repeatable_button().