Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2009, 1:12:13 PM (15 years ago)
Author:
cmueri
Message:

All the menus (inclusive InGameMenus) have an equal design, some menus have a larger window. They should be ready to presentate now.
BUG REPORT in KeyBindMenu: If there are >4 buttons in a row, the GUI doesn't show those correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/AudioMenu.lua

    r6235 r6334  
    3737    effectsmutewindow:setSelected(effectsmute)
    3838    choice = "Default"
    39     dropdownwindow = winMgr:getWindow("orxonox/AudioThemeCombobox")
     39    listboxwindow = winMgr:getWindow("orxonox/AudioThemeListbox")
    4040    local themeList = {}
    4141    table.insert(themeList, "Default")
     
    4444        item = CEGUI.createListboxTextItem(v)       
    4545        item:setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush")
    46         CEGUI.toCombobox(dropdownwindow):addItem(item)
     46        CEGUI.toListbox(listboxwindow):addItem(item)
    4747    end
    48     dropdownwindow:setItemSelectState(0,true)
    4948end
    5049
     
    165164end
    166165
    167 function P.AudioThemeCombobox_changed(e)
    168     if dropdownwindow:isItemSelected(1) then
     166function P.AudioThemeListbox_changed(e)
     167    if listboxwindow:isItemSelected(1) then
    169168        orxonox.CommandExecutor:execute("setMood dnb")
    170169    else
Note: See TracChangeset for help on using the changeset viewer.