mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 22:44:28 +01:00
uidriver: Bug fix: Needed to implement MonitorPosition
This commit is contained in:
parent
dabaf66b81
commit
8013fef9ea
@ -467,6 +467,10 @@ func (u *UserInterface) IsScreenTransparent() bool {
|
|||||||
return bodyStyle.Get("backgroundColor").String() == "transparent"
|
return bodyStyle.Get("backgroundColor").String() == "transparent"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (u *UserInterface) MonitorPosition() (int, int) {
|
||||||
|
return 0, 0
|
||||||
|
}
|
||||||
|
|
||||||
func (u *UserInterface) CanHaveWindow() bool {
|
func (u *UserInterface) CanHaveWindow() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -437,6 +437,10 @@ func (u *UserInterface) CanHaveWindow() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (u *UserInterface) MonitorPosition() (int, int) {
|
||||||
|
return 0, 0
|
||||||
|
}
|
||||||
|
|
||||||
func (u *UserInterface) Input() driver.Input {
|
func (u *UserInterface) Input() driver.Input {
|
||||||
return &u.input
|
return &u.input
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user