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;
121 bool isVertScrollbarAlwaysShown(
void)
const;
136 void setShowVertScrollbar(
bool setting);
146 bool isHorzScrollbarAlwaysShown(
void)
const;
161 void setShowHorzScrollbar(
bool setting);
172 bool isContentPaneAutoSized(
void)
const;
186 void setContentPaneAutoSized(
bool setting);
196 const Rect& getContentPaneArea(
void)
const;
213 void setContentPaneArea(
const Rect& area);
224 float getHorizontalStepSize(
void)
const;
238 void setHorizontalStepSize(
float step);
249 float getHorizontalOverlapSize(
void)
const;
263 void setHorizontalOverlapSize(
float overlap);
273 float getHorizontalScrollPosition(
void)
const;
286 void setHorizontalScrollPosition(
float position);
297 float getVerticalStepSize(
void)
const;
311 void setVerticalStepSize(
float step);
322 float getVerticalOverlapSize(
void)
const;
336 void setVerticalOverlapSize(
float overlap);
346 float getVerticalScrollPosition(
void)
const;
359 void setVerticalScrollPosition(
float position);
369 Rect getViewableArea(
void)
const;
398 void initialiseComponents(
void);
408 void configureScrollbars(
void);
418 bool isVertScrollbarNeeded(
void)
const;
428 bool isHorzScrollbarNeeded(
void)
const;
435 void updateContainerPosition(
void);
449 virtual bool testClassName_impl(
const String& class_name)
const
451 if (class_name==
"ScrollablePane")
471 virtual bool validateWindowRenderer(
const String& name)
const
473 return (name ==
"ScrollablePane");
552 bool handleScrollChange(
const EventArgs& e);
559 bool handleContentAreaChange(
const EventArgs& e);
566 bool handleAutoSizePaneChanged(
const EventArgs& e);
569 void addChild_impl(
Window* wnd);
570 void removeChild_impl(
Window* wnd);
605 void addScrollablePaneProperties(
void);
610 #if defined(_MSC_VER)
611 # pragma warning(pop)
614 #endif // end of guard _CEGUIScrollablePane_h_