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);
470 if (class_name==
"ScrollablePane")
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_
Property to access the setting which controls whether the content pane is automatically resized accor...
Definition: CEGUIScrollablePaneProperties.h:56
Property to access the current content pane area rectangle (as window relative pixels).
Definition: CEGUIScrollablePaneProperties.h:83
Base class used as the argument to all subscribers Event object.
Definition: CEGUIEventArgs.h:52
virtual bool testClassName_impl(const String &class_name) const
Return whether this window was inherited from the given class name at some point in the inheritance h...
Definition: CEGUIWindow.h:3928
Base-class for the assignable WindowRenderer object.
Definition: CEGUIWindowRenderer.h:51
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: CEGUIWindow.h:138
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: CEGUIInputEvent.h:245
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: CEGUIInputEvent.h:274
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44
String class used within the GUI system.
Definition: CEGUIString.h:57