summaryrefslogtreecommitdiffstats
path: root/src/ui/control.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-08-21 20:55:03 +0200
committererihel <erihel@gmail.com>2012-08-21 20:55:03 +0200
commit4faa1b9c447485cd2086a4c7f7c3655042e5de83 (patch)
tree6b4b059b5129554df5596e0ad198501213b02957 /src/ui/control.h
parent75a76e82529f9726772bff066748e764f88c6d85 (diff)
parent199768280816d56a3356a6c3d137df0a73dba62b (diff)
downloadcolobot-4faa1b9c447485cd2086a4c7f7c3655042e5de83.tar.gz
colobot-4faa1b9c447485cd2086a4c7f7c3655042e5de83.tar.bz2
colobot-4faa1b9c447485cd2086a4c7f7c3655042e5de83.zip
merged changes from michkon
Diffstat (limited to 'src/ui/control.h')
-rw-r--r--src/ui/control.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/ui/control.h b/src/ui/control.h
index ca57207..13cf998 100644
--- a/src/ui/control.h
+++ b/src/ui/control.h
@@ -20,22 +20,23 @@
//#include "old/text.h"
-#include <common/struct.h>
-#include <common/event.h>
+#include "graphics/engine/text.h"
+//#include "common/struct.h"
+#include "common/event.h"
-#include <graphics/engine/engine.h>
-#include <graphics/engine/text.h>
-#include <graphics/engine/particle.h>
-
-#include <sound/sound.h>
+namespace Gfx {
+class CEngine;
+class CParticle;
+};
-// class CEvent;
+class CInstanceManager;
+class CEvent;
//class Gfx::CEngine;
-// class CRobotMain;
+class CRobotMain;
//class Gfx::CParticle;
-//class CSound;
-
+class CSoundInterface;
+namespace Ui {
enum ControlState
{
STATE_ENABLE = (1<<0), // active
@@ -62,7 +63,8 @@ enum ControlState
class CControl
{
public:
- CControl();
+// CControl(CInstanceManager* iMan);
+ CControl ();
virtual ~CControl();
virtual bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
@@ -141,3 +143,4 @@ protected:
};
+}