summaryrefslogtreecommitdiff
path: root/engine/main.go
diff options
context:
space:
mode:
authorPhyscik <mynameisgennadiy@vk.com>2026-01-30 03:04:43 +0500
committerPhyscik <mynameisgennadiy@vk.com>2026-01-30 03:04:43 +0500
commit95b7170acdfa73c5842db002ec64f78125fe2f90 (patch)
treebcf1255a4133e53888faf48d04a6cf1740441178 /engine/main.go
parent45b7d0ce612921729d925a7111e4d1aeba3ef849 (diff)
Text formation
Diffstat (limited to 'engine/main.go')
-rw-r--r--engine/main.go10
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,
+ },
+ },
},
},
{