mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
parent
01e2c92e56
commit
121d6005cd
@ -17,7 +17,6 @@
|
||||
package ui
|
||||
|
||||
import (
|
||||
"image"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
@ -38,11 +37,6 @@ type Monitor struct {
|
||||
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.
|
||||
func (m *Monitor) Name() string {
|
||||
return m.name
|
||||
|
Loading…
Reference in New Issue
Block a user