From 14b7d027a24391b39e29b7168b8d67b2b6ebffae Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 8 Nov 2003 23:22:16 +0000 Subject: cleanup whitespaces svn-id: r11223 --- gui/widget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gui/widget.cpp') diff --git a/gui/widget.cpp b/gui/widget.cpp index 75254fcfe9..d651bf9475 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -42,7 +42,7 @@ void Widget::draw() { if (!isVisible() || !_boss->isVisible()) return; - + int oldX = _x, oldY = _y; // Account for our relative position in the dialog @@ -140,8 +140,8 @@ void ButtonWidget::handleMouseUp(int x, int y, int button, int clickCount) { void ButtonWidget::drawWidget(bool hilite) { NewGui *gui = &g_gui; gui->drawString(_label, _x, _y, _w, - !isEnabled() ? gui->_color : - hilite ? gui->_textcolorhi : gui->_textcolor, _align); + !isEnabled() ? gui->_color : + hilite ? gui->_textcolorhi : gui->_textcolor, _align); } #pragma mark - @@ -249,8 +249,8 @@ void SliderWidget::drawWidget(bool hilite) { // Draw the 'bar' gui->fillRect(_x + _labelWidth + 2, _y + 2, valueToPos(_value), _h - 4, - !isEnabled() ? gui->_color : - hilite ? gui->_textcolorhi : gui->_textcolor); + !isEnabled() ? gui->_color : + hilite ? gui->_textcolorhi : gui->_textcolor); } int SliderWidget::valueToPos(int value) { -- cgit v1.2.3