29 #ifndef _CEGUITitlebar_h_
30 #define _CEGUITitlebar_h_
32 #include "../Window.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
63 bool isDraggingEnabled(
void)
const;
76 void setDraggingEnabled(
bool setting);
82 bool isDragged()
const;
88 const Vector2f& getDragPoint()
const;
144 void addTitlebarProperties(
void);
149 #if defined(_MSC_VER)
150 # pragma warning(pop)
153 #endif // end of guard _CEGUITitlebar_h_
Rectf d_oldCursorArea
Used to backup cursor restraint area.
Definition: widgets/Titlebar.h:138
virtual void onDraggingModeChanged(WindowEventArgs &)
Event handler called when the 'draggable' state for the title bar is changed.
Definition: widgets/Titlebar.h:129
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
static const String EventNamespace
Namespace for global events.
Definition: widgets/Titlebar.h:53
bool d_dragging
set to true when the window is being dragged.
Definition: widgets/Titlebar.h:134
Class representing the title bar for Frame Windows.
Definition: widgets/Titlebar.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: InputEvent.h:251
bool d_dragEnabled
true when dragging for the widget is enabled.
Definition: widgets/Titlebar.h:136
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: InputEvent.h:280
Vector2f d_dragPoint
Point at which we are being dragged.
Definition: widgets/Titlebar.h:135
String class used within the GUI system.
Definition: String.h:62
static const String WidgetTypeName
Window factory name.
Definition: widgets/Titlebar.h:54