diff options
Diffstat (limited to 'engine/Builtin')
| -rw-r--r-- | engine/Builtin/MainMenu.go | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/engine/Builtin/MainMenu.go b/engine/Builtin/MainMenu.go index aa5d283..35eabea 100644 --- a/engine/Builtin/MainMenu.go +++ b/engine/Builtin/MainMenu.go @@ -1,49 +1,11 @@ package builtin import ( - _ "embed" - dynamic "github.com/DegustatorPonos/RuinesOfRafdolon/Dynamic" - ui "github.com/DegustatorPonos/RuinesOfRafdolon/UI" ) const mainMenuLocation string = "../assets/MainMenu.json" -var menuSidePanelPadding float32 = 0.01 - -// The menu that shows up -var MainMenuVar = ui.Menu { - PaddingX: 0.05, - PaddingY: 0.1, - Contents: &ui.GridRow { - Objects: []ui.UIElement { - &ui.Void{ - Weight: 2, - }, - &ui.GridColumn { - Weight: 1, - Spacing: 0.05, - Style: ui.Style { - Padding: &menuSidePanelPadding, - }, - Objects: []ui.UIElement { - &ui.Label { - Text: "Ruines of Rafdalon", - }, - &ui.Button { - DisplayElement: &ui.Label { - Text: "Load a demo scene", - }, - }, - &ui.Void{ - Weight: 4, - }, - }, - }, - }, - }, -} - func MainMenu() *dynamic.DynamicMenu { return &dynamic.DynamicMenu { FileLocation: mainMenuLocation, |
