Mercurial > mm7
diff GUI/GUIProgressBar.h @ 2502:a77c34acdbc9
Media folder
author | Ritor1 |
---|---|
date | Fri, 19 Sep 2014 05:13:32 +0600 |
parents | |
children | d87bfbd3bb3b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GUI/GUIProgressBar.h Fri Sep 19 05:13:32 2014 +0600 @@ -0,0 +1,52 @@ +#pragma once +#include "Engine/Graphics/Texture.h" + + +/* 278 */ +#pragma pack(push, 1) +struct GUIProgressBar +{ + enum Type: unsigned __int32 + { + TYPE_None = 0, + TYPE_Fullscreen = 1, + TYPE_Box = 2 + }; + + bool Initialize(Type type); + void Reset(unsigned __int8 uMaxProgress); + void Progress(); + void Release(); + void Draw(); + + __int16 uX; + __int16 uY; + __int16 uWidth; + __int16 uHeight; + char field_8; + char field_9; + char uProgressMax; + char uProgressCurrent; + Type uType; + char field_10[8]; + //char field_11; + //char field_12; + //char field_13; + //char field_14; + //char field_15; + //char field_16; + //char field_17; + RGBTexture pLoadingBg; + RGBTexture field_40; + RGBTexture field_68; + RGBTexture field_90; + RGBTexture field_B8; + struct Texture field_E0; + struct Texture pBardata; + struct Texture pLoadingProgress; +}; +#pragma pack(pop) + + + +extern struct GUIProgressBar *pGameLoadingUI_ProgressBar; \ No newline at end of file