|
Cavestory Mod API
|
ModeInputVector's input object. More...
#include <ModeInputVector.h>
Public Types | |
| enum | OptionFlags { AUTO_EXPAND_WIDTH = BIT(0) , AUTO_EXPAND_HEIGHT = BIT(1) , START_FROM_RIGHT = BIT(2) , START_FROM_BOTTOM = BIT(3) , START_ON_NEW_LINE = BIT(4) , AUTOMATION_FLAGS = AUTO_EXPAND_WIDTH | AUTO_EXPAND_HEIGHT } |
| Flags for ModeInputVector options. More... | |
Public Attributes | |
| ModeInputIndex | index |
| The local index of this option. | |
| unsigned int | flags |
| Flags for this option. | |
| ModeInputSelectionId | selection_id |
| The ID that will be returned when this option is selected / clicked on. | |
| struct { | |
| bool use | |
| Whether this option can be built into the array or not. More... | |
| ModeInputOptionCoord x | |
| X Position. | |
| ModeInputOptionCoord y | |
| Y Position. | |
| ModeInputOptionCoord w | |
| Width. | |
| ModeInputOptionCoord h | |
| Height. | |
| } | input_rect |
| The input vector position of this option. | |
| struct { | |
| ModeInputOptionCoord x | |
| X Position. | |
| ModeInputOptionCoord y | |
| Y Position. | |
| ModeInputOptionCoord w | |
| Width. | |
| ModeInputOptionCoord h | |
| Height. | |
| } | calculated_input_rect |
| The calculated input vector rect for this option. | |
| struct { | |
| bool use | |
| Whether to use this clip rect or not. | |
| GUI_RECT rect | |
| The rect to use. | |
| } | clip |
| The clip rect that should be accessed before this option can be processed. | |
| struct { | |
| bool enabled | |
| Whether this tooltip is enabled or not. | |
| char * text | |
| The tooltip text to use. | |
| } | tooltip |
| The tooltip for this option. | |
| ModeInputOptionConfig | config |
| The configuration for this option. | |
| ScrollAreaInfo * | scroll_ptr |
| A pointer to the scroll this option is inside of. | |
| GUI_RECT * | rect_ptr |
| A pointer to this input option's on-screen rect. | |
| GuiBase * | gui_ptr |
| This option's GUI element. More... | |
| GUI_RECT | rect_plain |
| This option's rect. More... | |
ModeInputVector's input object.
Flags for ModeInputVector options.
| GuiBase* ModeInputOption::gui_ptr |
This option's GUI element.
Can be NULL.
| GUI_RECT ModeInputOption::rect_plain |
This option's rect.
Only use this if both rect_ptr and gui_ptr are NULL.
| bool ModeInputOption::use |
Whether this option can be built into the array or not.
Whether to use this clip rect or not.
If set to false, then this option cannot be reached using a controller / the keyboard.