ZVISION: Implement method for visual output of some info

This commit is contained in:
Marisa-Chan 2014-11-12 15:40:54 +06:00
parent f658a5c8e6
commit db5e2adc58
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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();