[Scummvm-cvs-logs] SF.net SVN: scummvm: [29971] scummvm/trunk/gui
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Dec 24 04:01:21 CET 2007
Revision: 29971
http://scummvm.svn.sourceforge.net/scummvm/?rev=29971&view=rev
Author: lordhoto
Date: 2007-12-23 19:01:21 -0800 (Sun, 23 Dec 2007)
Log Message:
-----------
Fix for bug #1670082 "GUI: Modern theme gfx glitch in launcher".
Modified Paths:
--------------
scummvm/trunk/gui/ListWidget.cpp
scummvm/trunk/gui/themes/modern.ini
Modified: scummvm/trunk/gui/ListWidget.cpp
===================================================================
--- scummvm/trunk/gui/ListWidget.cpp 2007-12-24 02:59:23 UTC (rev 29970)
+++ scummvm/trunk/gui/ListWidget.cpp 2007-12-24 03:01:21 UTC (rev 29971)
@@ -41,7 +41,7 @@
// This ensures that _entriesPerPage is properly initialised.
reflowLayout();
- _scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth, 0, _scrollBarWidth, _h);
+ _scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth + 1, 0, _scrollBarWidth, _h);
_scrollBar->setTarget(this);
setFlags(WIDGET_ENABLED | WIDGET_CLEARBG | WIDGET_RETAIN_FOCUS | WIDGET_WANT_TICKLE);
@@ -472,7 +472,7 @@
_textWidth[i] = 0;
if (_scrollBar) {
- _scrollBar->resize(_w - _scrollBarWidth, 0, _scrollBarWidth, _h);
+ _scrollBar->resize(_w - _scrollBarWidth + 1, 0, _scrollBarWidth, _h);
scrollBarRecalc();
scrollToCurrent();
}
Modified: scummvm/trunk/gui/themes/modern.ini
===================================================================
--- scummvm/trunk/gui/themes/modern.ini 2007-12-24 02:59:23 UTC (rev 29970)
+++ scummvm/trunk/gui/themes/modern.ini 2007-12-24 03:01:21 UTC (rev 29971)
@@ -576,6 +576,7 @@
use=colors
use=gradients
use=extra
+shadow_right_width=1
pix_checkbox_empty="checkbox_empty320.bmp"
pix_checkbox_checked="checkbox_checked320.bmp"
pix_cursor_image="cursor320.bmp"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list