Changeset 11211 for code/branches/ogre1.9/data/gui/scripts/SheetManager.lua
- Timestamp:
- Jul 5, 2016, 11:46:10 PM (8 years ago)
- Location:
- code/branches/ogre1.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ogre1.9
- Property svn:mergeinfo changed
/code/branches/cegui0.8 (added) merged: 11110,11118,11121,11124
- Property svn:mergeinfo changed
-
code/branches/ogre1.9/data/gui/scripts/SheetManager.lua
r11052 r11211 1 1 -- SheetManager.lua 2 2 3 local cursor = CEGUI.MouseCursor:getSingleton() 3 local cursor = CEGUI.System:getSingleton():getDefaultGUIContext():getMouseCursor() 4 --local cursor = CEGUI.MouseCursor:getSingleton() 4 5 local loadedSheets = {} 5 6 local activeMenuSheets = {size = 0, topSheetTuple = nil} … … 107 108 108 109 -- Add sheet to the root window 109 menuSheetsRoot:addChild Window(menuSheet.window)110 menuSheetsRoot:addChild(menuSheet.window) 110 111 111 112 -- If sheet is the MainMenu … … 177 178 178 179 -- Remove sheet with its tuple from the table 179 menuSheetsRoot:removeChild Window(sheetTuple.sheet.window)180 menuSheetsRoot:removeChild(sheetTuple.sheet.window) 180 181 table.remove(activeMenuSheets, table.findIndex(activeMenuSheets, sheetTuple)) 181 182 activeMenuSheets[name] = nil
Note: See TracChangeset
for help on using the changeset viewer.