From df6d9b91d00e15a5a01da42540a9459c5aa5989b Mon Sep 17 00:00:00 2001 From: InventorXtreme Date: Sun, 21 Apr 2024 20:29:11 -0400 Subject: [PATCH] erm --- window.go | 6 +++--- windowmanager.go | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/window.go b/window.go index 17196ef..26d3369 100644 --- a/window.go +++ b/window.go @@ -17,9 +17,9 @@ type RayGuiWindow struct { } const ( - WINDOW_MODE_DRAG = iota - WINDOW_MODE_RESZIE = iota - WINDOW_MODE_NORMAL = iota + WINDOW_MODE_DRAG = 0 + WINDOW_MODE_RESZIE = 1 + WINDOW_MODE_NORMAL = 2 WINDOW_NO_EVENT = -1 ) diff --git a/windowmanager.go b/windowmanager.go index 579fa44..57f73fe 100644 --- a/windowmanager.go +++ b/windowmanager.go @@ -4,8 +4,6 @@ import ( rl "github.com/gen2brain/raylib-go/raylib" ) -const VER = 34 - type managewindowfunc func(*RayGuiWindowManager, *RayGuiWindow) type RayGuiWindowManager struct {