Author: ilor
Date: Sun Jul 6 20:01:02 2008
New Revision: 27791
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27791&view=rev
Log:
gui() member function in editor_mouse_handler
Modified:
trunk/src/editor2/editor_mouse_handler.hpp
Modified: trunk/src/editor2/editor_mouse_handler.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_mouse_handler.hpp?rev=27791&r1=27790&r2=27791&view=diff
==============================================================================
--- trunk/src/editor2/editor_mouse_handler.hpp (original)
+++ trunk/src/editor2/editor_mouse_handler.hpp Sun Jul 6 20:01:02 2008
@@ -27,6 +27,7 @@
editor_mouse_handler(editor_display* disp, editor_map& map);
void mouse_motion(int x, int y, const bool browse, bool update);
void set_gui(editor_display* gui);
+ editor_display& gui() { return static_cast<editor_display&>(*gui_); }
};
} //end namespace editor2
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits