ARB
|
Go to the source code of this file.
Macros | |
#define | MT_MODE(modeName) modeName " MODE" |
#define | MT_LEFT(leftInfo) " LEFT: " leftInfo |
#define | MT_RIGHT(rightInfo) " RIGHT: " rightInfo |
#define | MT_MIDDLE(middleInfo) " MIDDLE: " middleInfo |
#define | MT_KEYS(keyInfo) " (" keyInfo ")" |
#define | KEYINFO_ABORT "ESC=abort" |
#define | KEYINFO_RESET "0=reset" |
#define | KEYINFO_ABORT_AND_RESET KEYINFO_ABORT " " KEYINFO_RESET |
#define | MODE_TEXT_1BUTTON(modeName, leftInfo) MT_MODE(modeName) MT_LEFT(leftInfo) |
#define | MODE_TEXT_2BUTTONS(modeName, leftInfo, rightInfo) MT_MODE(modeName) MT_LEFT(leftInfo) MT_RIGHT(rightInfo) |
#define | MODE_TEXT_3BUTTONS(modeName, leftInfo, middleInfo, rightInfo) MT_MODE(modeName) MT_LEFT(leftInfo) MT_MIDDLE(middleInfo) MT_RIGHT(rightInfo) |
#define | MODE_TEXT_1BUTTON_KEYS(modeName, leftInfo, keyInfo) MT_MODE(modeName) MT_LEFT(leftInfo) MT_KEYS(keyInfo) |
#define | MODE_TEXT_2BUTTONS_KEYS(modeName, leftInfo, rightInfo, keyInfo) MT_MODE(modeName) MT_LEFT(leftInfo) MT_RIGHT(rightInfo) MT_KEYS(keyInfo) |
#define | MODE_TEXT_3BUTTONS_KEYS(modeName, leftInfo, middleInfo, rightInfo, keyInfo) MT_MODE(modeName) MT_LEFT(leftInfo) MT_MIDDLE(middleInfo) MT_RIGHT(rightInfo) MT_KEYS(keyInfo) |
#define | MODE_TEXT_STANDARD_ZOOMMODE() MODE_TEXT_2BUTTONS_KEYS("ZOOM", "zoom in", "zoom out (click or drag)", KEYINFO_RESET) |
#define | MODE_TEXT_PLACEHOLDER() MT_MODE("PLACEHOLDER") " (reserved)" |
Functions | |
const char * | no_mode_text_defined () |
#define MT_MODE | ( | modeName | ) | modeName " MODE" |
Definition at line 16 of file mode_text.h.
#define MT_LEFT | ( | leftInfo | ) | " LEFT: " leftInfo |
Definition at line 18 of file mode_text.h.
#define MT_RIGHT | ( | rightInfo | ) | " RIGHT: " rightInfo |
Definition at line 19 of file mode_text.h.
#define MT_MIDDLE | ( | middleInfo | ) | " MIDDLE: " middleInfo |
Definition at line 20 of file mode_text.h.
#define MT_KEYS | ( | keyInfo | ) | " (" keyInfo ")" |
Definition at line 21 of file mode_text.h.
#define KEYINFO_ABORT "ESC=abort" |
Definition at line 23 of file mode_text.h.
Referenced by nt_mode_event().
#define KEYINFO_RESET "0=reset" |
Definition at line 24 of file mode_text.h.
Referenced by nt_mode_event().
#define KEYINFO_ABORT_AND_RESET KEYINFO_ABORT " " KEYINFO_RESET |
Definition at line 25 of file mode_text.h.
Referenced by nt_mode_event().
Definition at line 27 of file mode_text.h.
Referenced by GEN_mode_event(), nt_mode_event(), and sec_mode_event().
#define MODE_TEXT_2BUTTONS | ( | modeName, | |
leftInfo, | |||
rightInfo | |||
) | MT_MODE(modeName) MT_LEFT(leftInfo) MT_RIGHT(rightInfo) |
Definition at line 28 of file mode_text.h.
Referenced by nt_mode_event(), and sec_mode_event().
#define MODE_TEXT_3BUTTONS | ( | modeName, | |
leftInfo, | |||
middleInfo, | |||
rightInfo | |||
) | MT_MODE(modeName) MT_LEFT(leftInfo) MT_MIDDLE(middleInfo) MT_RIGHT(rightInfo) |
Definition at line 29 of file mode_text.h.
#define MODE_TEXT_1BUTTON_KEYS | ( | modeName, | |
leftInfo, | |||
keyInfo | |||
) | MT_MODE(modeName) MT_LEFT(leftInfo) MT_KEYS(keyInfo) |
Definition at line 31 of file mode_text.h.
Referenced by nt_mode_event().
#define MODE_TEXT_2BUTTONS_KEYS | ( | modeName, | |
leftInfo, | |||
rightInfo, | |||
keyInfo | |||
) | MT_MODE(modeName) MT_LEFT(leftInfo) MT_RIGHT(rightInfo) MT_KEYS(keyInfo) |
Definition at line 32 of file mode_text.h.
Referenced by nt_mode_event().
#define MODE_TEXT_3BUTTONS_KEYS | ( | modeName, | |
leftInfo, | |||
middleInfo, | |||
rightInfo, | |||
keyInfo | |||
) | MT_MODE(modeName) MT_LEFT(leftInfo) MT_MIDDLE(middleInfo) MT_RIGHT(rightInfo) MT_KEYS(keyInfo) |
Definition at line 33 of file mode_text.h.
#define MODE_TEXT_STANDARD_ZOOMMODE | ( | ) | MODE_TEXT_2BUTTONS_KEYS("ZOOM", "zoom in", "zoom out (click or drag)", KEYINFO_RESET) |
Definition at line 35 of file mode_text.h.
Referenced by GEN_mode_event(), nt_mode_event(), and sec_mode_event().
#define MODE_TEXT_PLACEHOLDER | ( | ) | MT_MODE("PLACEHOLDER") " (reserved)" |
Definition at line 36 of file mode_text.h.
Referenced by nt_mode_event().
|
inline |
Definition at line 38 of file mode_text.h.
References arb_assert.
Referenced by GEN_mode_event(), nt_mode_event(), and sec_mode_event().