Changeset 8071 for code/branches/kicklib/data/gui/scripts
- Timestamp:
- Mar 14, 2011, 3:53:38 AM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib
-
code/branches/kicklib/data/gui/scripts/AudioMenu.lua
r7928 r8071 32 32 table.insert(themeList, "Default") 33 33 table.insert(themeList, "Drum n' Bass") 34 table.insert(themeList, "8-Bit Style") 35 table.insert(themeList, "Corny Jazz") 34 36 for k,v in pairs(themeList) do 35 37 item = CEGUI.createListboxTextItem(v) … … 39 41 if orxonox.getConfig("MoodManager", "mood_") == "dnb" then 40 42 listboxwindow:setItemSelectState(1,true) 43 elseif orxonox.getConfig("MoodManager", "mood_") == "eightbit" then 44 listboxwindow:setItemSelectState(2,true) 45 elseif orxonox.getConfig("MoodManager", "mood_") == "jazzy" then 46 listboxwindow:setItemSelectState(3,true) 41 47 else 42 48 listboxwindow:setItemSelectState(0,true) … … 168 174 if listboxwindow:isItemSelected(1) then 169 175 orxonox.config("MoodManager", "mood_", "dnb") 176 elseif listboxwindow:isItemSelected(2) then 177 orxonox.config("MoodManager", "mood_", "eightbit") 178 elseif listboxwindow:isItemSelected(3) then 179 orxonox.config("MoodManager", "mood_", "jazzy") 170 180 else 171 181 orxonox.config("MoodManager", "mood_", "default")
Note: See TracChangeset
for help on using the changeset viewer.