Class: widget::WidgetScrooled
Synopsis:
+ WidgetScrooled (void);
+ ~WidgetScrooled (void);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::EventInput & _event);
+ void systemDraw (const ewol::DrawProperty & _displayProp);
# void onDraw (void);
# void setScrollingSize (float _nbPixel);
# void scroolingMode (enum scrollingMode _newMode);
# void setMaxSize (const vec2 & _localSize);
# void setScrollingPositionDynamic (vec2 _borderWidth,
const vec2 & _currentPosition,
bool _center);
# void setLimitScrolling (float _poucentageLimit);
Object Hierarchy:
ewol::EObject +--> ewol::Widget +--> widget::WidgetScrooled +--> widget::ParameterList +--> widget::List
Description:
/** * @ingroup ewolWidgetGroup */Detail:
widget::WidgetScrooled ()
WidgetScrooled(void);
Scroll Widget main constructor to be herited from an other widget (this is not a stand-alone widget)
widget::~WidgetScrooled ()
~WidgetScrooled(void);
Scroll widget destructor.
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
systemDraw ()
void systemDraw(const ewol::DrawProperty & _displayProp);
onDraw ()
void onDraw(void);
setScrollingSize ()
void setScrollingSize(float _nbPixel);
For mouse event when we have a scrolling UP and dows, specify the number of pixel that we scrooled
Parameter [input]: _nbPixel number of pixel scrolling
scroolingMode ()
void scroolingMode(enum scrollingMode _newMode);
Specify the mode of scrolling for this windows
Parameter [input]: _newMode the selected mode for the scrolling...
setMaxSize ()
void setMaxSize(const vec2 & _localSize);
set the specific mawimum size of the widget
Parameter [input]: _localSize new Maximum size
setScrollingPositionDynamic ()
void setScrollingPositionDynamic(vec2 _borderWidth,
const vec2 & _currentPosition,
bool _center);
Request a specific position for the scrolling of the current windows.
Parameter [input]: _borderWidth size of the border that requested the element might not to be
Parameter [input]: _currentPosition Position that is requested to view
Parameter [input]: _center True if the position might be at the center of the widget
setLimitScrolling ()
void setLimitScrolling(float _poucentageLimit);
set the scrolling limit when arriving at he end of the widget
Parameter [input]: _poucentageLimit pourcent of the limit of view nothing in the widget when arriving at the end ...
widget::WidgetScrooled ()
WidgetScrooled(void);
Scroll Widget main constructor to be herited from an other widget (this is not a stand-alone widget)
widget::~WidgetScrooled ()
~WidgetScrooled(void);
Scroll widget destructor.
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
systemDraw ()
void systemDraw(const ewol::DrawProperty & _displayProp);
onDraw ()
void onDraw(void);
setScrollingSize ()
void setScrollingSize(float _nbPixel);
For mouse event when we have a scrolling UP and dows, specify the number of pixel that we scrooled
-
Parameter [input]: _nbPixel number of pixel scrolling
scroolingMode ()
void scroolingMode(enum scrollingMode _newMode);
Specify the mode of scrolling for this windows
-
Parameter [input]: _newMode the selected mode for the scrolling...
setMaxSize ()
void setMaxSize(const vec2 & _localSize);
set the specific mawimum size of the widget
-
Parameter [input]: _localSize new Maximum size
setScrollingPositionDynamic ()
void setScrollingPositionDynamic(vec2 _borderWidth, const vec2 & _currentPosition, bool _center);
Request a specific position for the scrolling of the current windows.
-
Parameter [input]: _borderWidth size of the border that requested the element might not to be
Parameter [input]: _currentPosition Position that is requested to view
Parameter [input]: _center True if the position might be at the center of the widget
setLimitScrolling ()
void setLimitScrolling(float _poucentageLimit);
set the scrolling limit when arriving at he end of the widget
-
Parameter [input]: _poucentageLimit pourcent of the limit of view nothing in the widget when arriving at the end ...