summaryrefslogtreecommitdiff
path: root/structs.go
AgeCommit message (Collapse)Author
2022-11-14setup building without plugins on windowsv0.5.1Jeff Carr
notes from github remote keep removing os.Exit() rename from andlabs2 back to andlabs rename files for windows andlabs/ui gocui always sets STDOUT a file in /tmp/ Signed-off-by: Jeff Carr <[email protected]>
2022-11-13Massive refactor to use go plugins. This is neat.Jeff Carr
update README.md set xterm title. make os.Exit() default on window close add a toolkit.Widget to the node structure remove 'Greeter' symbol mapping scheme removed the testing greeter code plugins: attempt to load plugins in a sensible order andlabs/ui: working andlabs/ui plugin (andlabs2) buttons work in andlabs plugin TODO: re-implement non-plugin version for Windows mswindows doesn't support go plugins yet gocui: put the gocui console so file in the binary does a full init of gocui plugin Button() and Group() working very well with gogui cleanly exit gocui technically you can load two toolkits at the same time kinda both working at the same time. esoteric two working plugins at the same time give up working on two gui's at the same time this is fun, but _not interesting wow. this actually works. NewButton() from both toolkits examples: all the examples run again remove early helloplugin example buttonplugin example cmd code buttonplugin runs and ldd is minimum Signed-off-by: Jeff Carr <[email protected]>
2022-11-09cleanup of the example commands. more plugin workv0.4.6Jeff Carr
add a button in two plugins at the same time! added a button in andlabs/ui & gocui attempt a common widget struct between wit/gui & the plugins start handling missing plugins rename Makefile command examples remote examples used for testing filename improvements golang src code uses lowercase and _ in filenames fix crash when button click function == nil fix wrong name 'gocli' -> 'gocui' keep fighting with goreadme generated README.md Signed-off-by: Jeff Carr <[email protected]>
2022-11-06Implement a early AddButton() via a golang pluginv0.4.5Jeff Carr
pass a name to gocui.AddButton() cleaner plugin usage add the start to golang plugin plugin stuff in a single file added a button correctly andlabs/ui added a button via plugin to gocli hot diggity! trying to invoke a gocli plugin function from the andlabs ui load the plugin hide more debugging output turn off all output Signed-off-by: Jeff Carr <[email protected]>
2022-11-06start trying to make the tookits pluginsv0.4.3Jeff Carr
totally minimize helloworld demo try to make a button plugin example debug changes final changes before attempting to use a golang plugin actually running gocui as a plugin add gocli-as-plugin example try to convert the go-cui toolkit into a plugin doc updates make a minimal console gui Signed-off-by: Jeff Carr <[email protected]>
2022-11-05v0.4.2 more code cleanups and improvementsv0.4.2Jeff Carr
Add command line argv handling using go-arg make hello world dumb stupid simple again more swtiching to common code move debugging options to support go-args more debugging output cleanup more debugging cleanups fix null pointer crash
2022-10-21v0.4.1 set sane toolkit default look and feelv0.4.1Jeff Carr
autogenerate README.md from doc.go (goreadme cmd) remove passing arguements on a mouse click() make defaults for padding, margin, stretchy, etc add a checkbox widget function rename to NewButton() keep cleaning up toolkit code fix date. I was somehow in the future Signed-off-by: Jeff Carr <[email protected]>
2022-10-20Squashed commit of the following:Jeff Carr
all non binary tree structs are gone (almost all) Use names from https://en.wikipedia.org/wiki/Graphical_widget toolkit andlabs/ui is isolated from being accessable all direct references to andlabs are removed working dropdown widgets add debugging more buttons and windows
2022-10-16Add slander and spinbox in toolkit/andlabsJeff Carr
fix the helloworld demo move slider into toolkit/ move more into the toolkit directory add spinbox() fix example minor update fix examples Fix andlabs.ui.Slider() to work again correctly implement custom OnChange() callback Signed-off-by: Jeff Carr <[email protected]>
2022-10-11Change Node to BoxJeff Carr
2021-11-04SMALL: some stuff hanging aroundJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04GOOD: use global 'Stretchy' settingJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-01CLEAN: out of the rabbit holeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-31CLEAN: remove GuiButton structJeff Carr
2021-10-31CLEAN: more code removalsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-31REFACTOR: remove GuiWindow & GuiBoxJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-31BOX: kill GuiBoxJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-31BOX: remove GuiBoxJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-31REFACTOR: refactor everything to gui.Node structv0.2Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-06REFACTOR: things are back to working as they wereJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-06TAB: correctly lookup and add tabs to blank windowsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-06CODE: start a general code refactorJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-06BUILD: suck it up and try to use go.modJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-05BUG: fix potential 'nil' referenceJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-05CODE: not sure, but it compiles and runs somehowJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-05DEBUG: added button to SetMargin() by nameJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-05DEBUG: gui to debug windowsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-05TAB: automatically set all tables to SetMargined(true)Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-04ANALABS: work on improving the abstractionJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-04TAB: more tab handling cleanupsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-10-04TAB: code to more correctly handle gtk tabsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-17allow a custom Exit()Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-14don't use Data.Windows anymoreJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-13ready to implement Destroy()Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-13more testsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-13finally vm list working againJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-05reimplement the color buttonJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-04finally fix the window and tab namesJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-03make a WindowMap to track which windows existJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-03more button cleanupsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-02make a buttonMapJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-02remove 'Action'Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-02This might be stable enough to leave alone.Jeff Carr
Up to this point it's been needing 10 patches a day. Signed-off-by: Jeff Carr <[email protected]>
2019-06-02see if an interface can store the outside valuesJeff Carr
also finally fixed the splash area logic Signed-off-by: Jeff Carr <[email protected]>
2019-06-02more deletions of old stuffJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-02almost complete 'CLEAN'. yet more code refactoringJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-02doesn't crashJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-01spash screen works againJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-01builds and works againJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2019-06-01compiles againJeff Carr
Signed-off-by: Jeff Carr <[email protected]>