summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-01-15 21:31:34 +0100
committerTreeki <treeki@gmail.com>2012-01-15 21:31:34 +0100
commit83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a (patch)
tree5d48147b1f8e23992fe4a921adcec83da45969cd /src/koopatlas/hud.h
parent0dabea30d98d175e5d7e0655c10757db99ac8295 (diff)
downloadkamek-83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a.tar.gz
kamek-83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a.zip
initial commit of the Koopatlas engine
Diffstat (limited to 'src/koopatlas/hud.h')
-rw-r--r--src/koopatlas/hud.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/koopatlas/hud.h b/src/koopatlas/hud.h
new file mode 100644
index 0000000..71dacdd
--- /dev/null
+++ b/src/koopatlas/hud.h
@@ -0,0 +1,28 @@
+#include "koopatlas/core.h"
+
+class dWMHud_c : public dBase_c {
+ public:
+ dWMHud_c();
+
+ int onCreate();
+ int onDelete();
+ int onExecute();
+ int onDraw();
+
+ bool layoutLoaded;
+ m2d::EmbedLayout_c layout;
+
+ void updateText();
+
+ void showPointBar();
+ void hidePointBar();
+
+ void setPointName();
+
+ static dWMHud_c *build();
+ static dWMHud_c *instance;
+
+ private:
+ bool isPointBarShown;
+};
+