#include <textbox.h>
|
static constexpr auto | DEFAULT_SPEED = std::chrono::milliseconds(50) |
|
◆ Flag
Enumerator |
---|
UPDATED | |
SCREEN_UPDATED | |
MONOSPACED | |
◆ clear_updated()
void nngn::Textbox::clear_updated |
( |
void | | ) |
|
|
inline |
◆ empty()
bool nngn::Textbox::empty |
( |
void | | ) |
const |
|
inline |
◆ finished()
bool nngn::Textbox::finished |
( |
void | | ) |
const |
|
inline |
◆ init()
◆ is_character() [1/2]
bool nngn::Textbox::is_character |
( |
char | c | ) |
|
|
inlinestatic |
◆ is_character() [2/2]
bool nngn::Textbox::is_character |
( |
unsigned char | c | ) |
|
|
inlinestatic |
◆ is_command() [1/2]
bool nngn::Textbox::is_command |
( |
char | c | ) |
|
|
inlinestatic |
◆ is_command() [2/2]
bool nngn::Textbox::is_command |
( |
unsigned char | c | ) |
|
|
inlinestatic |
◆ monospaced()
bool nngn::Textbox::monospaced |
( |
void | | ) |
const |
|
inline |
◆ set_cur()
void nngn::Textbox::set_cur |
( |
std::size_t | cur | ) |
|
◆ set_monospaced()
void nngn::Textbox::set_monospaced |
( |
bool | m | ) |
|
|
inline |
◆ set_screen_updated()
void nngn::Textbox::set_screen_updated |
( |
void | | ) |
|
|
inline |
◆ set_speed()
void nngn::Textbox::set_speed |
( |
unsigned | s | ) |
|
|
inline |
◆ set_text()
void nngn::Textbox::set_text |
( |
const char * | s | ) |
|
◆ set_title()
void nngn::Textbox::set_title |
( |
const char * | s | ) |
|
◆ text_length()
std::size_t nngn::Textbox::text_length |
( |
void | | ) |
const |
◆ update()
◆ update_size() [1/2]
void nngn::Textbox::update_size |
( |
const uvec2 & | screen | ) |
|
◆ update_size() [2/2]
void nngn::Textbox::update_size |
( |
void | | ) |
|
◆ updated()
bool nngn::Textbox::updated |
( |
void | | ) |
const |
|
inline |
◆ DEFAULT_SPEED
auto nngn::Textbox::DEFAULT_SPEED = std::chrono::milliseconds(50) |
|
staticconstexpr |
◆ flags
◆ fonts
◆ speed
◆ str
Text nngn::Textbox::str = {} |
◆ str_bl
vec2 nngn::Textbox::str_bl = {0, 0} |
◆ str_tr
vec2 nngn::Textbox::str_tr = {0, 0} |
◆ timer
std::chrono::microseconds nngn::Textbox::timer = {} |
◆ title
Text nngn::Textbox::title = {} |
◆ title_bl
vec2 nngn::Textbox::title_bl = {0, 0} |
◆ title_tr
vec2 nngn::Textbox::title_tr = {0, 0} |
The documentation for this class was generated from the following files: