Class: widget::ButtonColor
Synopsis:
+ static void init (ewol::WidgetManager & _widgetManager);
+ ButtonColor (etk::Color<> _baseColor,
std::string _shaperName);
+ ~ButtonColor (void);
+ void setShaperName (std::string _shaperName);
+ etk::Color<> getValue (void);
+ void setValue (etk::Color<> _color);
+ void calculateMinMaxSize (void);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::EventInput & _event);
+ void onReceiveMessage (const ewol::EMessage & _msg);
# void onDraw (void);
- void changeStatusIn (int32_t _newStatusId);
- void periodicCall (const ewol::EventTime & _event);
Object Hierarchy:
ewol::EObject +--> ewol::Widget +--> widget::ButtonColor
Description:
/** * @ingroup ewolWidgetGroup */Detail:
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
widget::ButtonColor ()
ButtonColor(etk::Color<> _baseColor,
std::string _shaperName);
Main constructor.
Parameter [input]: _baseColor basic displayed color.
Parameter [input]: _shaperName The new shaper filename.
widget::~ButtonColor ()
~ButtonColor(void);
Main destructor.
setShaperName ()
void setShaperName(std::string _shaperName);
set the shaper name (use the contructer one this permit to not noad unused shaper).
Parameter [input]: _shaperName The new shaper filename.
getValue ()
etk::Color<> getValue(void);
get the current color of the color selection widget
Return: The current color
setValue ()
void setValue(etk::Color<> _color);
Specify the current color.
Parameter [input]: _color The new display color.
calculateMinMaxSize ()
void calculateMinMaxSize(void);
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
onReceiveMessage ()
void onReceiveMessage(const ewol::EMessage & _msg);
onDraw ()
void onDraw(void);
changeStatusIn ()
void changeStatusIn(int32_t _newStatusId);
internal system to change the property of the current status
Parameter [input]: _newStatusId new state
periodicCall ()
void periodicCall(const ewol::EventTime & _event);
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
widget::ButtonColor ()
ButtonColor(etk::Color<> _baseColor, std::string _shaperName);
Main constructor.
-
Parameter [input]: _baseColor basic displayed color.
Parameter [input]: _shaperName The new shaper filename.
widget::~ButtonColor ()
~ButtonColor(void);
Main destructor.
setShaperName ()
void setShaperName(std::string _shaperName);
set the shaper name (use the contructer one this permit to not noad unused shaper).
-
Parameter [input]: _shaperName The new shaper filename.
getValue ()
etk::Color<> getValue(void);
get the current color of the color selection widget
-
Return: The current color
setValue ()
void setValue(etk::Color<> _color);
Specify the current color.
-
Parameter [input]: _color The new display color.
calculateMinMaxSize ()
void calculateMinMaxSize(void);
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
onReceiveMessage ()
void onReceiveMessage(const ewol::EMessage & _msg);
onDraw ()
void onDraw(void);
changeStatusIn ()
void changeStatusIn(int32_t _newStatusId);
internal system to change the property of the current status
-
Parameter [input]: _newStatusId new state
periodicCall ()
void periodicCall(const ewol::EventTime & _event);