- Timestamp:
- Mar 5, 2011, 5:31:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/SheetManager.lua
r8013 r8018 8 8 local mainMenuLoaded = false 9 9 orxonox.GUIManager:subscribeEventHelper(menuSheetsRoot, "KeyDown", "keyPressed") 10 orxonox.GUIManager:subscribeEventHelper(menuSheetsRoot, "Sized", "windowResized") 10 11 11 12 ----------------------- … … 255 256 end 256 257 258 function windowResized(e) 259 local sheet = activeMenuSheets[activeMenuSheets.size] 260 if sheet then 261 sheet.sheet:windowResized() 262 end 263 end 264 257 265 function setBackgroundImage(imageSet, imageName) 258 266 guiMgr:setBackgroundImage(imageSet, imageName)
Note: See TracChangeset
for help on using the changeset viewer.