30 #ifndef _CEGUITitlebar_h_
31 #define _CEGUITitlebar_h_
33 #include "../CEGUIWindow.h"
34 #include "CEGUITitlebarProperties.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
65 bool isDraggingEnabled(
void)
const;
78 void setDraggingEnabled(
bool setting);
138 if (class_name==
"Titlebar")
return true;
162 void addTitlebarProperties(
void);
167 #if defined(_MSC_VER)
168 # pragma warning(pop)
171 #endif // end of guard _CEGUITitlebar_h_
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
virtual void onDraggingModeChanged(WindowEventArgs &)
Event handler called when the 'draggable' state for the title bar is changed.
Definition: CEGUITitlebar.h:120
Property to access the state of the dragging enabled setting for the Titlebar.
Definition: CEGUITitlebarProperties.h:59
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
static const String EventNamespace
Namespace for global events.
Definition: CEGUITitlebar.h:55
bool d_dragging
set to true when the window is being dragged.
Definition: CEGUITitlebar.h:146
Class representing the title bar for Frame Windows.
Definition: CEGUITitlebar.h:52
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
bool d_dragEnabled
true when dragging for the widget is enabled.
Definition: CEGUITitlebar.h:148
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: CEGUIInputEvent.h:274
Rect d_oldCursorArea
Used to backup cursor restraint area.
Definition: CEGUITitlebar.h:150
Point d_dragPoint
Point at which we are being dragged.
Definition: CEGUITitlebar.h:147
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: CEGUITitlebar.h:136
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44
String class used within the GUI system.
Definition: CEGUIString.h:57
static const String WidgetTypeName
Window factory name.
Definition: CEGUITitlebar.h:56