Author: mordante
Date: Sun Jan 17 12:08:02 2010
New Revision: 40722
URL: http://svn.gna.org/viewcvs/wesnoth?rev=40722&view=rev
Log:
Add a getter for need_layout_.
This will be used in the MP lobby.
Modified:
trunk/src/gui/widgets/window.hpp
Modified: trunk/src/gui/widgets/window.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window.hpp?rev=40722&r1=40721&r2=40722&view=diff
==============================================================================
--- trunk/src/gui/widgets/window.hpp (original)
+++ trunk/src/gui/widgets/window.hpp Sun Jan 17 12:08:02 2010
@@ -360,6 +360,8 @@
static void set_sunset(const unsigned interval)
{ sunset_ = interval ? interval : 5; }
+ bool get_need_layout() const { return need_layout_; }
+
private:
/** Needed so we can change what's drawn on the screen. */
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits