add <image> widget

This commit is contained in:
galister
2025-12-23 22:10:46 +09:00
parent 17453ae1d9
commit b352269556
19 changed files with 686 additions and 26 deletions

View File

@@ -265,7 +265,7 @@ enum SubcommandPanelModify {
/// Color in HTML hex format (#rrggbb or #rrggbbaa)
hex_color: String,
},
/// Set the content of a sprite
/// Set the content of a <sprite> or <image>. Max size for <sprite> is 256x256.
SetSprite {
/// Absolute path to a svg, gif, png, jpeg or webp image.
absolute_path: String,