summaryrefslogtreecommitdiffstats
path: root/src/ui/compass.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-09-11 12:49:41 +0200
committererihel <erihel@gmail.com>2012-09-11 12:49:41 +0200
commit01cc0fbc49696a19a56dfdd8359d4bb77e868925 (patch)
tree81d0674e4b54e95dad5508948491a26d9d5522da /src/ui/compass.h
parent5903e400d476c2cf62c146643a0693c4fc29d68a (diff)
downloadcolobot-01cc0fbc49696a19a56dfdd8359d4bb77e868925.tar.gz
colobot-01cc0fbc49696a19a56dfdd8359d4bb77e868925.tar.bz2
colobot-01cc0fbc49696a19a56dfdd8359d4bb77e868925.zip
* latest changes
* all files except studio, map and maindialog should compile * did some code cleanup
Diffstat (limited to 'src/ui/compass.h')
-rw-r--r--src/ui/compass.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/ui/compass.h b/src/ui/compass.h
index 1d48907..e8ccc17 100644
--- a/src/ui/compass.h
+++ b/src/ui/compass.h
@@ -20,34 +20,35 @@
#pragma once
-#include "ui/control.h"
+#include "control.h"
namespace Gfx {
-class CEngine;
+ class CEngine;
}
namespace Ui {
-class CCompass : public CControl
-{
-public:
-// CCompass(CInstanceManager* iMan);
- CCompass();
- virtual ~CCompass();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
+ class CCompass : public CControl
+ {
+ public:
+ // CCompass(CInstanceManager* iMan);
+ CCompass();
+ virtual ~CCompass();
- bool EventProcess(const Event &event);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
- void Draw();
+ bool EventProcess(const Event &event);
- void SetDirection(float dir);
- float GetDirection();
+ void Draw();
-protected:
+ void SetDirection(float dir);
+ float GetDirection();
-protected:
- float m_dir;
-};
+ protected:
+
+ protected:
+ float m_dir;
+ };
}