20 mContentAlign(
Align::Center)
109 int offset = -point.
top;
117 else if (offset > (
int)
mVRange)
120 if (offset != point.
top)
133 int offset = -point.
left;
141 else if (offset > (
int)
mHRange)
144 if (offset != point.
left)
146 point.
left = -offset;
156 IntSize ScrollView::getContentSize()
const
161 IntPoint ScrollView::getContentPosition()
const
166 void ScrollView::setContentPosition(
const IntPoint& _point)
171 IntSize ScrollView::getViewSize()
const
176 size_t ScrollView::getVScrollPage()
const
181 size_t ScrollView::getHScrollPage()
const
224 if (
_key ==
"VisibleVScroll")
228 else if (
_key ==
"VisibleHScroll")
232 else if (
_key ==
"CanvasAlign")
236 else if (
_key ==
"CanvasSize")
268 Align ScrollView::getContentAlign()
const
IntPoint getPosition() const
const IntCoord & getCoord() const
const int SCROLL_VIEW_MOUSE_WHEEL
types::TCoord< int > IntCoord
const int SCROLL_VIEW_SCROLL_PAGE
types::TSize< int > IntSize
delegates::DelegateFunction< Args... > * newDelegate(void(*_func)(Args... args))
types::TPoint< int > IntPoint