comparison GUI/GUIProgressBar.h @ 2502:a77c34acdbc9

Media folder
author Ritor1
date Fri, 19 Sep 2014 05:13:32 +0600
parents
children d87bfbd3bb3b
comparison
equal deleted inserted replaced
2501:0ff6a9e9bf7f 2502:a77c34acdbc9
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;
39 RGBTexture pLoadingBg;
40 RGBTexture field_40;
41 RGBTexture field_68;
42 RGBTexture field_90;
43 RGBTexture field_B8;
44 struct Texture field_E0;
45 struct Texture pBardata;
46 struct Texture pLoadingProgress;
47 };
48 #pragma pack(pop)
49
50
51
52 extern struct GUIProgressBar *pGameLoadingUI_ProgressBar;