1 | /*********************************************************************** |
---|
2 | ScrollablePane |
---|
3 | ***********************************************************************/ |
---|
4 | class ScrollablePane : public Window |
---|
5 | { |
---|
6 | const ScrolledContainer* getContentPane() const; |
---|
7 | |
---|
8 | bool isVertScrollbarAlwaysShown() const; |
---|
9 | void setShowVertScrollbar(bool setting); |
---|
10 | |
---|
11 | bool isHorzScrollbarAlwaysShown() const; |
---|
12 | void setShowHorzScrollbar(bool setting); |
---|
13 | |
---|
14 | bool isContentPaneAutoSized() const; |
---|
15 | void setContentPaneAutoSized(bool setting); |
---|
16 | |
---|
17 | const Rect& getContentPaneArea() const; |
---|
18 | void setContentPaneArea(const Rect& area); |
---|
19 | |
---|
20 | float getHorizontalStepSize() const; |
---|
21 | void setHorizontalStepSize(float step); |
---|
22 | |
---|
23 | float getHorizontalOverlapSize() const; |
---|
24 | void setHorizontalOverlapSize(float overlap); |
---|
25 | |
---|
26 | float getHorizontalScrollPosition() const; |
---|
27 | void setHorizontalScrollPosition(float position); |
---|
28 | |
---|
29 | float getVerticalStepSize() const; |
---|
30 | void setVerticalStepSize(float step); |
---|
31 | |
---|
32 | float getVerticalOverlapSize() const; |
---|
33 | void setVerticalOverlapSize(float overlap); |
---|
34 | |
---|
35 | float getVerticalScrollPosition() const; |
---|
36 | void setVerticalScrollPosition(float position); |
---|
37 | |
---|
38 | Rect getViewableArea() const; |
---|
39 | Scrollbar* getVertScrollbar() const; |
---|
40 | Scrollbar* getHorzScrollbar() const; |
---|
41 | }; |
---|