|
| button (const symbol_string &text) |
|
| button (const symbol_string &selected, const symbol_string &deselected) |
|
| button (surface1D_size size, const symbol_string &text) |
|
| button (surface1D_size size, const symbol_string &selected, const symbol_string &deselected) |
|
void | setType (BUTTON_TYPE type) |
|
BUTTON_TYPE | getType () |
|
bool | isSelected () const |
|
void | setSelectedText (const symbol_string &text) |
|
symbol_string | getSelectedText () |
|
void | setDeselectedText (const symbol_string &text) |
|
symbol_string | getDeselectedText () |
|
void | setText (const symbol_string &text) |
|
void | resizeToText () |
|
void | setSelectFunction (std::function< void()> func) |
|
void | setDeselectFunction (std::function< void()> func) |
|
void | update () |
|
| surface1D (surface1D_size size={ 1, 0 }) |
|
void | setSizeInfo (surface1D_size size) |
|
int | getSize () const |
|
void | setSymbolAt (const symbol &character, int position) |
|
symbol | getSymbolAt (int position) const |
|
symbol & | operator[] (size_t i) |
|
const symbol & | operator[] (size_t i) const |
|
surface1D_size | getSizeInfo () const |
|
| surface (surface_size size={{ 1, 1 }, { 0, 0 }}) |
|
| surface (const symbol_string &str) |
|
surface & | operator= (const symbol_string &str) |
|
array_proxy< surface > | operator[] (size_t x) |
|
const array_proxy< const surface > | operator[] (size_t x) const |
|
bool | isResized () const |
|
void | setSymbolAt (const symbol &character, vec2i position) |
|
symbol | getSymbolAt (vec2i position) const |
|
void | move (vec2i offset) |
|
void | setPositionInfo (surface_position pos) |
|
surface_position | getPositionInfo () const |
|
vec2i | getPosition () const |
|
vec2i | getGlobalPosition () const |
|
void | setAnchor (surface *surf) |
|
surface * | getAnchor () const |
|
void | setAnchorPositionInfo (anchor_position anchor_pos) |
|
anchor_position | getAnchorPositionInfo () const |
|
void | setSizeInfo (surface_size size, bool update_fixed=true) |
|
surface_size | getSizeInfo () const |
|
vec2i | getSize () const |
|
void | setSizeFunction (std::function< vec2i()> f_size) |
|
std::function< vec2i()> | getSizeFunction () |
|
void | setPositionFunction (std::function< vec2i()> f_position) |
|
std::function< vec2i()> | getPositionFunction () |
|
void | updateSurfaceSize (surface &surf) const |
|
void | updateSurfacePosition (surface &surf) const |
|
void | insertSurface (surface &surf, bool update=true) |
|
void | insertSurface (surface &surf, color_override c_override, bool update=true) |
|
void | insertSurface (surface &surf, color_transparency_override c_t_override, bool update=true) |
|
void | insertSurface (surface &surf, color_override c_override, color_transparency_override c_t_override, bool update=true) |
|
void | fill (const symbol &Symbol) |
|
void | makeTransparent () |
|
void | makeBlank () |
|
void | fillColorTransparency (COLOR_TRANSPARENCY c_t) |
|
void | fillColor (color c) |
|
void | setClearSymbol (const symbol &sym) |
|
symbol | getClearSymbol () const |
|
void | invert () |
|
| button_appearance (button_appearance_a active, button_appearance_a inactive) |
|
void | setColor (color Color) override |
|
void | setAppearance (button_appearance appearance) |
|
button_appearance | getAppearance () const |
|
void | setActiveAppearance (button_appearance_a active) |
|
button_appearance_a | getActiveAppearance () const |
|
void | setInactiveAppearance (button_appearance_a inactive) |
|
button_appearance_a | getInactiveAppearance () const |
|
void | activate () |
|
void | deactivate () |
|
bool | isActive () const |
|