diff options
Diffstat (limited to 'engine/main.go')
| -rw-r--r-- | engine/main.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engine/main.go b/engine/main.go index 50e0326..7df8cae 100644 --- a/engine/main.go +++ b/engine/main.go @@ -9,6 +9,7 @@ import ( render "github.com/DegustatorPonos/RuinesOfRafdolon/Render" settings "github.com/DegustatorPonos/RuinesOfRafdolon/Settings" ui "github.com/DegustatorPonos/RuinesOfRafdolon/UI" + rl "github.com/gen2brain/raylib-go/raylib" ) func main() { @@ -49,9 +50,14 @@ func menu_test() *ui.Menu { }, }, { - HeightWeight: 1, + HeightWeight: 2, Objects: []ui.UIElement { - &ui.Label{ Text: "Ruines of Rafdolon" }, + &ui.Label{ + Text: "Center div", + Style: ui.Style{ + BacgroundColor: &rl.Pink, + }, + }, }, }, { |
