pygui: added simple black dot image to represent shadowed nodes in gui
This commit is contained in:
parent
acaef00087
commit
cba86a3da7
3 changed files with 2 additions and 1 deletions
BIN
daemon/core/gui/data/icons/shadow.png
Normal file
BIN
daemon/core/gui/data/icons/shadow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 326 B |
|
@ -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:
|
||||
|
|
|
@ -90,6 +90,7 @@ class ImageEnum(Enum):
|
|||
SHUTDOWN = "shutdown"
|
||||
CANCEL = "cancel"
|
||||
ERROR = "error"
|
||||
SHADOW = "shadow"
|
||||
|
||||
|
||||
class TypeToImage:
|
||||
|
|
Loading…
Reference in a new issue