summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
AgeCommit message (Collapse)Author
2024-01-01reorg to final resting place at go.wit.com/gui/guiv0.9.5Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-12-20move to go.wit.com/guiv0.9.0Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-12-16gocui: fixes to labels + line entriesv0.8.8.1v0.8.8Jeff Carr
correct line hight dump non-working size rectangle code somehow works better better dropdown menu debugging minor fixes to common.go more common code Signed-off-by: Jeff Carr <[email protected]>
2023-12-15make a common.go for the toolkitsv0.8.7Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-12-14tabs, windows + gocui dropdown menu (almost)Jeff Carr
dropdown menu figures out what text was clicked dropdown menu movement changes line colors dropdown menus force user to select a response accidentally committed a binary tab selection works tab and window views almost working tabs and windows almost working window widgets selection works better color handling using gocui view.Visable flag removal of old color setting code still need an artificial delay for andlabs SetText() catching more 'nil' errors fixed the stupid duplicate tab problem in andlabs figured out how andlabs had a tab/box mess works on more than one domain builds and runs again debugging double tabs in andlabs gui GO111MODULE compile notes code reorg further improvements example cloudflare app does first successful dns update add NewEntryLine() for single line entry boxes Signed-off-by: Jeff Carr <[email protected]>
2023-12-02gocui plugin refactor to a *node binary treeJeff Carr
rename arg '--gui <toolkit>' add a cloudflare example fixes since go v1.21 didn't compile anymore due to argv order more place() changes recursive size computation gocui: Major refactor to use the *node binary tree gocui: refactor place() and size() gocui: better place() and spacing (tab, buttons, etc) gocui: better mouse click handling gocui: switch to using tk.gocuiSize & tk.size gocui: event handling cleanups gocui: add window labels work gocui: struct cleanups gocui: duplicate binary tree structs removed gocui: deprecate old children Signed-off-by: Jeff Carr <[email protected]>
2023-05-10andlabs: debugging flags working againv0.8.6Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-27nocui: a template for porting new toolkitsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-27gocui: grid width fixedJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-27gocui: better output handlingv0.8.4Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: proper line count on StdoutJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: standard closeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: log() output worksJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: code cleanupsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: closer to correct tabsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: tracking windows and tabs separatelyJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: windows & tabs in seperate rowsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: closer to working layoutJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: more spacing logicJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-25gocui: hmm. trying to reformat the layoutJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-25golang: finally doing struct defaults rightJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-24gocui: try to make struct defaults workJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-24gocui: always show STDOUTJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-08both andlabs & gocui plugins have working channelsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-06gocui: callbacks work via a channelJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-06gocui: more or less correct sizesv0.7.7Jeff Carr
init to normal state (debug=off) size handling cleanups keep trying to fix grid widget move towards cmdline/auto loading of gocui Signed-off-by: Jeff Carr <[email protected]>
2023-04-06gocui: ready for 0.7.6v0.7.6Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-06gocui: more size calculationsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-05gocui: don't try to draw on add()Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-05gocui: store more in w.gocuiSize.Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-05gocui: s/realSize/gocuiSize/Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-05gocui: rework spacing logicJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-04gocui: use (w,h) and avoid (x,y) namesJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-03gocui: more color cleanupsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-03gocui: working towards correct layoutJeff Carr
make a gocui widget binary tree more debugging cleanups sample button app displays in gocui geometry logic closer to correct improvements in gocui layout continued attempts to clean up tabs dump binary tree moving towards proper chan callback() deprecate Widget.Name Signed-off-by: Jeff Carr <[email protected]>