erm
This commit is contained in:
parent
913f61d21d
commit
f4d9fb1246
|
@ -1,7 +1,7 @@
|
||||||
package pinwindows
|
package pinwindows
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"fmt"
|
||||||
|
|
||||||
rl "github.com/gen2brain/raylib-go/raylib"
|
rl "github.com/gen2brain/raylib-go/raylib"
|
||||||
)
|
)
|
||||||
|
@ -53,7 +53,6 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
log.Println("erm")
|
|
||||||
if winman.movingwindow != nil {
|
if winman.movingwindow != nil {
|
||||||
if winman.movingwindowmode == WINDOW_MODE_DRAG {
|
if winman.movingwindowmode == WINDOW_MODE_DRAG {
|
||||||
winman.movingwindow.Pos.X += (rl.GetMouseDelta().X)
|
winman.movingwindow.Pos.X += (rl.GetMouseDelta().X)
|
||||||
|
@ -66,6 +65,7 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (winman RayGuiWindowManager) DrawInternalWindowList() {
|
func (winman RayGuiWindowManager) DrawInternalWindowList() {
|
||||||
|
fmt.Println("erm")
|
||||||
for i := 0; i < len(winman.winlist); i++ {
|
for i := 0; i < len(winman.winlist); i++ {
|
||||||
winman.winlist[i].DrawInternals()
|
winman.winlist[i].DrawInternals()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue