From 7144900d315505434c51ee299e919cea5a98cae2 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 12 Sep 2024 14:55:44 -0400 Subject: [PATCH] Remove TODO in segment.go It would have conflicted with nasin.NewApplicationWindow --- segment.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/segment.go b/segment.go index 864ade5..00bdf5d 100644 --- a/segment.go +++ b/segment.go @@ -87,14 +87,3 @@ func NewOptionSegment (layout tomo.Layout, children ...tomo.Object) *Segment { segment.GetBox().SetAttr(tomo.AAlign(tomo.AlignEnd, tomo.AlignMiddle)) return segment } - -// TODO create constructors somewhere that make a window with segments and -// automatically applied layout -// -// window, content, err := NewContentWindow -// window, nav, content, status, err := NewNavContentStatusWindow -// window, content, control, err := NewContentControlWindow -// -// alternatively: -// (the constructor will create a column from the types of the segments) -// window, err := NewSegmentedWindow(NewNavigationSegment(), NewContentSegment(), NewStatusSegment())