# HG changeset patch # User David Anderson # Date 1196016613 0 # Node ID ea875bcbc2869e711a1ade98378f7ce0895894d0 # Parent d9c2d3a9aaa1b3ed1ec0d4b6bcf4ce20599247ef small clarification to param2 in MenuAction_End diff -r d9c2d3a9aaa1 -r ea875bcbc286 plugins/include/menus.inc --- a/plugins/include/menus.inc Sun Nov 25 18:06:49 2007 +0000 +++ b/plugins/include/menus.inc Sun Nov 25 18:50:13 2007 +0000 @@ -54,7 +54,10 @@ MenuAction_Display = (1<<1), /**< A menu is about to be displayed (param1=client, param2=MenuPanel Handle) */ MenuAction_Select = (1<<2), /**< An item was selected (param1=client, param2=item) */ MenuAction_Cancel = (1<<3), /**< The menu was cancelled (param1=client, param2=reason) */ - MenuAction_End = (1<<4), /**< A menu display has fully ended (param1=reason, param2=cancel reason) */ + MenuAction_End = (1<<4), /**< A menu display has fully ended. + param1 is the MenuEnd reason, and if it's MenuEnd_Cancelled, then + param2 is the MenuCancel reason from MenuAction_Cancel. + */ MenuAction_VoteEnd = (1<<5), /**< (VOTE ONLY): A vote sequence has succeeded (param1=chosen item) This is not called if SetVoteResultCallback has been used on the menu. */ MenuAction_VoteStart = (1<<6), /**< (VOTE ONLY): A vote sequence has started (nothing passed) */