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

#include <i_palette.hpp>

Inheritance diagram for neogfx::i_palette:
neogfx::palette

Public Member Functions

virtual ~i_palette ()=default
 
virtual bool operator== (const i_palette &aOther) const =0
 
virtual bool operator!= (const i_palette &aOther) const =0
 
virtual bool has_color (color_role aRole) const =0
 
virtual neogfx::color color (color_role aRole) const =0
 
virtual const optional_colormaybe_color (color_role aRole) const =0
 
virtual void set_color (color_role aRole, const optional_color &aColor)=0
 
virtual neogfx::color default_text_color_for_widget (const i_widget &aWidget) const =0
 
virtual bool has_proxy () const =0
 
virtual const i_paletteproxy () const =0
 

Protected Member Functions

virtual const i_paletteproxy_ptr () const =0
 

Friends

class palette
 

Detailed Description

Definition at line 48 of file i_palette.hpp.

Constructor & Destructor Documentation

◆ ~i_palette()

virtual neogfx::i_palette::~i_palette ( )
virtualdefault

Member Function Documentation

◆ color()

virtual neogfx::color neogfx::i_palette::color ( color_role  aRole) const
pure virtual

Implemented in neogfx::palette.

◆ default_text_color_for_widget()

virtual neogfx::color neogfx::i_palette::default_text_color_for_widget ( const i_widget aWidget) const
pure virtual

Implemented in neogfx::palette.

◆ has_color()

virtual bool neogfx::i_palette::has_color ( color_role  aRole) const
pure virtual

Implemented in neogfx::palette.

◆ has_proxy()

virtual bool neogfx::i_palette::has_proxy ( ) const
pure virtual

Implemented in neogfx::palette.

◆ maybe_color()

virtual const optional_color & neogfx::i_palette::maybe_color ( color_role  aRole) const
pure virtual

Implemented in neogfx::palette.

◆ operator!=()

virtual bool neogfx::i_palette::operator!= ( const i_palette aOther) const
pure virtual

Implemented in neogfx::palette.

◆ operator==()

virtual bool neogfx::i_palette::operator== ( const i_palette aOther) const
pure virtual

Implemented in neogfx::palette.

◆ proxy()

virtual const i_palette & neogfx::i_palette::proxy ( ) const
pure virtual

Implemented in neogfx::palette.

◆ proxy_ptr()

virtual const i_palette * neogfx::i_palette::proxy_ptr ( ) const
protectedpure virtual

Implemented in neogfx::palette.

◆ set_color()

virtual void neogfx::i_palette::set_color ( color_role  aRole,
const optional_color aColor 
)
pure virtual

Implemented in neogfx::palette.

Friends And Related Symbol Documentation

◆ palette

friend class palette
friend

Definition at line 50 of file i_palette.hpp.


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