Inheritance diagram for CEGUI::ScrolledContainer:
Public Member Functions | |
ScrolledContainer (const String &type, const String &name) | |
Constructor for ScrolledContainer objects. | |
~ScrolledContainer (void) | |
Destructor for ScrolledContainer objects. | |
bool | isContentPaneAutoSized (void) const |
Return whether the content pane is auto sized. | |
void | setContentPaneAutoSized (bool setting) |
Set whether the content pane should be auto-sized. | |
const Rect & | getContentArea (void) const |
Return the current content pane area for the ScrolledContainer. | |
void | setContentArea (const Rect &area) |
Set the current content pane area for the ScrolledContainer. | |
Rect | getChildExtentsArea (void) const |
Return the current extents of the attached content. | |
Static Public Attributes | |
static const String | WidgetTypeName |
Type name for ScrolledContainer. | |
static const String | EventNamespace |
Namespace for global events. | |
static const String | EventContentChanged |
Event fired whenever some child changes. | |
static const String | EventAutoSizeSettingChanged |
Event fired when the autosize setting changes. | |
Protected Types | |
typedef std::multimap< Window *, Event::Connection > | ConnectionTracker |
Protected Member Functions | |
void | addScrolledContainerEvents (void) |
Adds events for this widget type. | |
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 heirarchy. | |
void | drawSelf (float z) |
Perform the actual rendering for this Window. | |
virtual void | onContentChanged (WindowEventArgs &e) |
Notification method called whenever the content size may have changed. | |
virtual void | onAutoSizeSettingChanged (WindowEventArgs &e) |
Notification method called whenever the setting that controls whether the content pane is automatically sized is changed. | |
bool | handleChildSized (const EventArgs &e) |
Method which receives notifications about child windows being moved. | |
bool | handleChildMoved (const EventArgs &e) |
Method which receives notifications about child windows being sized. | |
Rect | getUnclippedInnerRect (void) const |
Return a Rect object that describes, unclipped, the inner rectangle for this window. The inner rectangle is typically an area that excludes some frame or other rendering that should not be touched by subsequent rendering. | |
void | onChildAdded (WindowEventArgs &e) |
Handler called when a child window is added to this window. | |
void | onChildRemoved (WindowEventArgs &e) |
Handler called when a child window is removed from this window. | |
void | onParentSized (WindowEventArgs &e) |
Handler called when this window's parent window has been resized. If this window is the root / GUI Sheet window, this call will be made when the screen size changes. | |
Protected Attributes | |
ConnectionTracker | d_eventConnections |
Tracks event connections we make. | |
Rect | d_contentArea |
Holds extents of the content pane. | |
bool | d_autosizePane |
true if the pane auto-sizes itself. |
|
Perform the actual rendering for this Window.
Reimplemented from CEGUI::Window. |
|
Return the current extents of the attached content.
|
|
Return the current content pane area for the ScrolledContainer.
|
|
Return a Rect object that describes, unclipped, the inner rectangle for this window. The inner rectangle is typically an area that excludes some frame or other rendering that should not be touched by subsequent rendering.
Reimplemented from CEGUI::Window. |
|
Return whether the content pane is auto sized.
|
|
Notification method called whenever the setting that controls whether the content pane is automatically sized is changed.
|
|
Handler called when a child window is added to this window.
Reimplemented from CEGUI::Window. |
|
Handler called when a child window is removed from this window.
Reimplemented from CEGUI::Window. |
|
Notification method called whenever the content size may have changed.
|
|
Handler called when this window's parent window has been resized. If this window is the root / GUI Sheet window, this call will be made when the screen size changes.
Reimplemented from CEGUI::Window. |
|
Set the current content pane area for the ScrolledContainer.
|
|
Set whether the content pane should be auto-sized.
|
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Reimplemented from CEGUI::Window. |