Button
[Components]
Compounds | |
class | csButton |
The Button class implements different types of push buttons. More... | |
Button style flags | |
#define | CSBS_SHIFT 0x00000001 |
does bitmap and/or text shift when button is pressed? | |
#define | CSBS_DEFAULT 0x00000002 |
Is this the default button? | |
#define | CSBS_NODEFAULTBORDER 0x00000004 |
Never draw a "default button" border. | |
#define | CSBS_SELECTABLE 0x00000008 |
Is this button selectable? | |
#define | CSBS_NOMOUSEFOCUS 0x00000010 |
Do not focus button when clicked by mouse. | |
#define | CSBS_NOKEYBOARDFOCUS 0x00000020 |
Do not focus button when activated with keyboard. | |
#define | CSBS_MULTICHOOSE 0x00000040 |
Button is a multi-choose button. | |
#define | CSBS_DISMISS 0x00000080 |
Dismiss parent dialog when this button is pressed. | |
#define | CSBS_TEXTPLACEMENT 0x00030000 |
Text placement relative to bitmap: value mask. | |
#define | CSBS_TEXTABOVE 0x00000000 |
Draw text above bitmap. | |
#define | CSBS_TEXTBELOW 0x00010000 |
Draw text below the bitmap. | |
#define | CSBS_TEXTONTOP 0x00020000 |
Draw text on top of the bitmap (bitmap as background). | |
#define | CSBS_DEFAULTVALUE (CSBS_SHIFT | CSBS_SELECTABLE | CSBS_TEXTBELOW) |
Default button styles. | |
Enumerations | |
enum | { cscmdButtonDown = 0x00000500, cscmdButtonUp, cscmdButtonRightClick, cscmdButtonDeselect } |
Button messages. More... | |
enum | csButtonFrameStyle { csbfsNone, csbfsOblique, csbfsThickRect, csbfsThinRect, csbfsVeryThinRect, csbfsTextured, csbfsBitmap } |
Possible button frame styles. More... |
Define Documentation
|
Is this the default button?
Definition at line 40 of file csbutton.h. |
|
Default button styles.
Definition at line 68 of file csbutton.h. |
|
Dismiss parent dialog when this button is pressed.
Definition at line 57 of file csbutton.h. |
|
Button is a multi-choose button.
A multi-choose button sends a cscmdButtonDeselect to all its neightbours until a group bound is encountered. This is used for panels of buttons of which only one can be selected (and pressed) at one time. Definition at line 55 of file csbutton.h. |
|
Never draw a "default button" border.
Definition at line 42 of file csbutton.h. |
|
Do not focus button when activated with keyboard.
Definition at line 48 of file csbutton.h. |
|
Do not focus button when clicked by mouse.
Definition at line 46 of file csbutton.h. |
|
Is this button selectable?
Definition at line 44 of file csbutton.h. |
|
does bitmap and/or text shift when button is pressed?
Definition at line 38 of file csbutton.h. |
|
Draw text above bitmap.
Definition at line 61 of file csbutton.h. |
|
Draw text below the bitmap.
Definition at line 63 of file csbutton.h. |
|
Draw text on top of the bitmap (bitmap as background).
Definition at line 65 of file csbutton.h. |
|
Text placement relative to bitmap: value mask.
Definition at line 59 of file csbutton.h. |
Enumeration Type Documentation
|
Button messages.
Definition at line 74 of file csbutton.h. |
|
Possible button frame styles.
Definition at line 115 of file csbutton.h. Referenced by csButton::GetFrameStyle(). |
Generated for Crystal Space by doxygen 1.2.18