summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.h
blob: 1ef94ce49586e51b4a9a7f830d62f2d263b063a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __KOOPATLAS_HUD_H
#define __KOOPATLAS_HUD_H

#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;
};

#endif