9#ifndef MAXOS_GUI_WIDGETS_INPUTBOX_H
10#define MAXOS_GUI_WIDGETS_INPUTBOX_H
17namespace MaxOS::gui::widgets {
65 InputBox(int32_t left, int32_t top, uint32_t width, uint32_t height);
66 InputBox(int32_t left, int32_t top, uint32_t width, uint32_t height,
const string&
text);
Stores the red, green, blue and alpha values of a colour. Can be parsed from a hex string,...
Manages the m_handlers for a type of event, raises events and calls the m_handlers.
Used to store information about an event, has a type and a return value.
Draws pixels to the screen, and handles drawing lines, rectangles and circles.
Stores the left, top, width and height of a rectangle.
Holds the state of the keyboard.
A class that can be used to draw text.
Event that is triggered when the text in an input box is changed.
string new_text
The new text in the input box.
Defines a Font class for drawing text onto a graphics context.
KeyCode
A mapping of key codes to their values.
Defines a String class for dynamically sized strings with various operations.