BuGUI
BUtton Grid User Interface
Loading...
Searching...
No Matches
bugui::base_converter< Value_t > Struct Template Referenceabstract

Provides base functionalities for converting color objects to devices specific colour values. More...

#include <color_converter.hpp>

Public Types

using color_value_t = Value_t

Public Member Functions

virtual void set (const color &color)=0
 Sets the original color.
bool operator== (const color &other) const
 Determines equality between the original color and another.
bool operator!= (const base_converter< Value_t > &other) const
Value_t get () const
 Retrives the main device specific colour value.
color::states get_state () const
 Retrives the current state.
virtual void clear ()=0
 Resets the original and the device specific colour to their initial value.
virtual bool is_clear ()=0
 Checks that the original and device specific colour are set to their initial value.

Protected Attributes

Value_t value {}
color original {}

Detailed Description

template<typename Value_t>
struct bugui::base_converter< Value_t >

Provides base functionalities for converting color objects to devices specific colour values.

Member Function Documentation

◆ clear()

◆ is_clear()

◆ set()


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