Field pool
This commit is contained in:
parent
60622ccca5
commit
ff32ac6227
15 changed files with 121 additions and 6001 deletions
3
ui.odin
3
ui.odin
|
|
@ -73,11 +73,12 @@ ui_end :: proc() -> []UiElement {
|
|||
return elements
|
||||
}
|
||||
|
||||
UiElementCallback_Button :: proc()
|
||||
UiElementCallback_Button :: proc(data: rawptr)
|
||||
|
||||
UiElementData_Button :: struct {
|
||||
label: cstring,
|
||||
callback: UiElementCallback_Button,
|
||||
callback_data: rawptr,
|
||||
}
|
||||
|
||||
ui_button :: proc(size: v2, data: UiElementData_Button) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue