-
Notifications
You must be signed in to change notification settings - Fork 3
/
Infobars.h
81 lines (61 loc) · 1.33 KB
/
Infobars.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#ifndef __INFOBARS_H__
#define __INFOBARS_H__
#include "texture.h"
class ThingBar : public wxPanel
{
private:
wxStaticBox *m_frame;
wxStaticText *m_Items[2][7];
TextureBox *m_sprite;
public:
ThingBar(wxWindow *parent);
void Update(int num, CThing * th, bool textmap);
};
class VertexBar : public wxPanel
{
private:
wxStaticBox *m_frame;
wxStaticText *m_x;
wxStaticText *m_y;
public:
VertexBar(wxWindow *parent);
void Update(int num, CVertex * vt);
};
class LineBar : public wxPanel
{
private:
wxStaticBox * m_lineframe; // This contains the linedef number
wxStaticText * m_Items[3][7];
/*
wxStaticText * m_length;
wxStaticText * m_vertices;
wxStaticText * m_flags;
wxStaticText * m_special;
wxStaticText * m_tag;
wxStaticText * m_offset[2];
wxStaticText *m_arg[5];
*/
wxStaticBox *m_sideframe[2];
wxStaticText *m_texname[2][3];
TextureBox *m_texture[2][3];
public:
LineBar(wxWindow *parent);
void Update(int num, CLevel * lev, CLine * ln);
};
class SectorBar : public wxPanel
{
private:
wxStaticBox *m_frame;
wxStaticText *m_floorheight;
wxStaticText *m_ceilingheight;
wxStaticText *m_height;
wxStaticText *m_lightlevel;
wxStaticText *m_type;
wxStaticText *m_tag;
wxStaticText *m_texname[2];
TextureBox *m_texture[2];
public:
SectorBar(wxWindow *parent);
void Update(int num, CSector * sec);
};
#endif