neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::skin Class Reference

#include <skin.hpp>

Inheritance diagram for neogfx::skin:
neogfx::i_skin

Public Member Functions

 skin (const std::string aName)
 
 skin (const std::string aName, i_skin &aFallback)
 
std::string const & name () const override
 
bool has_fallback () const override
 
i_skinfallback () override
 
void activate () override
 
void deactivate () override
 
- Public Member Functions inherited from neogfx::i_skin
virtual ~i_skin ()=default
 
virtual size preferred_size (skin_element aElement, optional_size const &aDesiredSize={}) const =0
 
virtual void draw_scrollbar (i_graphics_context &aGc, const i_skinnable_item &aItem, const i_scrollbar &aScrollbar) const =0
 
virtual void draw_check_box (i_graphics_context &aGc, const i_skinnable_item &aItem, const button_checked_state &aCheckedState) const =0
 
virtual void draw_radio_button (i_graphics_context &aGc, const i_skinnable_item &aItem, const button_checked_state &aCheckedState) const =0
 
virtual void draw_tree_expander (i_graphics_context &aGc, const i_skinnable_item &aItem, bool aExpandedState) const =0
 
virtual void draw_progress_bar (i_graphics_context &aGc, const i_skinnable_item &aItem, const i_progress_bar &aProgressBar) const =0
 
virtual void draw_separators (i_graphics_context &aGc, const i_skinnable_item &aItem, const i_layout &aLayout) const =0
 

Detailed Description

Definition at line 29 of file skin.hpp.

Constructor & Destructor Documentation

◆ skin() [1/2]

neogfx::skin::skin ( const std::string  aName)

◆ skin() [2/2]

neogfx::skin::skin ( const std::string  aName,
i_skin aFallback 
)

Member Function Documentation

◆ activate()

void neogfx::skin::activate ( )
overridevirtual

Implements neogfx::i_skin.

◆ deactivate()

void neogfx::skin::deactivate ( )
overridevirtual

Implements neogfx::i_skin.

◆ fallback()

i_skin & neogfx::skin::fallback ( )
overridevirtual

Implements neogfx::i_skin.

◆ has_fallback()

bool neogfx::skin::has_fallback ( ) const
overridevirtual

Implements neogfx::i_skin.

◆ name()

std::string const & neogfx::skin::name ( ) const
overridevirtual

Implements neogfx::i_skin.


The documentation for this class was generated from the following file: