Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 16, 2010, 3:01:06 PM (14 years ago)
Author:
rgrieder
Message:

Added onShow and onHide as overridable methods to GUISheet.lua
and applied it in PickupInventory.lua.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/scripts/PickupInventory.lua

    r6746 r6747  
    1111end
    1212
    13 function P.show()
    14     P.window:show() -- TODO: Do this through parent...
    15     P.bVisible = true
    16    
     13function P.onShow()
    1714    P.createInventory()
    18 
    19 end
    20 
    21 function P.hide()
     15end
     16
     17function P.onHide()
    2218    P.cleanup()
    23    
    2419end
    2520
Note: See TracChangeset for help on using the changeset viewer.