diff src/main_gui.cpp @ 8857:a75a0c683fea draft

(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
author rubidium <rubidium@openttd.org>
date Mon, 07 Apr 2008 20:28:58 +0000
parents 104bbcae351d
children b053ca278abe
line wrap: on
line diff
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1214,6 +1214,10 @@
 	WP(w, def_d).data_1 = -1280;
 }
 
+/**
+ * Size of the application screen changed.
+ * Adapt the game screen-size, re-allocate the open windows, and repaint everything
+ */
 void GameSizeChanged()
 {
 	_cur_resolution[0] = _screen.width;