diff options
author | Jonathan Gray | 2003-10-01 15:00:26 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-10-01 15:00:26 +0000 |
commit | 745497dea4cc3d0698d48338c4c7f06eac6769c3 (patch) | |
tree | dd65147964a5c1e67fdec4591ae6a8fe3cb477d0 /gui/ListWidget.cpp | |
parent | 9bab58179de824c5bfcbd4249dadc827a27e4d55 (diff) | |
download | scummvm-rg350-745497dea4cc3d0698d48338c4c7f06eac6769c3.tar.gz scummvm-rg350-745497dea4cc3d0698d48338c4c7f06eac6769c3.tar.bz2 scummvm-rg350-745497dea4cc3d0698d48338c4c7f06eac6769c3.zip |
vline -> vLine, hline-> hLine, slightly more in line with ScummVM naming style and more importantly doesn't conflict with the vline and hline Allegro functions
svn-id: r10520
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r-- | gui/ListWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 3efb7254aa..50f3a724e2 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -258,9 +258,9 @@ void ListWidget::drawWidget(bool hilite) { ScummVM::String buffer; // Draw a thin frame around the list. - gui->hline(_x, _y, _x + _w - 1, gui->_color); - gui->hline(_x, _y + _h - 1, _x + _w - 1, gui->_shadowcolor); - gui->vline(_x, _y, _y + _h - 1, gui->_color); + gui->hLine(_x, _y, _x + _w - 1, gui->_color); + gui->hLine(_x, _y + _h - 1, _x + _w - 1, gui->_shadowcolor); + gui->vLine(_x, _y, _y + _h - 1, gui->_color); // Draw the list items for (i = 0, pos = _currentPos; i < _entriesPerPage && pos < len; i++, pos++) { @@ -310,7 +310,7 @@ void ListWidget::drawCaret(bool erase) { x += gui->getStringWidth(buffer); - gui->vline(x, y, y+kLineHeight, color); + gui->vLine(x, y, y+kLineHeight, color); gui->addDirtyRect(x, y, 2, kLineHeight); _caretVisible = !erase; |