Changeset 7689 for code/trunk/data/gui/scripts/AudioMenu.lua
- Timestamp:
- Dec 1, 2010, 3:00:19 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/menu merged: 7587-7588,7594,7607-7608,7649,7663,7670-7671,7687
- Property svn:mergeinfo changed
-
code/trunk/data/gui/scripts/AudioMenu.lua
r6746 r7689 2 2 3 3 local P = createMenuSheet("AudioMenu") 4 5 P.buttonList = {} 6 7 function P.onShow() 8 P.oldindex = -2 9 P.index = -1 10 end 4 11 5 12 function P.onLoad() … … 42 49 listboxwindow:setItemSelectState(0,true) 43 50 end 51 52 local item = { 53 ["button"] = winMgr:getWindow("orxonox/AudioBackButton"), 54 ["function"] = P.AudioBackButton_clicked 55 } 56 P.buttonList[1] = item 44 57 end 45 58 … … 172 185 end 173 186 187 function P.onKeyPressed() 188 buttonIteratorHelper(P.buttonList, code, P, 1, 1) 189 end 190 174 191 return P 175 192
Note: See TracChangeset
for help on using the changeset viewer.