Changeset 6747 for code/trunk/data/gui/scripts
- Timestamp:
- Apr 16, 2010, 3:01:06 PM (15 years ago)
- Location:
- code/trunk/data/gui/scripts
- Files:
-
- 2 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 -
code/trunk/data/gui/scripts/PickupInventory.lua
r6746 r6747 11 11 end 12 12 13 function P.show() 14 P.window:show() -- TODO: Do this through parent... 15 P.bVisible = true 16 13 function P.onShow() 17 14 P.createInventory() 18 19 end 20 21 function P.hide() 15 end 16 17 function P.onHide() 22 18 P.cleanup() 23 24 19 end 25 20
Note: See TracChangeset
for help on using the changeset viewer.