diff options
author | Martin Kiewitz | 2010-01-31 18:01:49 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-31 18:01:49 +0000 |
commit | 699a525db4f932095bd5b2033b4293446e1e30cf (patch) | |
tree | f5affaff67fb9abc3fb9396ffa799308bc44b5a9 /engines/sci/graphics/text.cpp | |
parent | 299fb1a9cc893ee895b40a17a02dc82906cca558 (diff) | |
download | scummvm-rg350-699a525db4f932095bd5b2033b4293446e1e30cf.tar.gz scummvm-rg350-699a525db4f932095bd5b2033b4293446e1e30cf.tar.bz2 scummvm-rg350-699a525db4f932095bd5b2033b4293446e1e30cf.zip |
SCI: removing unused DrawChar()/StdChar() from text class
svn-id: r47765
Diffstat (limited to 'engines/sci/graphics/text.cpp')
-rw-r--r-- | engines/sci/graphics/text.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/engines/sci/graphics/text.cpp b/engines/sci/graphics/text.cpp index 3c19b76758..480c1af971 100644 --- a/engines/sci/graphics/text.cpp +++ b/engines/sci/graphics/text.cpp @@ -105,23 +105,6 @@ void Text::ClearChar(int16 chr) { _paint16->eraseRect(rect); } -void Text::DrawChar(int16 chr) { - chr = chr & 0xFF; - ClearChar(chr); - StdChar(chr); - _ports->_curPort->curLeft += GetFont()->getCharWidth(chr); -} - -void Text::StdChar(int16 chr) { -#if 0 - CResFont*res = getResFont(); - if (res) - res->Draw(chr, _curPort->top + _curPort->curTop, _curPort->left - + _curPort->curLeft, _vSeg, 320, _curPort->penClr, - _curPort->textFace); -#endif -} - // This internal function gets called as soon as a '|' is found in a text // It will process the encountered code and set new font/set color // We only support one-digit codes currently, don't know if multi-digit codes are possible |