summaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)Author
2018-08-26Migrated util.go and main.go to the new pkgui convention and C file. Also ↵Pietro Gagliardi
replaced C.CBytes() with C.malloc() (this bumps our minimum version requirement to 1.8, but it's better than keeping a massive slice around at all times).
2018-08-26Moved all the Go files out of the way again, this time so we can migrate ↵Pietro Gagliardi
them to more proper cgo usage.
2018-08-12Fixed build errors.Pietro Gagliardi
2018-08-12Migrated main.go. Migrated link_darwin_amd64.go and removed ↵Pietro Gagliardi
-DMACOSX_DEPLOYMENT_TARGET (see libui commit aa28904408fb75ae8042c616982c13cbe2a5a784). This should be two separate commits but I screwed up.
2018-08-11Moved the existing .go files out of the way and replaced ui.h with the ↵Pietro Gagliardi
alpha4 ui.h.
2018-08-11First step toward alpha 4: we no longer need the Windows resource trick.Pietro Gagliardi
2018-08-11Removed ensureMainThread() now that the latest Go has a guarantee (which was ↵Pietro Gagliardi
always true) about the main thread given runtime.LockOSThread() in init().
2018-03-27Added some extra documentation to QueueMain. Fixes #164.Pietro Gagliardi
2016-01-06Re-enabled @executable_path and OS X linking now that the OS X build is ↵Pietro Gagliardi
fixed. Now I just have to figure out why it's not linking...
2015-12-21Made QueueMain() immune to collisions.Pietro Gagliardi
2015-12-13Added OS X building. Go 1.5 required because of ↵Pietro Gagliardi
https://github.com/golang/go/issues/9411 which affects this. Also set up proper multithreading on OS X. Currently crashes due to similar issue I've had with libui.
2015-12-12Added uiWindow.Pietro Gagliardi
2015-12-12Implemented some utility functions.Pietro Gagliardi
2015-12-12Added OnShouldQuit().Pietro Gagliardi
2015-12-11More work.Pietro Gagliardi
2015-12-11More work.Pietro Gagliardi
2015-12-11Started the work I guess.Pietro Gagliardi
2014-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-18Buffered the event channels, as per skelterjohn's suggestion; I thought this ↵Pietro Gagliardi
would fix the faults I now get, but it doesn't...
2014-02-15Added Listbox.Selection() and Listbox.SelectedIndices(). Also fixed a bug ↵Pietro Gagliardi
involving sysData.selectedIndices() with nothing selected.
2014-02-15Added Combobox.SelectedIndex().Pietro Gagliardi
2014-02-15Added Combobox.Delete() and Listbox.Delete() and added some TODOs.Pietro Gagliardi
2014-02-15Added Listbox.Append() and Listbox.InsertBefore().Pietro Gagliardi
2014-02-15Added Combobox.Append() and Combobox.InsertBefore().Pietro Gagliardi
2014-02-15Reduced the number of unnecessary error returns based on MSDN. The TODOs ↵Pietro Gagliardi
that used to be there have been moved to a new file; similar files for Mac and Linux will also be made.
2014-02-14More TODOs and example program tweaks.Pietro Gagliardi
2014-02-14Added Listboxes. You can't use the results just yet...Pietro Gagliardi
2014-02-14Added labels.Pietro Gagliardi
2014-02-14Added LineEdit.Pietro Gagliardi
2014-02-14Added Combobox.Pietro Gagliardi
2014-02-14Changed Stack so that controls are added only at creation time.Pietro Gagliardi
2014-02-13Added Stacks of controls.Pietro Gagliardi
2014-02-13Added Checkbox.Checked().Pietro Gagliardi
2014-02-13Added checkboxes. You can't really do anything with them yet, though...Pietro Gagliardi
2014-02-12Adjusted sysData.make() to make the new window class and fixed main(). Now ↵Pietro Gagliardi
to fix compiler errors...
2014-02-12Added Window.SetTitle(). Also oops, forgot to mark the window as created.Pietro Gagliardi
2014-02-12Added buttons.Pietro Gagliardi
2014-02-12Added initial window size and the Window.SetTitle() function.Pietro Gagliardi
2014-02-11More of the previous error and not printing panics... derp me. Still not ↵Pietro Gagliardi
fixed yet though...
2014-02-11Added the init and testing main functions and started fixing errors. Let's ↵Pietro Gagliardi
fix the rest and hope it works...
2014-02-11Added _windows.go extensions to all the files in preparation for the library ↵Pietro Gagliardi
writing.
2014-02-11Added window sizing. I think I'm now ready for the wrapper itself.Pietro Gagliardi
2014-02-11Added window minimum sizes.Pietro Gagliardi
2014-02-10Improved program appearance by setting the correct font, colors, and other ↵Pietro Gagliardi
styles.
2014-02-10Added a checkbox to the example window.Pietro Gagliardi
2014-02-10Added static controls and added a static label to the example window.Pietro Gagliardi
2014-02-10Added listboxes and added a list box to the example window.Pietro Gagliardi
2014-02-10Added edit controls and added one to the example window.Pietro Gagliardi
2014-02-10Added combo boxes and added some to the main window example.Pietro Gagliardi
2014-02-10Added a button to the test main window, including click handling.Pietro Gagliardi