all: delete the ui.Op type

It's no longer used.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-04-27 22:27:50 +02:00
parent 56133632c6
commit 20f55a4ad7
6 changed files with 1 additions and 21 deletions
-10
View File
@@ -36,12 +36,6 @@ func (c *Config) Pixels(v Value) float32 {
}
}
// Op is implemented by all drawing and control
// operations.
type Op interface {
ImplementsOp()
}
// OpLayer represents a semantic layer of UI.
type OpLayer struct {
}
@@ -141,7 +135,3 @@ func Offset(o f32.Point) Transform {
// Inf is the int value that represents an unbounded maximum constraint.
const Inf = int(^uint(0) >> 1)
func (OpLayer) ImplementsOp() {}
func (OpTransform) ImplementsOp() {}
func (OpRedraw) ImplementsOp() {}