Mercurial > mm7
view 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 |
line wrap: on
line source
#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; // 18 //RGBTexture field_40; //RGBTexture field_68; //RGBTexture field_90; //RGBTexture field_B8; struct Texture_MM7 field_E0; class Image *progressbar_dungeon;//struct Texture_MM7 pBardata; class Image *progressbar_loading;//struct Texture_MM7 pLoadingProgress; inline GUIProgressBar(): loading_bg(nullptr) {} struct Image *loading_bg; }; #pragma pack(pop) extern struct GUIProgressBar *pGameLoadingUI_ProgressBar;