28 #ifndef _CEGUIScrollablePane_h_
29 #define _CEGUIScrollablePane_h_
31 #include "CEGUIBase.h"
32 #include "CEGUIWindow.h"
33 #include "elements/CEGUIScrollablePaneProperties.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
64 virtual Rect getViewableArea(
void)
const = 0;
136 bool isVertScrollbarAlwaysShown(
void)
const;
148 void setShowVertScrollbar(
bool setting);
158 bool isHorzScrollbarAlwaysShown(
void)
const;
171 void setShowHorzScrollbar(
bool setting);
181 bool isContentPaneAutoSized(
void)
const;
194 void setContentPaneAutoSized(
bool setting);
204 const Rect& getContentPaneArea(
void)
const;
221 void setContentPaneArea(
const Rect& area);
232 float getHorizontalStepSize(
void)
const;
246 void setHorizontalStepSize(
float step);
257 float getHorizontalOverlapSize(
void)
const;
271 void setHorizontalOverlapSize(
float overlap);
281 float getHorizontalScrollPosition(
void)
const;
294 void setHorizontalScrollPosition(
float position);
305 float getVerticalStepSize(
void)
const;
319 void setVerticalStepSize(
float step);
330 float getVerticalOverlapSize(
void)
const;
344 void setVerticalOverlapSize(
float overlap);
354 float getVerticalScrollPosition(
void)
const;
367 void setVerticalScrollPosition(
float position);
377 Rect getViewableArea(
void)
const;
408 void initialiseComponents(
void);
433 void configureScrollbars(
void);
443 bool isVertScrollbarNeeded(
void)
const;
453 bool isHorzScrollbarNeeded(
void)
const;
460 void updateContainerPosition(
void);
473 virtual bool testClassName_impl(
const String& class_name)
const
475 if (class_name==
"ScrollablePane")
return true;
493 virtual bool validateWindowRenderer(
const String& name)
const
495 return (name ==
"ScrollablePane");
574 bool handleScrollChange(
const EventArgs& e);
581 bool handleContentAreaChange(
const EventArgs& e);
588 bool handleAutoSizePaneChanged(
const EventArgs& e);
593 void addChild_impl(
Window* wnd);
594 void removeChild_impl(
Window* wnd);
629 void addScrollablePaneProperties(
void);
636 #if defined(_MSC_VER)
637 # pragma warning(pop)
640 #endif // end of guard _CEGUIScrollablePane_h_