mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
*** empty log message ***
This commit is contained in:
parent
75eb814e05
commit
f58343b852
@ -1,5 +1,8 @@
|
||||
from DirectGuiGlobals import *
|
||||
from DirectGeometry import ROUND_TO
|
||||
import PandaObject
|
||||
import Task
|
||||
import string
|
||||
|
||||
"""
|
||||
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.
|
||||
"""
|
||||
|
||||
class DirectGuiBase(PandaObject):
|
||||
class DirectGuiBase(PandaObject.PandaObject):
|
||||
def __init__(self):
|
||||
# Default id of all gui object, subclasses should override this
|
||||
self.guiId = 'guiObject'
|
||||
|
@ -3,12 +3,12 @@ Global definitions used by Direct Gui Classes and handy constants
|
||||
that can be used during widget construction
|
||||
"""
|
||||
|
||||
from PandaObject import *
|
||||
from PGTop import *
|
||||
from PGButton import *
|
||||
from PandaModules import *
|
||||
#from PGTop import *
|
||||
#from PGButton import *
|
||||
# Import these after PGButton to get actual class definitions
|
||||
from PGItem import *
|
||||
from PGFrameStyle import *
|
||||
#from PGItem import *
|
||||
#from PGFrameStyle import *
|
||||
# Helper classes used as components of Direct Gui Widgets
|
||||
import OnscreenText
|
||||
import OnscreenGeom
|
||||
|
Loading…
x
Reference in New Issue
Block a user