Changeset 6747 for code/trunk/data/gui/scripts/GUISheet.lua
- Timestamp:
- Apr 16, 2010, 3:01:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/GUISheet.lua
r6746 r6747 16 16 end 17 17 18 -- show function for the GUI 19 function P:show() 20 self.window:show() 21 self.bVisible = true 22 23 self:onShow() 24 end 25 26 -- Override this function if you need to do work on show 27 function P:onShow() 28 end 29 18 30 -- hide function for the GUI 19 31 function P:hide() 20 32 self.window:hide() 21 33 self.bVisible = false 34 35 self:onHide() 22 36 end 23 37 24 -- show function for the GUI 25 function P:show() 26 self.window:show() 27 self.bVisible = true 38 -- Override this function if you need to do work on hide 39 function P:onHide() 28 40 end 29 41
Note: See TracChangeset
for help on using the changeset viewer.