neoGFX
Cross-platform C++ app/game engine
|
#include <style.hpp>
Public Member Functions | |
define_declared_event(Changed, changed, style_aspect) public | style (std::string const &aName, const i_style &aOther) |
style (const i_style &aOther) | |
style (const style &aOther) | |
virtual | ~style () |
style & | operator= (const i_style &aOther) |
bool | operator== (const i_style &aOther) const |
bool | operator!= (const i_style &aOther) const |
std::string const & | name () const final |
const margin_list & | all_margin () const final |
const neogfx::margin & | margin (margin_role aMarginRole) const final |
void | set_margin (margin_role aMarginRole, const neogfx::margin &aMargin) final |
const border_list & | all_border () const final |
const neogfx::border & | border (border_role aBorderRole) const final |
void | set_border (border_role aBorderRole, const neogfx::border &aBorder) final |
const padding_list & | all_padding () const final |
const neogfx::padding & | padding (padding_role aPaddingRole) const final |
void | set_padding (padding_role aPaddingRole, const neogfx::padding &aPadding) final |
const size & | spacing () const final |
void | set_spacing (const size &aSpacing) final |
const i_palette & | palette () const final |
i_palette & | palette () final |
void | set_palette (const i_palette &aPalette) final |
void | set_palette_color (color_role aRole, const optional_color &aColor) final |
bool | font_available (font_role aRole) const final |
const neogfx::font_info & | font_info (font_role aRole) const final |
const i_optional< neogfx::font_info > & | maybe_font_info (font_role aRole) const final |
void | set_font_info (font_role aRole, const neogfx::font_info &aFontInfo) final |
const neogfx::font & | font (font_role aRole) const final |
Public Member Functions inherited from neogfx::i_style | |
virtual | ~i_style ()=default |
const neogfx::font_info & | font_info () const |
void | set_font_info (const neogfx::font_info &aFontInfo) |
const neogfx::font & | font () const |
Additional Inherited Members | |
Public Types inherited from neogfx::i_style | |
typedef std::array< neogfx::padding, static_cast< std::size_t >(padding_role::COUNT)> | padding_list |
Public Attributes inherited from neogfx::i_style | |
declare_event(changed, style_aspect) public typedef std::array< neogfx::border, static_cast< std::size_t >(border_role::COUNT)> | border_list |
define_declared_event(Changed, changed, style_aspect) public neogfx::style::style | ( | std::string const & | aName, |
const i_style & | aOther | ||
) |
neogfx::style::style | ( | const i_style & | aOther | ) |
neogfx::style::style | ( | const style & | aOther | ) |
|
virtual |
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
bool neogfx::style::operator!= | ( | const i_style & | aOther | ) | const |
bool neogfx::style::operator== | ( | const i_style & | aOther | ) | const |
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.
|
finalvirtual |
Implements neogfx::i_style.