Removed the Gap type
This commit is contained in:
parent
0824aca4ba
commit
d6baf82a94
|
@ -8,8 +8,6 @@ import "git.tebibyte.media/tomo/tomo/event"
|
||||||
import "git.tebibyte.media/tomo/tomo/input"
|
import "git.tebibyte.media/tomo/tomo/input"
|
||||||
import "git.tebibyte.media/tomo/tomo/canvas"
|
import "git.tebibyte.media/tomo/tomo/canvas"
|
||||||
|
|
||||||
type Gap image.Point
|
|
||||||
|
|
||||||
// Side represents one side of a rectangle.
|
// Side represents one side of a rectangle.
|
||||||
type Side int; const (
|
type Side int; const (
|
||||||
SideTop Side = iota
|
SideTop Side = iota
|
||||||
|
@ -171,7 +169,7 @@ type TextBox interface {
|
||||||
// according to a layout rule.
|
// according to a layout rule.
|
||||||
type ContainerBox interface {
|
type ContainerBox interface {
|
||||||
ContentBox
|
ContentBox
|
||||||
SetGap (Gap)
|
SetGap (image.Point)
|
||||||
Add (Object)
|
Add (Object)
|
||||||
Delete (Object)
|
Delete (Object)
|
||||||
Insert (child Object, before Object)
|
Insert (child Object, before Object)
|
||||||
|
|
Loading…
Reference in New Issue