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 {