diff options
author | Strangerke | 2013-02-07 18:12:32 +0100 |
---|---|---|
committer | Strangerke | 2013-02-07 18:12:32 +0100 |
commit | 0f25a607493406d9f6be6b2c7a4bad5fb874886e (patch) | |
tree | 1e0453e20a39b836550a9cc06cc44337c890bd8c | |
parent | e96edd8b19835102bcfd44190e1d6733d3322abe (diff) | |
download | scummvm-rg350-0f25a607493406d9f6be6b2c7a4bad5fb874886e.tar.gz scummvm-rg350-0f25a607493406d9f6be6b2c7a4bad5fb874886e.tar.bz2 scummvm-rg350-0f25a607493406d9f6be6b2c7a4bad5fb874886e.zip |
HOPKINS: Improve private/public scope in FontMAnager
-rw-r--r-- | engines/hopkins/computer.h | 1 | ||||
-rw-r--r-- | engines/hopkins/font.h | 20 |
2 files changed, 12 insertions, 9 deletions
diff --git a/engines/hopkins/computer.h b/engines/hopkins/computer.h index 41ed902a2a..b46fdd16b0 100644 --- a/engines/hopkins/computer.h +++ b/engines/hopkins/computer.h @@ -100,6 +100,7 @@ private: public: ComputerManager(); void setParent(HopkinsEngine *vm); + void showComputer(ComputerEnum mode); }; diff --git a/engines/hopkins/font.h b/engines/hopkins/font.h index 3a81361de1..0d31324421 100644 --- a/engines/hopkins/font.h +++ b/engines/hopkins/font.h @@ -59,29 +59,31 @@ struct TxtItemList { class FontManager { private: HopkinsEngine *_vm; -public: - TxtItem _text[12]; - TxtItemList _textList[12]; + + void setTextColor(int idx, byte colByte); + void displayText(int xp, int yp, const Common::String &message, int col); + int _textSortArray[21]; Common::String _oldName; Common::String _indexName; int _index[4048]; byte *_tempText; + public: + TxtItem _text[12]; + TxtItemList _textList[12]; + FontManager(); void setParent(HopkinsEngine *vm); - void clearAll(); + void clearAll(); void showText(int idx); void hideText(int idx); - void setTextColor(int idx, byte colByte); - void setOptimalColor(int idx1, int idx2, int idx3, int idx4); void initTextBuffers(int idx, int messageId, const Common::String &filename, int xp, int yp, int textType, int length, int color); - void box(int idx, int messageId, const Common::String &filename, int xp, int yp); - void displayTextVesa(int xp, int yp, const Common::String &message, int col); - void displayText(int xp, int yp, const Common::String &message, int col); void renderTextDisplay(int xp, int yp, const Common::String &msg, int col); + void setOptimalColor(int idx1, int idx2, int idx3, int idx4); + void box(int idx, int messageId, const Common::String &filename, int xp, int yp); }; } // End of namespace Hopkins |