- Timestamp:
- Feb 16, 2016, 10:10:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8/data/gui/scripts/SheetManager.lua
r11052 r11118 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.