Changeset 6406 for code/branches/presentation2/data/gui/scripts
- Timestamp:
- Dec 23, 2009, 8:45:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/AudioMenu.lua
r6403 r6406 45 45 item:setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush") 46 46 CEGUI.toListbox(listboxwindow):addItem(item) 47 end 48 if orxonox.getConfig("MoodManager", "mood_") == "dnb" then 49 listboxwindow:setItemSelectState(1,true) 50 else 51 listboxwindow:setItemSelectState(0,true) 47 52 end 48 53 end … … 166 171 function P.AudioThemeListbox_changed(e) 167 172 if listboxwindow:isItemSelected(1) then 168 orxonox. execute("setMooddnb")173 orxonox.config("MoodManager", "mood_", "dnb") 169 174 else 170 orxonox. execute("setMooddefault")175 orxonox.config("MoodManager", "mood_", "default") 171 176 end 172 177 end
Note: See TracChangeset
for help on using the changeset viewer.