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

#include <i_skin.hpp>

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

Classes

struct  no_fallback
 

Public Member Functions

virtual ~i_skin ()=default
 
virtual std::string const & name () const =0
 
virtual bool has_fallback () const =0
 
virtual i_skinfallback ()=0
 
virtual void activate ()=0
 
virtual void deactivate ()=0
 
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 32 of file i_skin.hpp.

Constructor & Destructor Documentation

◆ ~i_skin()

virtual neogfx::i_skin::~i_skin ( )
virtualdefault

Member Function Documentation

◆ activate()

virtual void neogfx::i_skin::activate ( )
pure virtual

Implemented in neogfx::default_skin, and neogfx::skin.

◆ deactivate()

virtual void neogfx::i_skin::deactivate ( )
pure virtual

Implemented in neogfx::default_skin, and neogfx::skin.

◆ draw_check_box()

virtual void neogfx::i_skin::draw_check_box ( i_graphics_context aGc,
const i_skinnable_item aItem,
const button_checked_state &  aCheckedState 
) const
pure virtual

Implemented in neogfx::default_skin.

◆ draw_progress_bar()

virtual void neogfx::i_skin::draw_progress_bar ( i_graphics_context aGc,
const i_skinnable_item aItem,
const i_progress_bar aProgressBar 
) const
pure virtual

Implemented in neogfx::default_skin.

◆ draw_radio_button()

virtual void neogfx::i_skin::draw_radio_button ( i_graphics_context aGc,
const i_skinnable_item aItem,
const button_checked_state &  aCheckedState 
) const
pure virtual

Implemented in neogfx::default_skin.

◆ draw_scrollbar()

virtual void neogfx::i_skin::draw_scrollbar ( i_graphics_context aGc,
const i_skinnable_item aItem,
const i_scrollbar aScrollbar 
) const
pure virtual

Implemented in neogfx::default_skin.

◆ draw_separators()

virtual void neogfx::i_skin::draw_separators ( i_graphics_context aGc,
const i_skinnable_item aItem,
const i_layout aLayout 
) const
pure virtual

Implemented in neogfx::default_skin.

◆ draw_tree_expander()

virtual void neogfx::i_skin::draw_tree_expander ( i_graphics_context aGc,
const i_skinnable_item aItem,
bool  aExpandedState 
) const
pure virtual

Implemented in neogfx::default_skin.

◆ fallback()

virtual i_skin & neogfx::i_skin::fallback ( )
pure virtual

Implemented in neogfx::default_skin, and neogfx::skin.

◆ has_fallback()

virtual bool neogfx::i_skin::has_fallback ( ) const
pure virtual

Implemented in neogfx::default_skin, and neogfx::skin.

◆ name()

virtual std::string const & neogfx::i_skin::name ( ) const
pure virtual

Implemented in neogfx::default_skin, and neogfx::skin.

◆ preferred_size()

virtual size neogfx::i_skin::preferred_size ( skin_element  aElement,
optional_size const &  aDesiredSize = {} 
) const
pure virtual

Implemented in neogfx::default_skin.


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