(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
authorbelugas
Thu, 19 Jun 2008 20:04:24 +0000
changeset 11032 09c3602e12e9
parent 11031 ff45fd174578
child 11033 6a43b13fbe18
(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
src/toolbar_gui.cpp
--- a/src/toolbar_gui.cpp	Thu Jun 19 19:58:30 2008 +0000
+++ b/src/toolbar_gui.cpp	Thu Jun 19 20:04:24 2008 +0000
@@ -1611,6 +1611,11 @@
 { WIDGETS_END},
 };
 
+/** Shows the list of players appearing under the buttons that are linked to options for
+ * multiple players.
+ * @param parent Window who triggered that action.  It's the toolbar, in fact
+ * @param main_button widget which has been used
+ * @param gray bit-mapping of the items that will need to be grayed out once displayed */
 static void PopupMainPlayerToolbMenu(Window *parent, int main_button, int gray)
 {
 	parent->LowerWidget(main_button);