Changeset 7927 for code/branches/usability/data/gui
- Timestamp:
- Feb 20, 2011, 3:31:35 AM (14 years ago)
- Location:
- code/branches/usability/data/gui/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/GUISheet.lua
r7926 r7927 24 24 end 25 25 26 -- Override this function if you need to do work just after the sheet has been hidden27 function P:on AfterHide()26 -- Override this function if you need to do work on quit 27 function P:onQuit() 28 28 end 29 29 … … 49 49 end 50 50 51 function P: afterHide()51 function P:quit() 52 52 -- reset the selected button 53 53 if self.buttons then … … 55 55 end 56 56 57 self:on AfterHide()57 self:onQuit() 58 58 end 59 59 -
code/branches/usability/data/gui/scripts/NotificationLayer.lua
r7922 r7927 333 333 334 334 -- Is called after the sheet has been hidden. 335 function P.on AfterHide()335 function P.onQuit() 336 336 -- If we leave the edit mode we show the sheet again. 337 337 if P.editMode then -
code/branches/usability/data/gui/scripts/SheetManager.lua
r7926 r7927 207 207 end 208 208 209 sheetTuple.sheet: afterHide()209 sheetTuple.sheet:quit() 210 210 end 211 211
Note: See TracChangeset
for help on using the changeset viewer.