mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
go fmt
This commit is contained in:
parent
1826db6f2e
commit
9b324a7e11
@ -50,8 +50,8 @@ import (
|
|||||||
|
|
||||||
type glutInputEvent struct {
|
type glutInputEvent struct {
|
||||||
IsActive bool
|
IsActive bool
|
||||||
X int
|
X int
|
||||||
Y int
|
Y int
|
||||||
}
|
}
|
||||||
|
|
||||||
type GlutUI struct {
|
type GlutUI struct {
|
||||||
@ -86,8 +86,8 @@ func mouse(button, state, x, y C.int) {
|
|||||||
func motion(x, y C.int) {
|
func motion(x, y C.int) {
|
||||||
currentUI.glutInputting <- glutInputEvent{
|
currentUI.glutInputting <- glutInputEvent{
|
||||||
IsActive: true,
|
IsActive: true,
|
||||||
X: int(x),
|
X: int(x),
|
||||||
Y: int(y),
|
Y: int(y),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user