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_
Adds name to the Element class, including name path traversal.
Definition: NamedElement.h:74
A positioned and sized rectangular node in a tree graph.
Definition: Element.h:242
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:49
Base-class for the assignable WindowRenderer object.
Definition: WindowRenderer.h:50
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: Element.h:210
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:251
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: InputEvent.h:280
String class used within the GUI system.
Definition: String.h:62