Inheritance diagram for CEGUI::Titlebar:
Public Member Functions | |
bool | isDraggingEnabled (void) const |
Return whether this title bar will respond to dragging. | |
void | setDraggingEnabled (bool setting) |
Set whether this title bar widget will respond to dragging. | |
colour | getCaptionColour (void) const |
Return the current colour used for rendering the caption text. | |
void | setCaptionColour (const colour &col) |
Sets the colour to be used for rendering the caption text. | |
Titlebar (const String &type, const String &name) | |
Constructor for Titlebar base class. | |
virtual | ~Titlebar (void) |
Destructor for Titlebar base class. | |
Static Public Attributes | |
static const String | EventNamespace |
Namespace for global events. | |
Protected Member Functions | |
virtual void | onMouseMove (MouseEventArgs &e) |
Handler called when the mouse cursor has been moved within this window's area. | |
virtual void | onMouseButtonDown (MouseEventArgs &e) |
Handler called when a mouse button has been depressed within this window's area. | |
virtual void | onMouseButtonUp (MouseEventArgs &e) |
Handler called when a mouse button has been released within this window's area. | |
virtual void | onMouseDoubleClicked (MouseEventArgs &e) |
Handler called when a mouse button has been double-clicked within this window's area. | |
virtual void | onCaptureLost (WindowEventArgs &e) |
Handler called when this window loses capture of mouse inputs. | |
virtual void | onFontChanged (WindowEventArgs &e) |
Handler called when the window's font is changed. | |
virtual void | onDraggingModeChanged (WindowEventArgs &e) |
Event handler called when the 'draggable' state for the title bar is changed. | |
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. | |
Protected Attributes | |
bool | d_dragging |
set to true when the window is being dragged. | |
Point | d_dragPoint |
Point at which we are being dragged. | |
bool | d_dragEnabled |
true when dragging for the widget is enabled. | |
Rect | d_oldCursorArea |
Used to backup cursor restraint area. | |
colour | d_captionColour |
Colour used when rendering the title caption. |
|
Return the current colour used for rendering the caption text.
|
|
Return whether this title bar will respond to dragging.
|
|
Handler called when this window loses capture of mouse inputs.
Reimplemented from CEGUI::Window. |
|
Event handler called when the 'draggable' state for the title bar is changed. Note that this is for 'internal' use at the moment and as such does not add or fire a public Event that can be subscribed to. |
|
Handler called when the window's font is changed.
Reimplemented from CEGUI::Window. |
|
Handler called when a mouse button has been depressed within this window's area.
Reimplemented from CEGUI::Window. |
|
Handler called when a mouse button has been released within this window's area.
Reimplemented from CEGUI::Window. |
|
Handler called when a mouse button has been double-clicked within this window's area.
Reimplemented from CEGUI::Window. |
|
Handler called when the mouse cursor has been moved within this window's area.
Reimplemented from CEGUI::Window. |
|
Sets the colour to be used for rendering the caption text.
|
|
Set whether this title bar widget will respond to dragging.
|
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Reimplemented from CEGUI::Window. |