Author: mordante
Date: Tue Aug 19 21:55:59 2008
New Revision: 28773
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28773&view=rev
Log:
The redrawing of the listbox bar and buttons seem to be broken, only drawn once
and never updated afterwards. Add a hack to fix the bar problem before 1.5.3, a
real fix will follow later.
Modified:
trunk/src/gui/widgets/listbox.cpp
Modified: trunk/src/gui/widgets/listbox.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/listbox.cpp?rev=28773&r1=28772&r2=28773&view=diff
==============================================================================
--- trunk/src/gui/widgets/listbox.cpp (original)
+++ trunk/src/gui/widgets/listbox.cpp Tue Aug 19 21:55:59 2008
@@ -365,6 +365,13 @@
// Inherited.
tcontainer_::draw(surface, force, invalidate_background);
+ /**
+ * @todo there seems to be a redraw bug with the scrollbar. Since we're
in
+ * a rush for a release just force a redraw. The buttons are also broken
+ * but less important so leave them.
+ */
+ scrollbar()->draw(surface, true, true);
+
if(invalidate_background) {
list_background_.assign(NULL);
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits