Changeset 8018 for code/branches/usability/data/gui/scripts/GUISheet.lua
- Timestamp:
- Mar 5, 2011, 5:31:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/GUISheet.lua
r7928 r8018 26 26 -- Override this function if you need to do work on quit 27 27 function P:onQuit() 28 end 29 30 -- Override this function if you want to react on keystrokes 31 function P:onKeyPressed() 32 end 33 34 -- Override this function if you want to update the gui after the window was resized 35 function P:onWindowResized() 28 36 end 29 37 … … 92 100 end 93 101 94 self .onKeyPressed()95 end 96 97 -- Override this function if you want to ract on keystrokes 98 function P:onKeyPressed()102 self:onKeyPressed() 103 end 104 105 function P:windowResized() 106 self:onWindowResized() 99 107 end 100 108
Note: See TracChangeset
for help on using the changeset viewer.