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/canvas"
|
||||
|
||||
type Gap image.Point
|
||||
|
||||
// Side represents one side of a rectangle.
|
||||
type Side int; const (
|
||||
SideTop Side = iota
|
||||
|
@ -171,7 +169,7 @@ type TextBox interface {
|
|||
// according to a layout rule.
|
||||
type ContainerBox interface {
|
||||
ContentBox
|
||||
SetGap (Gap)
|
||||
SetGap (image.Point)
|
||||
Add (Object)
|
||||
Delete (Object)
|
||||
Insert (child Object, before Object)
|
||||
|
|
Loading…
Reference in New Issue