summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/gocui/structs.go')
-rw-r--r--toolkit/gocui/structs.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go
index 74a4621..f83622a 100644
--- a/toolkit/gocui/structs.go
+++ b/toolkit/gocui/structs.go
@@ -60,8 +60,8 @@ var (
// corner starts at in the upper left corner
type rectType struct {
// where the widget should calculate it's existance from
- startW int
- startH int
+ // startW int
+ // startH int
// the actual size
width int
@@ -85,10 +85,14 @@ type cuiWidget struct {
// visable bool // track if it's currently supposed to be shown
isFake bool // widget types like 'box' are 'false'
- // where the widget should add children
+ // where the widget's real corner is
startW int
startH int
+ // where the next child should be placed
+ nextW int
+ nextH int
+
// the widget size to reserve or things will overlap
realWidth int
realHeight int
@@ -104,10 +108,6 @@ type cuiWidget struct {
parentW int
parentH int
- // deprecate
- nextW int
- nextH int
-
// things from toolkit/action
b bool
i int