moved coretk under daemon/core/gui

This commit is contained in:
Blake Harnden 2019-12-19 09:30:21 -08:00
parent f13c62a1c9
commit 0b5c94778c
118 changed files with 505 additions and 432 deletions

View file

@ -0,0 +1,23 @@
import enum
class ShapeType(enum.Enum):
MARKER = "marker"
OVAL = "oval"
RECTANGLE = "rectangle"
TEXT = "text"
SHAPES = {ShapeType.OVAL, ShapeType.RECTANGLE}
def is_draw_shape(shape_type):
return shape_type in SHAPES
def is_shape_text(shape_type):
return shape_type == ShapeType.TEXT
def is_marker(shape_type):
return shape_type == ShapeType.MARKER