Pietro Gagliardi
|
766f9ed028
|
Migrated util.go and main.go to the new pkgui convention and C file. Also 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-26 10:19:10 -04:00 |
Pietro Gagliardi
|
62ac252773
|
Moved all the Go files out of the way again, this time so we can migrate them to more proper cgo usage.
|
2018-08-26 09:55:07 -04:00 |
Pietro Gagliardi
|
925adc0782
|
Fixed build errors.
|
2018-08-12 11:07:33 -04:00 |
Pietro Gagliardi
|
c91b665da3
|
Migrated main.go. Migrated link_darwin_amd64.go and removed -DMACOSX_DEPLOYMENT_TARGET (see libui commit aa28904408fb75ae8042c616982c13cbe2a5a784). This should be two separate commits but I screwed up.
|
2018-08-12 09:17:01 -04:00 |
Pietro Gagliardi
|
308e253e0f
|
Moved the existing .go files out of the way and replaced ui.h with the alpha4 ui.h.
|
2018-08-11 16:18:01 -04:00 |
Pietro Gagliardi
|
0f75ebb5fa
|
First step toward alpha 4: we no longer need the Windows resource trick.
|
2018-08-11 16:12:54 -04:00 |
Pietro Gagliardi
|
dc108a5d4d
|
Removed ensureMainThread() now that the latest Go has a guarantee (which was always true) about the main thread given runtime.LockOSThread() in init().
|
2018-08-11 16:10:47 -04:00 |
Pietro Gagliardi
|
6c3bda44d3
|
Added some extra documentation to QueueMain. Fixes #164.
|
2018-03-27 20:19:27 -04:00 |
Pietro Gagliardi
|
82d0efb92d
|
Re-enabled @executable_path and OS X linking now that the OS X build is fixed. Now I just have to figure out why it's not linking...
|
2016-01-06 20:24:31 -05:00 |
Pietro Gagliardi
|
4b74894536
|
Made QueueMain() immune to collisions.
|
2015-12-21 14:26:09 -05:00 |
Pietro Gagliardi
|
4760ad7c5a
|
Added OS X building. Go 1.5 required because of 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-13 02:24:43 -05:00 |
Pietro Gagliardi
|
31ae742daf
|
Added uiWindow.
|
2015-12-12 13:37:36 -05:00 |
Pietro Gagliardi
|
a181d36b58
|
Implemented some utility functions.
|
2015-12-12 13:07:57 -05:00 |
Pietro Gagliardi
|
a1375fb776
|
Added OnShouldQuit().
|
2015-12-12 12:01:31 -05:00 |
Pietro Gagliardi
|
8f3452baa0
|
More work.
|
2015-12-11 22:49:29 -05:00 |
Pietro Gagliardi
|
90669b9c7f
|
More work.
|
2015-12-11 22:48:25 -05:00 |
Pietro Gagliardi
|
eef149060f
|
Started the work I guess.
|
2015-12-11 21:03:38 -05:00 |
Pietro Gagliardi
|
fb82e651a4
|
Moved to a proper package; main() is now a test and go test -c is used to build. Once I iron out a bug with Windows event handling, I'll add a README.
|
2014-02-19 11:41:10 -05:00 |
Pietro Gagliardi
|
23f6a07c7f
|
Buffered the event channels, as per skelterjohn's suggestion; I thought this would fix the faults I now get, but it doesn't...
|
2014-02-18 10:53:15 -05:00 |
Pietro Gagliardi
|
992d43ac7b
|
Added Listbox.Selection() and Listbox.SelectedIndices(). Also fixed a bug involving sysData.selectedIndices() with nothing selected.
|
2014-02-15 18:36:42 -05:00 |
Pietro Gagliardi
|
2d97a24463
|
Added Combobox.SelectedIndex().
|
2014-02-15 18:27:34 -05:00 |
Pietro Gagliardi
|
14aaad6be3
|
Added Combobox.Delete() and Listbox.Delete() and added some TODOs.
|
2014-02-15 18:14:43 -05:00 |
Pietro Gagliardi
|
3c25b58652
|
Added Listbox.Append() and Listbox.InsertBefore().
|
2014-02-15 17:59:12 -05:00 |
Pietro Gagliardi
|
8c30cae462
|
Added Combobox.Append() and Combobox.InsertBefore().
|
2014-02-15 17:52:33 -05:00 |
Pietro Gagliardi
|
d1768f2787
|
Reduced the number of unnecessary error returns based on MSDN. The TODOs that used to be there have been moved to a new file; similar files for Mac and Linux will also be made.
|
2014-02-15 13:36:24 -05:00 |
Pietro Gagliardi
|
32256074b5
|
More TODOs and example program tweaks.
|
2014-02-14 17:31:21 -05:00 |
Pietro Gagliardi
|
88646445b0
|
Added Listboxes. You can't use the results just yet...
|
2014-02-14 16:25:39 -05:00 |
Pietro Gagliardi
|
9070eae214
|
Added labels.
|
2014-02-14 15:12:03 -05:00 |
Pietro Gagliardi
|
681afdf0ad
|
Added LineEdit.
|
2014-02-14 15:00:59 -05:00 |
Pietro Gagliardi
|
39442cefeb
|
Added Combobox.
|
2014-02-14 12:16:27 -05:00 |
Pietro Gagliardi
|
9a4e7bf5eb
|
Changed Stack so that controls are added only at creation time.
|
2014-02-14 10:58:16 -05:00 |
Pietro Gagliardi
|
5436f8f5fa
|
Added Stacks of controls.
|
2014-02-13 17:04:57 -05:00 |
Pietro Gagliardi
|
44842fea4b
|
Added Checkbox.Checked().
|
2014-02-13 15:14:10 -05:00 |
Pietro Gagliardi
|
f3c77bda6e
|
Added checkboxes. You can't really do anything with them yet, though...
|
2014-02-13 12:26:43 -05:00 |
Pietro Gagliardi
|
8e2f3b136e
|
Adjusted sysData.make() to make the new window class and fixed main(). Now to fix compiler errors...
|
2014-02-12 21:28:58 -05:00 |
Pietro Gagliardi
|
a9ff388944
|
Added Window.SetTitle(). Also oops, forgot to mark the window as created.
|
2014-02-12 18:14:37 -05:00 |
Pietro Gagliardi
|
ddfb5c7603
|
Added buttons.
|
2014-02-12 11:29:20 -05:00 |
Pietro Gagliardi
|
49d0375975
|
Added initial window size and the Window.SetTitle() function.
|
2014-02-12 10:51:27 -05:00 |
Pietro Gagliardi
|
bc531d60d7
|
More of the previous error and not printing panics... derp me. Still not fixed yet though...
|
2014-02-11 19:34:47 -05:00 |
Pietro Gagliardi
|
09a42e0c34
|
Added the init and testing main functions and started fixing errors. Let's fix the rest and hope it works...
|
2014-02-11 18:57:03 -05:00 |
Pietro Gagliardi
|
42229820d2
|
Added _windows.go extensions to all the files in preparation for the library writing.
|
2014-02-11 13:06:12 -05:00 |
Pietro Gagliardi
|
271c89bad5
|
Added window sizing. I think I'm now ready for the wrapper itself.
|
2014-02-11 09:43:18 -05:00 |
Pietro Gagliardi
|
6ae39f57a2
|
Added window minimum sizes.
|
2014-02-11 07:50:00 -05:00 |
Pietro Gagliardi
|
07c791331c
|
Improved program appearance by setting the correct font, colors, and other styles.
|
2014-02-10 20:48:08 -05:00 |
Pietro Gagliardi
|
bcc8751c8b
|
Added a checkbox to the example window.
|
2014-02-10 17:10:47 -05:00 |
Pietro Gagliardi
|
2231c33954
|
Added static controls and added a static label to the example window.
|
2014-02-10 17:02:54 -05:00 |
Pietro Gagliardi
|
4d674ebd3d
|
Added listboxes and added a list box to the example window.
|
2014-02-10 16:00:11 -05:00 |
Pietro Gagliardi
|
0808c696f8
|
Added edit controls and added one to the example window.
|
2014-02-10 15:23:09 -05:00 |
Pietro Gagliardi
|
e9f25362be
|
Added combo boxes and added some to the main window example.
|
2014-02-10 12:44:11 -05:00 |
Pietro Gagliardi
|
6662e09c30
|
Added a button to the test main window, including click handling.
|
2014-02-10 04:59:39 -05:00 |