Changeset 9214 for code/branches/sound2012/data/gui
- Timestamp:
- May 18, 2012, 4:14:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound2012/data/gui/scripts/AudioMenu.lua
r8351 r9214 34 34 table.insert(themeList, "8-Bit Style") 35 35 table.insert(themeList, "Corny Jazz") 36 table.insert(themeList, "Metal") 36 37 for k,v in pairs(themeList) do 37 38 item = CEGUI.createListboxTextItem(v) … … 45 46 elseif orxonox.getConfig("MoodManager", "mood_") == "jazzy" then 46 47 listboxwindow:setItemSelectState(3,true) 48 elseif orxonox.getConfig("MoodManager", "mood_") == "metal" then 49 listboxwindow:setItemSelectState(4,true) 47 50 else 48 51 listboxwindow:setItemSelectState(0,true) … … 178 181 elseif listboxwindow:isItemSelected(3) then 179 182 orxonox.config("MoodManager", "mood_", "jazzy") 183 elseif listboxwindow:isItemSelected(4) then 184 orxonox.config("MoodManager", "mood_", "metal") 180 185 else 181 186 orxonox.config("MoodManager", "mood_", "default")
Note: See TracChangeset
for help on using the changeset viewer.