*** empty log message ***

This commit is contained in:
Joe Shochet 2001-07-12 07:06:58 +00:00
parent 75eb814e05
commit f58343b852
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,8 @@
from DirectGuiGlobals import * from DirectGuiGlobals import *
from DirectGeometry import ROUND_TO from DirectGeometry import ROUND_TO
import PandaObject
import Task
import string
""" """
Base class for all Direct Gui items. Handles composite widgets and Base class for all Direct Gui items. Handles composite widgets and
@ -86,7 +89,7 @@ Code Overview:
are left unused. If so, an error is raised. are left unused. If so, an error is raised.
""" """
class DirectGuiBase(PandaObject): class DirectGuiBase(PandaObject.PandaObject):
def __init__(self): def __init__(self):
# Default id of all gui object, subclasses should override this # Default id of all gui object, subclasses should override this
self.guiId = 'guiObject' self.guiId = 'guiObject'

View File

@ -3,12 +3,12 @@ Global definitions used by Direct Gui Classes and handy constants
that can be used during widget construction that can be used during widget construction
""" """
from PandaObject import * from PandaModules import *
from PGTop import * #from PGTop import *
from PGButton import * #from PGButton import *
# Import these after PGButton to get actual class definitions # Import these after PGButton to get actual class definitions
from PGItem import * #from PGItem import *
from PGFrameStyle import * #from PGFrameStyle import *
# Helper classes used as components of Direct Gui Widgets # Helper classes used as components of Direct Gui Widgets
import OnscreenText import OnscreenText
import OnscreenGeom import OnscreenGeom