mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Separate plOperationProgress titles and statuses.
Now we render titles above the progress bar and the status below (in the same color as the progress bar!). Also, introduce a new info field that is guaranteed to be right justified.
This commit is contained in:
@ -252,12 +252,10 @@ void plNCAgeJoiner::ExecNextOp () {
|
||||
LogMsg(kLogPerf, L"AgeJoiner: Exec:kLoadAge");
|
||||
|
||||
// Start progress bar
|
||||
char str[256];
|
||||
#ifdef PLASMA_EXTERNAL_RELEASE
|
||||
StrCopy(str, "Loading age...", arrsize(str));
|
||||
#else
|
||||
StrPrintf(str, arrsize(str), "Loading age %s...", age.ageDatasetName);
|
||||
#endif
|
||||
char str[128];
|
||||
#ifndef PLASMA_EXTERNAL_RELEASE
|
||||
snprintf(str, arrsize(str), "Loading age... %s", age.ageDatasetName);
|
||||
#endif
|
||||
progressBar = plProgressMgr::GetInstance()->RegisterOperation(0, str, plProgressMgr::kNone, false, true);
|
||||
plDispatch::SetMsgRecieveCallback(IDispatchMsgReceiveCallback);
|
||||
((plResManager*)hsgResMgr::ResMgr())->SetProgressBarProc(IResMgrProgressBarCallback);
|
||||
|
Reference in New Issue
Block a user