feat: persist widget style changes
This commit is contained in:
parent
a27c212461
commit
0c19cbd82d
10 changed files with 103 additions and 113 deletions
|
|
@ -14,7 +14,7 @@ pub const scroll_lines = 3;
|
|||
pub fn Options(context: type) type {
|
||||
return struct {
|
||||
ctx: Context,
|
||||
style: Widget.Style.Type,
|
||||
style: Widget.Type,
|
||||
|
||||
on_click: *const fn (ctx: context, button: *Button.State(*State(Context))) void = do_nothing,
|
||||
on_click4: *const fn (menu: **State(Context), button: *Button.State(*State(Context))) void = do_nothing_click,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue