summaryrefslogtreecommitdiffstats
path: root/src/ui/check.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/check.h')
-rw-r--r--src/ui/check.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/ui/check.h b/src/ui/check.h
index 24c58f3..af26add 100644
--- a/src/ui/check.h
+++ b/src/ui/check.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
@@ -18,29 +19,30 @@
#pragma once
-
#include "ui/control.h"
-class CD3DEngine;
-
-
+namespace Gfx{
+ class CEngine;
+}
-class CCheck : public CControl
-{
-public:
- CCheck(CInstanceManager* iMan);
- virtual ~CCheck();
+namespace Ui {
+ class CCheck : public CControl
+ {
+ public:
+ CCheck();
+ virtual ~CCheck();
- 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);
+ bool EventProcess(const Event &event);
- void Draw();
+ void Draw();
-protected:
+ protected:
-protected:
-};
+ protected:
+ };
+}