summaryrefslogtreecommitdiffstats
path: root/src/ui/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/button.h')
-rw-r--r--src/ui/button.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/ui/button.h b/src/ui/button.h
index 38b2dab..d70b3d6 100644
--- a/src/ui/button.h
+++ b/src/ui/button.h
@@ -1,5 +1,6 @@
// * This file is part of the COLOBOT source code
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
+// * Copyright (C) 2012 Polish Portal of Colobot (PPC)
// *
// * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU General Public License as published by
@@ -21,16 +22,16 @@
#include "ui/control.h"
+namespace Gfx{
+class CEngine;
+}
-//class CD3DEngine;
-
-
-
+namespace Ui {
class CButton : public CControl
{
public:
- CButton(CInstanceManager* iMan);
- virtual ~CButton();
+ CButton ();
+ virtual ~CButton ();
bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
@@ -53,4 +54,4 @@ protected:
float m_repeat;
};
-
+}