#include <model-views.h>
Public Member Functions | |
std::string | get_icon () |
std::string | get_tooltip () |
bool | is_pressed () |
press_button_model (const char *icon_default, const char *icon_pressed, std::string tooltip_default, std::string tooltip_pressed, bool init_pressed) | |
void | set_button_pressed (bool p) |
void | toggle_button () |
Private Types | |
enum | button_state { unpressed, pressed } |
Private Attributes | |
std::string | icon [2] |
bool | state_pressed = false |
std::string | tooltip [2] |
Definition at line 454 of file model-views.h.
|
private |
Enumerator | |
---|---|
unpressed | |
pressed |
Definition at line 474 of file model-views.h.
|
inline |
Definition at line 457 of file model-views.h.
|
inline |
Definition at line 471 of file model-views.h.
|
inline |
Definition at line 470 of file model-views.h.
|
inline |
Definition at line 469 of file model-views.h.
|
inline |
Definition at line 468 of file model-views.h.
|
inline |
Definition at line 467 of file model-views.h.
|
private |
Definition at line 482 of file model-views.h.
|
private |
Definition at line 480 of file model-views.h.
|
private |
Definition at line 481 of file model-views.h.