|
| text (surface_size size=surface_size(), symbol_string txt="") |
|
void | setText (const symbol_string &txt) |
|
symbol_string | getText () const |
|
unsigned int | getNumberOfLines () const |
|
void | goToLine (unsigned int line) |
|
unsigned int | getLine () const |
|
void | up () |
|
void | down () |
|
void | pageUp () |
|
void | pageDown () |
|
void | useControlCharacters (bool use) |
|
bool | isUsingControlCharacters () const |
|
void | useWordBreaking (bool use) |
|
bool | isUsingWordBreaking () |
|
void | displayScroll (bool display) |
|
bool | isDisplayingScroll () const |
|
bool | isDisplayingScrollNow () const |
|
void | resizeToText (unsigned int max_width=0) |
|
void | update () |
|
| 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 () |
|
| text_appearance (text_appearance_a active, text_appearance_a inactive) |
|
void | setColor (color Color) override |
|
void | setAppearance (text_appearance appearance) |
|
text_appearance | getAppearance () const |
|
void | setActiveAppearance (text_appearance_a active) |
|
text_appearance_a | getActiveAppearance () const |
|
void | setInactiveAppearance (text_appearance_a inactive) |
|
text_appearance_a | getInactiveAppearance () const |
|
void | activate () |
|
void | deactivate () |
|
bool | isActive () const |
|