|
10 | 10 | ---@field h? number |
11 | 11 | ---@field widthLimit? number |
12 | 12 | --- |
13 | | ----@field color? Zenitha.ColorStr|Zenitha.Color |
| 13 | +---@field color? Zenitha.ColorStr|Zenitha.Color [text & button & button_fill & checkBox & switch & slider & selector] |
14 | 14 | ---@field text? string|function |
15 | 15 | ---@field fontSize? number |
16 | 16 | ---@field fontType? string |
|
21 | 21 | ---@field labelDistance? number |
22 | 22 | ---@field disp? function Must return the value that widget should show |
23 | 23 | ---@field code? function Called 'When triggered' |
24 | | ----@field visibleFunc? function Used to determine if widget is visible when scene changed |
25 | | ----@field visibleTick? function Used to change widget's visibility every frame |
| 24 | +---@field visibleFunc? function Used to change widget's visibility when scene changed |
| 25 | +---@field visibleTick? function Used to update widget's visibility every frame |
26 | 26 | --- |
27 | 27 | ---@field lineWidth? number |
28 | 28 | ---@field cornerR? number Round corner ratio |
29 | 29 | --- |
30 | | ----@field textColor? Zenitha.ColorStr|Zenitha.Color |
31 | | ----@field fillColor? Zenitha.ColorStr|Zenitha.Color |
32 | | ----@field frameColor? Zenitha.ColorStr|Zenitha.Color |
33 | | ----@field activeColor? Zenitha.ColorStr|Zenitha.Color |
34 | | ----@field idleColor? Zenitha.ColorStr|Zenitha.Color |
| 30 | +---@field textColor? Zenitha.ColorStr|Zenitha.Color [button & button_fill & slider] |
| 31 | +---@field fillColor? Zenitha.ColorStr|Zenitha.Color [switch & slider & slider_progress & inputBox & textBox & listBox] |
| 32 | +---@field frameColor? Zenitha.ColorStr|Zenitha.Color [inputBox] |
| 33 | +---@field activeColor? Zenitha.ColorStr|Zenitha.Color [textBox & listBox] |
| 34 | +---@field idleColor? Zenitha.ColorStr|Zenitha.Color [textBox & listBox] |
35 | 35 | --- |
36 | 36 | ---@field sound_press? string |
37 | 37 | ---@field sound_hover? string |
|
0 commit comments