diff options
Diffstat (limited to 'andlabs/structs.go')
| -rw-r--r-- | andlabs/structs.go | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/andlabs/structs.go b/andlabs/structs.go index e39cbe7..4e1c056 100644 --- a/andlabs/structs.go +++ b/andlabs/structs.go @@ -1,7 +1,7 @@ package main import ( - "go.wit.com/gui/toolkits/tree" + "go.wit.com/toolkits/tree" "go.wit.com/dev/andlabs/ui" _ "go.wit.com/dev/andlabs/ui/winmanifest" @@ -17,7 +17,7 @@ var me config type config struct { rootNode *tree.Node // the base of the binary tree. it should have id == 0 treeRoot *tree.Node // the base of the binary tree. it should have id == 0 - myTree *tree.TreeInfo + myTree *tree.TreeInfo } // stores the raw toolkit internals @@ -26,7 +26,7 @@ type guiWidget struct { Height int // tw *toolkit.Widget - parent *guiWidget + parent *guiWidget children []*guiWidget // used to track if a tab has a child widget yet @@ -34,31 +34,31 @@ type guiWidget struct { uiControl ui.Control - uiBox *ui.Box - uiButton *ui.Button - uiCombobox *ui.Combobox - uiCheckbox *ui.Checkbox - uiEntry *ui.Entry - uiGroup *ui.Group - uiLabel *ui.Label - uiSlider *ui.Slider - uiSpinbox *ui.Spinbox - uiTab *ui.Tab - uiWindow *ui.Window + uiBox *ui.Box + uiButton *ui.Button + uiCombobox *ui.Combobox + uiCheckbox *ui.Checkbox + uiEntry *ui.Entry + uiGroup *ui.Group + uiLabel *ui.Label + uiSlider *ui.Slider + uiSpinbox *ui.Spinbox + uiTab *ui.Tab + uiWindow *ui.Window uiMultilineEntry *ui.MultilineEntry - uiEditableCombobox *ui.EditableCombobox - uiImage *ui.Image + uiEditableCombobox *ui.EditableCombobox + uiImage *ui.Image - uiGrid *ui.Grid - gridX int - gridY int + uiGrid *ui.Grid + gridX int + gridY int // used as a counter to work around limitations of widgets like combobox // this is probably fucked up and in many ways wrong because of unsafe goroutine threading // but it's working for now due to the need for need for a correct interaction layer betten toolkits - c int + c int val map[int]string // andlabs/ui only accesses widget id numbers - boxC int // how many things on in a box or how many tabs + boxC int // how many things on in a box or how many tabs } |
