Removed the Gap type

This commit is contained in:
Sasha Koshka 2023-07-05 04:20:56 -04:00
parent 0824aca4ba
commit d6baf82a94
1 changed files with 1 additions and 3 deletions

View File

@ -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)