Mercurial > mm7
annotate GUI/GUIProgressBar.h @ 2575:a76d408c5132 tip
DrawTranslucent -> DrawTextureGrayShade
Removed old texture drawing stuff
author | a.parshin |
---|---|
date | Wed, 09 Mar 2016 01:39:52 +0200 |
parents | dd36326a9994 |
children |
rev | line source |
---|---|
2502 | 1 #pragma once |
2 #include "Engine/Graphics/Texture.h" | |
3 | |
4 | |
5 /* 278 */ | |
6 #pragma pack(push, 1) | |
7 struct GUIProgressBar | |
8 { | |
9 enum Type: unsigned __int32 | |
10 { | |
11 TYPE_None = 0, | |
12 TYPE_Fullscreen = 1, | |
13 TYPE_Box = 2 | |
14 }; | |
15 | |
16 bool Initialize(Type type); | |
17 void Reset(unsigned __int8 uMaxProgress); | |
18 void Progress(); | |
19 void Release(); | |
20 void Draw(); | |
21 | |
22 __int16 uX; | |
23 __int16 uY; | |
24 __int16 uWidth; | |
25 __int16 uHeight; | |
26 char field_8; | |
27 char field_9; | |
28 char uProgressMax; | |
29 char uProgressCurrent; | |
30 Type uType; | |
31 char field_10[8]; | |
32 //char field_11; | |
33 //char field_12; | |
34 //char field_13; | |
35 //char field_14; | |
36 //char field_15; | |
37 //char field_16; | |
38 //char field_17; | |
2572
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
39 //RGBTexture pLoadingBg; // 18 |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
40 //RGBTexture field_40; |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
41 //RGBTexture field_68; |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
42 //RGBTexture field_90; |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
43 //RGBTexture field_B8; |
2574 | 44 struct Texture_MM7 field_E0; |
2575 | 45 class Image *progressbar_dungeon;//struct Texture_MM7 pBardata; |
46 class Image *progressbar_loading;//struct Texture_MM7 pLoadingProgress; | |
2572
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
47 |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
48 |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
49 inline GUIProgressBar(): |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
50 loading_bg(nullptr) |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
51 {} |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
52 |
d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents:
2502
diff
changeset
|
53 struct Image *loading_bg; |
2502 | 54 }; |
55 #pragma pack(pop) | |
56 | |
57 | |
58 | |
59 extern struct GUIProgressBar *pGameLoadingUI_ProgressBar; |