diff options
Diffstat (limited to 'engine/main.go')
| -rw-r--r-- | engine/main.go | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engine/main.go b/engine/main.go index 7df8cae..0d2e657 100644 --- a/engine/main.go +++ b/engine/main.go @@ -52,10 +52,13 @@ func menu_test() *ui.Menu { { HeightWeight: 2, Objects: []ui.UIElement { - &ui.Label{ - Text: "Center div", - Style: ui.Style{ - BacgroundColor: &rl.Pink, + &ui.Button { + EventType: ui.OnClick, + DisplayElement: &ui.Label { + Text: "Center div", + Style: ui.Style { + BacgroundColor: &rl.White, + }, }, }, }, |
