mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Add support for external resource Linking and Update text.
This commit is contained in:
@ -14,8 +14,6 @@
|
|||||||
#define IDD_URULOGIN_EULA 154
|
#define IDD_URULOGIN_EULA 154
|
||||||
#define IDD_AUTHFAILED 155
|
#define IDD_AUTHFAILED 155
|
||||||
#define IDD_AUTHENTICATING 156
|
#define IDD_AUTHENTICATING 156
|
||||||
#define IDR_LOADING_LINKTEXT 195
|
|
||||||
#define IDR_LOADING_UPDATETEXT 196
|
|
||||||
#define IDC_CRASHINFO 1001
|
#define IDC_CRASHINFO 1001
|
||||||
#define IDC_COPY 1002
|
#define IDC_COPY 1002
|
||||||
#define IDC_MSG 1003
|
#define IDC_MSG 1003
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
@ -68,7 +68,7 @@ void plDTProgressMgr::Activate()
|
|||||||
{
|
{
|
||||||
plPlateManager::Instance().CreatePlate(&fStaticTextPlate);
|
plPlateManager::Instance().CreatePlate(&fStaticTextPlate);
|
||||||
|
|
||||||
fStaticTextPlate->CreateFromJPEGResource(MAKEINTRESOURCE(plProgressMgr::GetStaticTextID(fCurrentStaticText)), 0);
|
fStaticTextPlate->CreateFromResource(plProgressMgr::GetStaticTextID(fCurrentStaticText));
|
||||||
fStaticTextPlate->SetVisible(true);
|
fStaticTextPlate->SetVisible(true);
|
||||||
fStaticTextPlate->SetOpacity(1.0f);
|
fStaticTextPlate->SetOpacity(1.0f);
|
||||||
fStaticTextPlate->SetSize(2 * 0.192f, 2 * 0.041f, true);
|
fStaticTextPlate->SetSize(2 * 0.192f, 2 * 0.041f, true);
|
||||||
|
@ -55,9 +55,9 @@ plProgressMgr *plProgressMgr::fManager = nil;
|
|||||||
|
|
||||||
char* plProgressMgr::fImageRotation[LOADING_RES_COUNT];
|
char* plProgressMgr::fImageRotation[LOADING_RES_COUNT];
|
||||||
|
|
||||||
int plProgressMgr::fStaticTextIDs[] = {
|
char* plProgressMgr::fStaticTextIDs[] = {
|
||||||
0,
|
"xLoading_Linking_Text.png",
|
||||||
IDR_LOADING_UPDATETEXT,
|
"xLoading_Updating_Text.png"
|
||||||
};
|
};
|
||||||
|
|
||||||
//// Constructor & Destructor ////////////////////////////////////////////////
|
//// Constructor & Destructor ////////////////////////////////////////////////
|
||||||
@ -234,7 +234,7 @@ char* plProgressMgr::GetLoadingFrameID(int index)
|
|||||||
return fImageRotation[0];
|
return fImageRotation[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
int plProgressMgr::GetStaticTextID(StaticText staticTextType)
|
char* plProgressMgr::GetStaticTextID(StaticText staticTextType)
|
||||||
{
|
{
|
||||||
return fStaticTextIDs[staticTextType];
|
return fStaticTextIDs[staticTextType];
|
||||||
}
|
}
|
||||||
|
@ -181,7 +181,7 @@ class plProgressMgr
|
|||||||
|
|
||||||
static plProgressMgr *fManager;
|
static plProgressMgr *fManager;
|
||||||
static char* fImageRotation[];
|
static char* fImageRotation[];
|
||||||
static int fStaticTextIDs[];
|
static char* fStaticTextIDs[];
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ class plProgressMgr
|
|||||||
|
|
||||||
static plProgressMgr* GetInstance() { return fManager; }
|
static plProgressMgr* GetInstance() { return fManager; }
|
||||||
static char* GetLoadingFrameID(int index);
|
static char* GetLoadingFrameID(int index);
|
||||||
static int GetStaticTextID(StaticText staticTextType);
|
static char* GetStaticTextID(StaticText staticTextType);
|
||||||
|
|
||||||
virtual void Draw( plPipeline *p ) { }
|
virtual void Draw( plPipeline *p ) { }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user