mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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"
|
||||
}
|
||||
|
||||
func (u *UserInterface) MonitorPosition() (int, int) {
|
||||
return 0, 0
|
||||
}
|
||||
|
||||
func (u *UserInterface) CanHaveWindow() bool {
|
||||
return false
|
||||
}
|
||||
|
@ -437,6 +437,10 @@ func (u *UserInterface) CanHaveWindow() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (u *UserInterface) MonitorPosition() (int, int) {
|
||||
return 0, 0
|
||||
}
|
||||
|
||||
func (u *UserInterface) Input() driver.Input {
|
||||
return &u.input
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user