|
virtual void | draw (void) override |
|
virtual void | setMessage (std::string message) |
|
virtual void | setConfirm (std::string name, call_t call) |
|
virtual void | setCancel (std::string name, bool cancelable) |
|
virtual std::string | getInput (void) |
|
virtual call_t | keypress (int &key) override |
|
virtual void | setTitle (std::string title) |
|
virtual void | repaint (void) |
|
|
size_t | selection = 1 |
|
std::string | input |
|
std::string | message = "Input" |
|
std::string | label_confirm = "[ OK ]" |
|
std::string | sep = " " |
|
std::string | label_cancel = "[ Cancel ]" |
|
call_t | call_confirm = nullptr |
|
bool | cancelable = true |
|
int | button_offset_x = 0 |
|
int | button_offset_y = 0 |
|
int | width |
|
int | height |
|
int | start_x = 0 |
|
int | start_y = 0 |
|
std::string | title |
|
std::vector< call_t > | calls |
|
|
constexpr static int | text_offset_x = 2 |
|
constexpr static int | text_offset_y = 2 |
|
static WINDOW * | win = nullptr |
|
constexpr static int | KEY_ENT = 10 |
|
|
static void | setWinContext (WINDOW *win) |
|
static WINDOW * | getWinContext (void) |
|
static std::vector< std::string > | str_split (const std::string &str, const std::string delim) |
|
Definition at line 8 of file view_promt.h.
The documentation for this class was generated from the following files: