Changeset 215 for trunk/lingosource/castlib1/OSCmenu_Utilities.ls
- Timestamp:
- 12/15/08 13:00:15 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/OSCmenu_Utilities.ls (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/OSCmenu_Utilities.ls
r198 r215 1 -- OSCmenu_Utilities 2 ----------------------------------- 3 -- CREATED: 4 -- 14.12.2008 5 -- 6 -- DESCRIPTION: 7 -- This Script defines the contents of the Utilities menu 8 -- the handler mShowOSCMenu builds a list with menu entries and corresponding handler calls 9 -- there are two lists: 10 -- one hierarchical list with only the menu items text 11 -- and one flat property list which acts as lookup list for each item 12 -- The lookup list "translates" the text of a menu entry to the corresponding function 13 -- and "knows" in which scriptmember that function can be found 14 -- so the syntax is: 15 -- ["Menu title": ["function name with paramters", "name of the scriptmember to instantiate"]] 16 -- 17 -- REQUIRES: 18 -- script "aleXtrasMovieScript" as provider for library scripts -> xscr() 19 -- script "commonMovieScript" to get the globallist -> mGetGlobalList 20 -- 21 -- USAGE: 22 -- 23 ----------------------------------- 24 1 25 property pCallerSprite 2 26 property pCallBackParams
Note: See TracChangeset
for help on using the changeset viewer.
