summaryrefslogtreecommitdiffstats
path: root/src/ui/edit.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-08-17 22:43:07 +0200
committererihel <erihel@gmail.com>2012-08-17 22:43:07 +0200
commitc2464d4c71bbc0154287f0b0441aef05e27cf084 (patch)
treed000ff46f5b9e505c94a8e6532668a57c7f78e2a /src/ui/edit.h
parent10b2c562fb7635f9850f1441f08ba8b1a71e31e1 (diff)
downloadcolobot-c2464d4c71bbc0154287f0b0441aef05e27cf084.tar.gz
colobot-c2464d4c71bbc0154287f0b0441aef05e27cf084.tar.bz2
colobot-c2464d4c71bbc0154287f0b0441aef05e27cf084.zip
* changes to ui classes
Diffstat (limited to 'src/ui/edit.h')
-rw-r--r--src/ui/edit.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/ui/edit.h b/src/ui/edit.h
index dbd94d1..73bd062 100644
--- a/src/ui/edit.h
+++ b/src/ui/edit.h
@@ -19,14 +19,11 @@
#pragma once
-#include "common/struct.h"
-#include "ui/control.h"
-
-
-class CD3DEngine;
-class CScroll;
-
+#include <common/struct.h>
+#include <common/event.h>
+#include <ui/control.h>
+#include <ui/scroll.h>
const int EDITSTUDIOMAX = 20000; // maximum number of characters in CBOT edit
const int EDITLINEMAX = 1000; // maximum total number of lines
@@ -85,10 +82,10 @@ struct HyperHistory
class CEdit : public CControl
{
public:
- CEdit(CInstanceManager* iMan);
+ CEdit();
virtual ~CEdit();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventMsg);
void SetPos(Math::Point pos);
void SetDim(Math::Point dim);
@@ -145,8 +142,8 @@ public:
void HyperFlush();
void HyperHome(char *filename);
- bool HyperTest(EventMsg event);
- bool HyperGo(EventMsg event);
+ bool HyperTest(EventType event);
+ bool HyperGo(EventType event);
void SetFontSize(float size);