29 #ifndef _CEGUITitlebar_h_ 30 #define _CEGUITitlebar_h_ 32 #include "../Window.h" 36 # pragma warning(push) 37 # pragma warning(disable : 4251) 50 class CEGUIEXPORT Titlebar :
public Window
53 static const String EventNamespace;
54 static const String WidgetTypeName;
63 bool isDraggingEnabled(
void)
const;
76 void setDraggingEnabled(
bool setting);
82 bool isDragged()
const;
88 const Vector2f& getDragPoint()
const;
97 Titlebar(
const String& type,
const String& name);
104 virtual ~Titlebar(
void);
111 virtual void onMouseMove(MouseEventArgs& e);
112 virtual void onMouseButtonDown(MouseEventArgs& e);
113 virtual void onMouseButtonUp(MouseEventArgs& e);
114 virtual void onMouseDoubleClicked(MouseEventArgs& e);
115 virtual void onCaptureLost(WindowEventArgs& e);
116 virtual void onFontChanged(WindowEventArgs &e);
138 Rectf d_oldCursorArea;
144 void addTitlebarProperties(
void);
149 #if defined(_MSC_VER) 150 # pragma warning(pop) 153 #endif // end of guard _CEGUITitlebar_h_
virtual void onDraggingModeChanged(WindowEventArgs &)
Event handler called when the 'draggable' state for the title bar is changed.
Definition: debian/tmp/usr/include/cegui-0.8.4/CEGUI/widgets/Titlebar.h:129
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: cegui/include/CEGUI/InputEvent.h:251