summaryrefslogtreecommitdiffstats
path: root/src/ui/gauge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/gauge.h')
-rw-r--r--src/ui/gauge.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/ui/gauge.h b/src/ui/gauge.h
index bdc85ff..b745834 100644
--- a/src/ui/gauge.h
+++ b/src/ui/gauge.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,25 +22,27 @@
#include "ui/control.h"
+namespace Gfx{
+class CEngine;
+};
-class CD3DEngine;
-
-
+namespace Ui {
class CGauge : public CControl
{
public:
- CGauge(CInstanceManager* iMan);
+// CGauge(CInstanceManager* iMan);
+ CGauge();
virtual ~CGauge();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);
void Draw();
void SetLevel(float level);
- float RetLevel();
+ float GetLevel();
protected:
@@ -48,3 +51,4 @@ protected:
};
+}