Changeset 6773 for code/branches/gamestates3/data/gui/scripts/GUITools.lua
- Timestamp:
- Apr 23, 2010, 11:41:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates3/data/gui/scripts/GUITools.lua
r6746 r6773 3 3 function createMenuSheet(name, bHidePrevious, tShowCursor, tUseKeyboard, bBlockJoyStick) 4 4 local sheet = require("MenuSheet").new(name, bHidePrevious, tShowCursor, tUseKeyboard, bBlockJoyStick) 5 global(sheet.name) 5 6 _G[sheet.name] = sheet -- Global access required because of the event handlers 6 7 return sheet
Note: See TracChangeset
for help on using the changeset viewer.