- Timestamp:
- Dec 13, 2009, 1:12:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/AudioMenu.lua
r6235 r6334 37 37 effectsmutewindow:setSelected(effectsmute) 38 38 choice = "Default" 39 dropdownwindow = winMgr:getWindow("orxonox/AudioThemeCombobox")39 listboxwindow = winMgr:getWindow("orxonox/AudioThemeListbox") 40 40 local themeList = {} 41 41 table.insert(themeList, "Default") … … 44 44 item = CEGUI.createListboxTextItem(v) 45 45 item:setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush") 46 CEGUI.to Combobox(dropdownwindow):addItem(item)46 CEGUI.toListbox(listboxwindow):addItem(item) 47 47 end 48 dropdownwindow:setItemSelectState(0,true)49 48 end 50 49 … … 165 164 end 166 165 167 function P.AudioTheme Combobox_changed(e)168 if dropdownwindow:isItemSelected(1) then166 function P.AudioThemeListbox_changed(e) 167 if listboxwindow:isItemSelected(1) then 169 168 orxonox.CommandExecutor:execute("setMood dnb") 170 169 else
Note: See TracChangeset
for help on using the changeset viewer.