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.


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).


getValue ()

etk::Color<> getValue(void);

get the current color of the color selection widget


setValue ()

void setValue(etk::Color<> _color);

Specify the current 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


periodicCall ()

void periodicCall(const ewol::EventTime & _event);