Added closed state flag to bntextbox
This commit is contained in:
@ -13,6 +13,8 @@
|
||||
/** Amount of characters scrolled, per second */
|
||||
#define VN_TEXTBOX_SCROLL_SPEED 60
|
||||
|
||||
#define VN_BOX_STATE_CLOSED 0x01
|
||||
|
||||
typedef struct {
|
||||
/** Stores the maximum width that this textbox can take up */
|
||||
float widthMax;
|
||||
@ -20,6 +22,9 @@ typedef struct {
|
||||
/** Font that the text box uses */
|
||||
font_t *font;
|
||||
|
||||
/** Box State Flags */
|
||||
uint8_t state;
|
||||
|
||||
/** How many rows of text at most can be displayed in a single text box */
|
||||
int32_t linesMax;
|
||||
int32_t lineCurrent;
|
||||
|
Reference in New Issue
Block a user