Class: ewol::widget::Scroll


Constructor and Destructor:

+                  Scroll               (void);
+ ~Scroll (void);

Synopsis:

+  static void     init                 (ewol::widget::Manager & _widgetManager);
+ void setLimit (const vec2 & _limit);
+ const vec2 & getLimit (void);
+ void calculateMinMaxSize (void);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::event::Input & _event);
+ void systemDraw (const ewol::DrawProperty & _displayProp);
+ ewol::Widget * getWidgetAtPos (const vec2 & _pos);
# void onDraw (void);
# bool onSetConfig (const ewol::object::Config & _conf);
# bool onGetConfig (const char * _config,
std::string & _result);

Object Hierarchy:

ewol::Object
    +--> ewol::Widget
        +--> ewol::widget::Container
            +--> ewol::widget::Scroll

Description:

/** * @ingroup ewolWidgetGroup */

Detail:

ewol::widget::init ()

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



ewol::widget::Scroll ()

Scroll(void);



ewol::widget::~Scroll ()

~Scroll(void);



setLimit ()

void setLimit(const vec2 & _limit);

set the limit of scrolling
Notes: This permit to scoll element upper the end of the display


getLimit ()

const vec2 & getLimit(void);

get the limit of scrolling


calculateMinMaxSize ()

void calculateMinMaxSize(void);



onRegenerateDisplay ()

void onRegenerateDisplay(void);



onEventInput ()

bool onEventInput(const ewol::event::Input & _event);



systemDraw ()

void systemDraw(const ewol::DrawProperty & _displayProp);



getWidgetAtPos ()

ewol::Widget * getWidgetAtPos(const vec2 & _pos);



onDraw ()

void onDraw(void);



onSetConfig ()

bool onSetConfig(const ewol::object::Config & _conf);



onGetConfig ()

bool onGetConfig(const char * _config,
                 std::string & _result);