erm
This commit is contained in:
parent
f8f78dc59b
commit
bc2fd8bd0d
|
@ -92,8 +92,7 @@ func (window RayGuiWindow) IsTouchingRegion(posvec rl.Vector2, rect rl.Rectangle
|
||||||
}
|
}
|
||||||
|
|
||||||
func (window *RayGuiWindow) Draw() {
|
func (window *RayGuiWindow) Draw() {
|
||||||
rl.DrawRectangle(int32(window.Pos.X), int32(window.Pos.Y)-int32(window.GetBorderRect().Height, int32(window.Size.X), int32(window.GetBorderRect().Height), rl.Gray)
|
rl.DrawRectangle(int32(window.Pos.X), int32(window.Pos.Y)-int32(window.GetBorderRect().Height), int32(window.Size.X), int32(window.GetBorderRect().Height), rl.Gray)
|
||||||
|
|
||||||
|
|
||||||
rl.DrawText(fmt.Sprint(window.AcceptingInput), int32(window.Pos.X-20), int32(window.Pos.Y)-20, 12, rl.Blue)
|
rl.DrawText(fmt.Sprint(window.AcceptingInput), int32(window.Pos.X-20), int32(window.Pos.Y)-20, 12, rl.Blue)
|
||||||
//fmt.Printf("WindowDraw at %i, %i\n", window.X, window.Y)
|
//fmt.Printf("WindowDraw at %i, %i\n", window.X, window.Y)
|
||||||
|
|
Loading…
Reference in a new issue