*** empty log message ***

This commit is contained in:
Mike Goslin 2000-12-08 03:53:28 +00:00
parent 8cf6081f66
commit 4c0f5a41f7
4 changed files with 76 additions and 54 deletions

View File

@ -37,6 +37,12 @@ class OnscreenText(PandaObject, NodePath):
# assume 4:3 aspect ratio
self.setScale( 0.069, 1.0, 0.069)
def __del__(self):
"""__del__(self)
"""
del(self.textNode)
NodePath.__del__(self)
return None
def setText(self, string):
"""setText(self, string)

View File

@ -33,6 +33,12 @@ class PickList(PandaObject.PandaObject):
# display the menu
self.__displayChoices(choiceList)
def __del__(self):
"""__del__(self)
"""
self.cleanup()
return None
def cleanup(self):
"""cleanup(self)
Remove events and cleanup the display

View File

@ -79,6 +79,16 @@ class ScrollingLabel(PandaObject.PandaObject):
# refresh the frame
self.frame.recompute()
def __del__(self):
"""__del__(self)
"""
self.cleanup()
del(self.label)
del(self.title)
del(self.itemSign)
del(self.leftButton)
del(self.rightButton)
return None
def cleanup(self):
# remove gui items