Changeset 7663 for code/branches/menu/data/gui/scripts/CreditsMenu.lua
- Timestamp:
- Nov 24, 2010, 3:33:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/menu/data/gui/scripts/CreditsMenu.lua
r6746 r7663 2 2 3 3 local P = createMenuSheet("CreditsMenu") 4 5 P.buttonList = {} 6 7 function P.onLoad() 8 local item = { 9 ["button"] = winMgr:getWindow("orxonox/CreditsBackButton"), 10 ["function"] = P.CreditsBackButton_clicked 11 } 12 P.buttonList[1] = item 13 end 14 15 function P.onShow() 16 P.oldindex = -2 17 P.index = -1 18 end 4 19 5 20 function P.CreditsBackButton_clicked(e) … … 7 22 end 8 23 24 function P.onKeyPressed() 25 buttonIteratorHelper(P.buttonList, code, P, 1, 1) 26 end 27 9 28 return P 10 29
Note: See TracChangeset
for help on using the changeset viewer.