src/widget/widget.h
branchcpp_gui
changeset 6275 bd57b30a8b81
parent 6273 d8a2c6844650
child 6277 732cf765e2d7
--- a/src/widget/widget.h	Fri Mar 02 22:29:20 2007 +0000
+++ b/src/widget/widget.h	Fri Mar 02 22:31:08 2007 +0000
@@ -237,8 +237,10 @@
 	static const int16 DEFAULT_HEIGHT = 14;
 
 protected:
-	StringID m_text;
-	byte     m_text_color;
+	StringID      m_text;
+	byte          m_text_color;
+	Point16       m_moving_offset;
+	CaptureTicket m_ticket_moving;
 
 public:
 	CaptionBar()
@@ -256,6 +258,8 @@
 	/*virtual*/ void DrawBackground(EvtPaint &ev);
 
 	/*virtual*/ void OnPaint(EvtPaint &ev);
+	/*virtual*/ void OnLeftClick(EvtClick &ev);
+	void OnCapturePressed(EvtMouseOver &e);
 };