7#ifndef MYGUI_SCROLL_VIEW_H_
8#define MYGUI_SCROLL_VIEW_H_
31 void setPosition(
const IntPoint& _value)
override;
33 void setSize(
const IntSize& _value)
override;
35 void setCoord(
const IntCoord& _value)
override;
42 void setVisibleVScroll(
bool _value);
44 bool isVisibleVScroll()
const;
47 void setVisibleHScroll(
bool _value);
49 bool isVisibleHScroll()
const;
52 void setCanvasAlign(
Align _value);
54 Align getCanvasAlign()
const;
57 void setCanvasSize(
const IntSize& _value);
59 void setCanvasSize(
int _width,
int _height);
67 void setViewOffset(
const IntPoint& _value);
72 void initialiseOverride()
override;
73 void shutdownOverride()
override;
75 void notifyScrollChangePosition(
ScrollBar* _sender,
size_t _position);
76 void notifyMouseWheel(
Widget* _sender,
int _rel);
80 void setPropertyOverride(
const std::string& _key,
const std::string& _value)
override;
86 IntSize getContentSize()
const override;
88 IntPoint getContentPosition()
const override;
90 IntSize getViewSize()
const override;
91 void setContentPosition(
const IntPoint& _point)
override;
93 size_t getVScrollPage()
const override;
94 size_t getHScrollPage()
const override;
96 Align getContentAlign()
const override;
#define MYGUI_RTTI_DERIVED(DerivedType)