28 #ifndef _CEGUIScrollablePane_h_
29 #define _CEGUIScrollablePane_h_
31 #include "../CEGUIBase.h"
32 #include "../CEGUIWindow.h"
33 #include "CEGUIScrollablePaneProperties.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
58 virtual Rect getViewableArea(
void)
const = 0;
140 bool isVertScrollbarAlwaysShown(
void)
const;
155 void setShowVertScrollbar(
bool setting);
165 bool isHorzScrollbarAlwaysShown(
void)
const;
180 void setShowHorzScrollbar(
bool setting);
191 bool isContentPaneAutoSized(
void)
const;
205 void setContentPaneAutoSized(
bool setting);
215 const Rect& getContentPaneArea(
void)
const;
232 void setContentPaneArea(
const Rect& area);
243 float getHorizontalStepSize(
void)
const;
257 void setHorizontalStepSize(
float step);
268 float getHorizontalOverlapSize(
void)
const;
282 void setHorizontalOverlapSize(
float overlap);
292 float getHorizontalScrollPosition(
void)
const;
305 void setHorizontalScrollPosition(
float position);
316 float getVerticalStepSize(
void)
const;
330 void setVerticalStepSize(
float step);
341 float getVerticalOverlapSize(
void)
const;
355 void setVerticalOverlapSize(
float overlap);
365 float getVerticalScrollPosition(
void)
const;
378 void setVerticalScrollPosition(
float position);
388 Rect getViewableArea(
void)
const;
417 void initialiseComponents(
void);
427 void configureScrollbars(
void);
437 bool isVertScrollbarNeeded(
void)
const;
447 bool isHorzScrollbarNeeded(
void)
const;
454 void updateContainerPosition(
void);
468 virtual bool testClassName_impl(
const String& class_name)
const
470 if (class_name==
"ScrollablePane")
490 virtual bool validateWindowRenderer(
const String& name)
const
492 return (name ==
"ScrollablePane");
571 bool handleScrollChange(
const EventArgs& e);
578 bool handleContentAreaChange(
const EventArgs& e);
585 bool handleAutoSizePaneChanged(
const EventArgs& e);
588 void addChild_impl(
Window* wnd);
589 void removeChild_impl(
Window* wnd);
624 void addScrollablePaneProperties(
void);
629 #if defined(_MSC_VER)
630 # pragma warning(pop)
633 #endif // end of guard _CEGUIScrollablePane_h_