gds: move datatype attribute to drawable

This commit is contained in:
Julian Daube 2019-07-03 14:40:59 +02:00
parent 7b1d5af4d6
commit b82475a4ab

View File

@ -14,11 +14,11 @@ class Element(object):
def __init__(self): def __init__(self):
self.elflags = 0 self.elflags = 0
self.plex = 0 self.plex = 0
self.datatype = 0
class Drawable(object): class Drawable(object):
def __init__(self): def __init__(self):
self.layer = 0 self.layer = 0
self.datatype = 0
class Boundary(Element, Drawable): class Boundary(Element, Drawable):
def __init__(self): def __init__(self):