pygui: added simple black dot image to represent shadowed nodes in gui

This commit is contained in:
Blake Harnden 2021-01-06 09:57:19 -08:00
parent acaef00087
commit cba86a3da7
3 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

View file

@ -91,7 +91,7 @@ class ShadowNode:
self.node: "CanvasNode" = node
self.id: Optional[int] = None
self.text_id: Optional[int] = None
self.image: PhotoImage = self.app.get_icon(ImageEnum.ROUTER, ICON_SIZE)
self.image: PhotoImage = self.app.get_icon(ImageEnum.SHADOW, ICON_SIZE)
self.draw()
def draw(self) -> None:

View file

@ -90,6 +90,7 @@ class ImageEnum(Enum):
SHUTDOWN = "shutdown"
CANCEL = "cancel"
ERROR = "error"
SHADOW = "shadow"
class TypeToImage: