From 745497dea4cc3d0698d48338c4c7f06eac6769c3 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 1 Oct 2003 15:00:26 +0000 Subject: 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 --- gui/ListWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gui/ListWidget.cpp') 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; -- cgit v1.2.3