27 #ifndef _CEGUIScrollablePane_h_
28 #define _CEGUIScrollablePane_h_
31 #include "../Window.h"
34 # pragma warning(push)
35 # pragma warning(disable : 4251)
56 virtual Rectf getViewableArea(
void)
const = 0;
138 bool isVertScrollbarAlwaysShown(
void)
const;
153 void setShowVertScrollbar(
bool setting);
163 bool isHorzScrollbarAlwaysShown(
void)
const;
178 void setShowHorzScrollbar(
bool setting);
189 bool isContentPaneAutoSized(
void)
const;
203 void setContentPaneAutoSized(
bool setting);
213 const Rectf& getContentPaneArea(
void)
const;
230 void setContentPaneArea(
const Rectf& area);
241 float getHorizontalStepSize(
void)
const;
255 void setHorizontalStepSize(
float step);
266 float getHorizontalOverlapSize(
void)
const;
280 void setHorizontalOverlapSize(
float overlap);
290 float getHorizontalScrollPosition(
void)
const;
303 void setHorizontalScrollPosition(
float position);
314 float getVerticalStepSize(
void)
const;
328 void setVerticalStepSize(
float step);
339 float getVerticalOverlapSize(
void)
const;
353 void setVerticalOverlapSize(
float overlap);
363 float getVerticalScrollPosition(
void)
const;
376 void setVerticalScrollPosition(
float position);
386 Rectf getViewableArea(
void)
const;
415 void initialiseComponents(
void);
425 void configureScrollbars(
void);
435 bool isVertScrollbarNeeded(
void)
const;
445 bool isHorzScrollbarNeeded(
void)
const;
452 void updateContainerPosition(
void);
468 virtual bool validateWindowRenderer(
const WindowRenderer* renderer)
const;
546 bool handleScrollChange(
const EventArgs& e);
553 bool handleContentAreaChange(
const EventArgs& e);
560 bool handleAutoSizePaneChanged(
const EventArgs& e);
563 void addChild_impl(
Element* element);
564 void removeChild_impl(
Element* element);
592 void addScrollablePaneProperties(
void);
597 #if defined(_MSC_VER)
598 # pragma warning(pop)
601 #endif // end of guard _CEGUIScrollablePane_h_