|
Cavestory Mod API
|
Configuration for MessageBoxMode. More...
#include <CSMAPI_MessageBoxMode.h>
Public Member Functions | |
| MessageBoxConfigStruct () | |
| Default constructor. | |
Public Attributes | |
| const char * | title |
| The title of the message box. | |
| const char * | text |
| The text to display. | |
| bool | busy_func_before_draw |
| If set to true, then the busy function will be called BEFORE the messagebox's draw function, instead of AFTER. | |
| bool | draw_grab_on_exit |
| Perform a BaseModeInstance::GrabScreen() on messagebox exit. | |
| int | text_margin |
| The margin of the text. | |
| int | title_margin |
| The title margin. | |
| int | btn_margin |
| The button text margin. | |
| int | line_padding |
| Line padding. | |
| struct { | |
| bool enabled | |
| Enable the input box. | |
| char value [1024] | |
| The value the input box has. More... | |
| int min_width | |
| The minimum width of the input box. | |
| } | input_box |
| Input box configuration. | |
Configuration for MessageBoxMode.
| char MessageBoxMode::MessageBoxConfigStruct::value[1024] |
The value the input box has.
Set this before running this mode to set the default value. This will be updated after the mode completes with the inputted value.