Changeset 8033 for code/branches/usability/data
- Timestamp:
- Mar 6, 2011, 2:30:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/SheetManager.lua
r8032 r8033 89 89 ["sheet"] = menuSheet, 90 90 ["bHidePrevious"] = bHidePrevious, 91 ["bNoInput"] = bNoInput 91 ["bNoInput"] = bNoInput, 92 ["name"] = name 92 93 } 93 94 table.insert(activeMenuSheets, sheetTuple) -- indexed array access … … 298 299 end 299 300 301 function getGUIFirstActive(name, bHidePrevious, bNoInput) 302 local sheet = activeMenuSheets.topSheetTuple 303 -- If the topmost gui sheet has the input name 304 if sheet ~= nil and sheet.name == name then 305 guiMgr:toggleGUIHelper(name, bHidePrevious, bNoInput, false); 306 else 307 guiMgr:toggleGUIHelper(name, bHidePrevious, bNoInput, true); 308 end 309 end 310 300 311 ---------------------- 301 312 --- Initialisation ---
Note: See TracChangeset
for help on using the changeset viewer.