diff options
author | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-18 22:56:42 +0200 |
---|---|---|
committer | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-18 22:56:42 +0200 |
commit | 574c07e388dfd902b6565bc4a5ac9b915c73074e (patch) | |
tree | 65846a6bd77542a5e7271ff8cc4bfa77bda477a5 /src/ui/compass.h | |
parent | 10b2c562fb7635f9850f1441f08ba8b1a71e31e1 (diff) | |
download | colobot-574c07e388dfd902b6565bc4a5ac9b915c73074e.tar.gz colobot-574c07e388dfd902b6565bc4a5ac9b915c73074e.tar.bz2 colobot-574c07e388dfd902b6565bc4a5ac9b915c73074e.zip |
Further improvements in UI porting
Diffstat (limited to 'src/ui/compass.h')
-rw-r--r-- | src/ui/compass.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/ui/compass.h b/src/ui/compass.h index ac5f608..1d48907 100644 --- a/src/ui/compass.h +++ b/src/ui/compass.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,15 +22,16 @@ #include "ui/control.h" +namespace Gfx { +class CEngine; +} -//class CEngine; - - - +namespace Ui { class CCompass : public CControl { public: - CCompass(CInstanceManager* iMan); +// CCompass(CInstanceManager* iMan); + CCompass(); virtual ~CCompass(); bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType); @@ -39,7 +41,7 @@ public: void Draw(); void SetDirection(float dir); - float RetDirection(); + float GetDirection(); protected: @@ -48,3 +50,4 @@ protected: }; +} |