gds: move datatype attribute to drawable
This commit is contained in:
		
							parent
							
								
									7b1d5af4d6
								
							
						
					
					
						commit
						b82475a4ab
					
				@ -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):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user