Class: ewol::widget::ButtonColor


Constructor and Destructor:

+               ButtonColor          (etk::Color<> _baseColor,
std::string _shaperName);
+ ~ButtonColor (void);

Synopsis:

+  static void  init                 (ewol::widget::Manager & _widgetManager);
+ void setShaperName (std::string _shaperName);
+ etk::Color<> getValue (void);
+ void setValue (etk::Color<> _color);
+ void calculateMinMaxSize (void);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::event::Input & _event);
+ void onReceiveMessage (const ewol::object::Message & _msg);
# void onDraw (void);
- void changeStatusIn (int32_t _newStatusId);
- void periodicCall (const ewol::event::Time & _event);

Object Hierarchy:

ewol::Object
    +--> ewol::Widget
        +--> ewol::widget::ButtonColor

Description:

/** * @ingroup ewolWidgetGroup */

Detail:

ewol::widget::init ()

static void init(ewol::widget::Manager & _widgetManager);



ewol::widget::ButtonColor ()

ButtonColor(etk::Color<> _baseColor,
            std::string _shaperName);

Main constructor.


ewol::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::event::Input & _event);



onReceiveMessage ()

void onReceiveMessage(const ewol::object::Message & _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::event::Time & _event);