My Project
 
Loading...
Searching...
No Matches
wndclass.h
Go to the documentation of this file.
1#pragma once
2
3#include "wndtabbed.h"
4#include "heroclass.h"
5
6class WndClass :public WndTabbed{
7private:
8 static const std::string TXT_MASTERY;
9 static const int WIDTH = 110;
10 static const int TAB_WIDTH = 50;
11
12 class RankingTab :public LabeledTab{
13 private:
14 Group* page;
15 public:
16 RankingTab(WndTabbed* wnd, const std::string& label, Group* page);
17 protected:
18 virtual void select(bool value);
19 };
20
21 class PerksTab :public Group{
22 private:
23 static const int MARGIN = 4;
24 static const int GAP = 4;
25
26 static const std::string DOT;
27
28 public:
29 float height;
30 float width;
31
32 WndClass* wnd;
33 PerksTab(WndClass* wnd);
34 };
35
36 class MasteryTab :public Group{
37 private:
38 static const int MARGIN = 4;
39
40 public:
41 float height;
42 float width;
43
44 WndClass* wnd;
45 MasteryTab(WndClass* wnd);
46 };
47
48private:
49 PerksTab* tabPerks;
50 MasteryTab* tabMastery;
51
52public:
55};
Definition heroclass.h:10
int height
Definition window.h:17
int width
Definition window.h:16
HeroClass cl
Definition wndclass.h:53
WndClass(HeroClass cl)
Definition wndclass.cpp:105
Definition wndtabbed.h:29
WndTabbed * wnd
Definition wndtabbed.h:13
void select(Tab *tab)
Definition wndtabbed.cpp:126
WndTabbed()
Definition wndtabbed.cpp:165