mirror of
https://github.com/Fluffy-Bean/ColouringApp.git
synced 2025-06-06 18:33:11 +00:00
Work on improving the menus
This commit is contained in:
parent
40c43126ca
commit
65ec70dd4a
6 changed files with 96 additions and 97 deletions
|
@ -14,8 +14,8 @@ func Options() {
|
|||
titleForwardPos float32 = 45
|
||||
|
||||
centerPos float32 = 10
|
||||
backPos float32 = -application.WindowWidth + 10
|
||||
forwardPos float32 = application.WindowWidth + 10
|
||||
backPos = float32(-application.WindowWidth + 10)
|
||||
forwardPos = float32(application.WindowWidth + 10)
|
||||
|
||||
rootPanel = true
|
||||
controlsPanel = false
|
||||
|
@ -68,7 +68,7 @@ func Options() {
|
|||
raylib.EndScissorMode()
|
||||
|
||||
raylib.DrawLine(10, 40, 790, 40, raylib.White)
|
||||
if gui.Button(raylib.NewRectangle(application.WindowWidth-110, 10, 100, 20), "Main Menu") {
|
||||
if gui.Button(raylib.NewRectangle(float32(application.WindowWidth-110), 10, 100, 20), "Main Menu") {
|
||||
application.CurrentScene = application.SceneTitle
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue