28 #ifndef _CEGUIScrollablePane_h_
29 #define _CEGUIScrollablePane_h_
32 #include "../Window.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
57 virtual Rectf getViewableArea(
void)
const = 0;
139 bool isVertScrollbarAlwaysShown(
void)
const;
154 void setShowVertScrollbar(
bool setting);
164 bool isHorzScrollbarAlwaysShown(
void)
const;
179 void setShowHorzScrollbar(
bool setting);
190 bool isContentPaneAutoSized(
void)
const;
204 void setContentPaneAutoSized(
bool setting);
214 const Rectf& getContentPaneArea(
void)
const;
231 void setContentPaneArea(
const Rectf& area);
242 float getHorizontalStepSize(
void)
const;
256 void setHorizontalStepSize(
float step);
267 float getHorizontalOverlapSize(
void)
const;
281 void setHorizontalOverlapSize(
float overlap);
291 float getHorizontalScrollPosition(
void)
const;
304 void setHorizontalScrollPosition(
float position);
315 float getVerticalStepSize(
void)
const;
329 void setVerticalStepSize(
float step);
340 float getVerticalOverlapSize(
void)
const;
354 void setVerticalOverlapSize(
float overlap);
364 float getVerticalScrollPosition(
void)
const;
377 void setVerticalScrollPosition(
float position);
387 Rectf getViewableArea(
void)
const;
416 void initialiseComponents(
void);
426 void configureScrollbars(
void);
436 bool isVertScrollbarNeeded(
void)
const;
446 bool isHorzScrollbarNeeded(
void)
const;
453 void updateContainerPosition(
void);
469 virtual bool validateWindowRenderer(
const WindowRenderer* renderer)
const;
547 bool handleScrollChange(
const EventArgs& e);
554 bool handleContentAreaChange(
const EventArgs& e);
561 bool handleAutoSizePaneChanged(
const EventArgs& e);
564 void addChild_impl(
Element* element);
565 void removeChild_impl(
Element* element);
593 void addScrollablePaneProperties(
void);
598 #if defined(_MSC_VER)
599 # pragma warning(pop)
602 #endif // end of guard _CEGUIScrollablePane_h_