FileOrBuiltIn asset paths, theming support

This commit is contained in:
galister
2025-12-11 01:09:49 +09:00
parent cb0831223a
commit 1724d39697
13 changed files with 90 additions and 63 deletions

View File

@@ -158,12 +158,12 @@ _2nd gradient color_
`src`: **string**
_External (filesystem) image path. Falls back to Internal (assets) if not found._
`src_builtin`: **string**
_Internal (assets) image path_
`src_ext`: **string**
_External (filesystem) image path_
`src_internal`: **string**
_wgui internal image path. Do not use directly unless it's related to the core wgui assets._
@@ -210,7 +210,7 @@ _Tooltip text on hover, translated by key_
_make button act as a toggle (visual only)_
`sprite_src` | `sprite_src_ext` | `sprite_src_internal`
`sprite_src` | `sprite_src_builtin` | `sprite_src_internal`
_Image path (see [sprite](#sprite-widget)) for src descriptions_