ZVISION: Implement method for visual output of some info
This commit is contained in:
parent
f658a5c8e6
commit
db5e2adc58
2 changed files with 8 additions and 0 deletions
|
@ -472,4 +472,10 @@ bool ZVision::ifQuit() {
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
void ZVision::showDebugMsg(const Common::String &msg, int16 delay) {
|
||||||
|
uint16 msgid = _renderManager->createSubArea();
|
||||||
|
_renderManager->updateSubArea(msgid, msg);
|
||||||
|
_renderManager->deleteSubArea(msgid, delay);
|
||||||
|
}
|
||||||
|
|
||||||
} // End of namespace ZVision
|
} // End of namespace ZVision
|
||||||
|
|
|
@ -190,6 +190,8 @@ public:
|
||||||
|
|
||||||
bool ifQuit();
|
bool ifQuit();
|
||||||
|
|
||||||
|
void showDebugMsg(const Common::String &msg, int16 delay = 3000);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initialize();
|
void initialize();
|
||||||
void initFonts();
|
void initFonts();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue