This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pya | |
global display | |
class Display(object): | |
def __init__(self): | |
self.view_index = None | |
def show(self, layout): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pya | |
global canvas | |
class Canvas(object): | |
def __init__(self, layer = pya.LayerInfo(1, 0)): | |
self.layer = layer | |
def _layout(self): |