Changeset 7689 for code/trunk/data/gui/scripts/GraphicsMenu.lua
- Timestamp:
- Dec 1, 2010, 3:00:19 PM (13 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/GraphicsMenu.lua
r6746 r7689 2 2 3 3 local P = createMenuSheet("GraphicsMenu") 4 5 P.buttonList = {} 6 7 function P.onShow() 8 --indices to iterate through buttonlist (trivial in this menu sheet) 9 P.oldindex = -2 10 P.index = -1 11 end 4 12 5 13 function P.onLoad() … … 83 91 scrollbar_active = false 84 92 block = false 93 94 local item = { 95 ["button"] = winMgr:getWindow("orxonox/GraphicsBackButton"), 96 ["function"] = P.GraphicsBackButton_clicked 97 } 98 P.buttonList[1] = item 85 99 end 86 100 … … 195 209 end 196 210 211 function P.onKeyPressed() 212 buttonIteratorHelper(P.buttonList, code, P, 1, 1) 213 end 214 197 215 return P 198 216
Note: See TracChangeset
for help on using the changeset viewer.