Class: widget::Scroll
Synopsis:
+ static void init (ewol::WidgetManager & _widgetManager);
+ Scroll (void);
+ ~Scroll (void);
+ void setLimit (const vec2 & _limit);
+ const vec2 & getLimit (void);
+ void calculateMinMaxSize (void);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::EventInput & _event);
+ void systemDraw (const ewol::DrawProperty & _displayProp);
+ ewol::Widget * getWidgetAtPos (const vec2 & _pos);
# void onDraw (void);
# bool onSetConfig (const ewol::EConfig & _conf);
# bool onGetConfig (const char * _config,
std::string & _result);
Object Hierarchy:
ewol::EObject +--> ewol::Widget +--> widget::Container +--> widget::Scroll
Description:
/** * @ingroup ewolWidgetGroup */Detail:
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
widget::Scroll ()
Scroll(void);
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
Parameter [input]: _limit scrolling limit [0..1] (represent a pourcent)
getLimit ()
const vec2 & getLimit(void);
get the limit of scrolling
Return: scrolling limit
calculateMinMaxSize ()
void calculateMinMaxSize(void);
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
systemDraw ()
void systemDraw(const ewol::DrawProperty & _displayProp);
getWidgetAtPos ()
ewol::Widget * getWidgetAtPos(const vec2 & _pos);
onDraw ()
void onDraw(void);
onSetConfig ()
bool onSetConfig(const ewol::EConfig & _conf);
onGetConfig ()
bool onGetConfig(const char * _config,
std::string & _result);
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
widget::Scroll ()
Scroll(void);
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
-
Parameter [input]: _limit scrolling limit [0..1] (represent a pourcent)
getLimit ()
const vec2 & getLimit(void);
get the limit of scrolling
-
Return: scrolling limit
calculateMinMaxSize ()
void calculateMinMaxSize(void);
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
systemDraw ()
void systemDraw(const ewol::DrawProperty & _displayProp);
getWidgetAtPos ()
ewol::Widget * getWidgetAtPos(const vec2 & _pos);
onDraw ()
void onDraw(void);
onSetConfig ()
bool onSetConfig(const ewol::EConfig & _conf);
onGetConfig ()
bool onGetConfig(const char * _config, std::string & _result);