mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
parent
01e2c92e56
commit
121d6005cd
@ -17,7 +17,6 @@
|
|||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"image"
|
|
||||||
"sync"
|
"sync"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
@ -38,11 +37,6 @@ type Monitor struct {
|
|||||||
name string
|
name string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bounds returns the monitor's bounds.
|
|
||||||
func (m *Monitor) Bounds() image.Rectangle {
|
|
||||||
return image.Rect(m.x, m.y, m.x+m.width, m.y+m.height)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Name returns the monitor's name.
|
// Name returns the monitor's name.
|
||||||
func (m *Monitor) Name() string {
|
func (m *Monitor) Name() string {
|
||||||
return m.name
|
return m.name
|
||||||
|
Loading…
Reference in New Issue
Block a user