Changeset 8041
- Timestamp:
- Mar 7, 2011, 9:58:46 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/HostMenu.lua
r8040 r8041 29 29 function P.onShow() 30 30 if P.showAll ~= orxonox.GUIManager:inDevMode() then 31 local window = winMgr:getWindow("orxonox/SingleplayerShowAllCheckbox") 32 local button = tolua.cast(window,"CEGUI::Checkbox") 33 P.showAll = not P.showAll 34 button:setSelected(P.showAll) 35 P.createLevelList() 36 end 37 end 38 39 function P.onShow() 40 if P.showAll ~= orxonox.GUIManager:inDevMode() then 41 local window = winMgr:getWindow("orxonox/SingleplayerShowAllCheckbox") 31 local window = winMgr:getWindow("orxonox/MultiplayerShowAllCheckbox") 42 32 local button = tolua.cast(window,"CEGUI::Checkbox") 43 33 P.showAll = not P.showAll
Note: See TracChangeset
for help on using the changeset viewer.