From 01cc0fbc49696a19a56dfdd8359d4bb77e868925 Mon Sep 17 00:00:00 2001 From: erihel Date: Tue, 11 Sep 2012 12:49:41 +0200 Subject: * latest changes * all files except studio, map and maindialog should compile * did some code cleanup --- src/ui/compass.h | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'src/ui/compass.h') 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; + }; } -- cgit v1.2.3-1-g7c22