Commit Graph

2750 Commits

Author SHA1 Message Date
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 a5a00c644c And finished TableModel. There's cgo issues I need to fix; I might as well split out all the cgo code... 2018-08-25 22:31:53 -04:00
Pietro Gagliardi 76aa5f420a Added TableModelHandler; started TableModel. 2018-08-25 18:32:30 -04:00
Pietro Gagliardi b74862a0b9 Started TableModel: converted TableValue. 2018-08-24 21:47:02 -04:00
Pietro Gagliardi 0a17df91fc Added Image and renamed the BrushType constants respectively. 2018-08-21 10:07:23 -04:00
Pietro Gagliardi 3983f63048 Added Grid and finally rounded out the control gallery example. 2018-08-20 22:55:40 -04:00
Pietro Gagliardi 62fcb5ffd0 Added Form. 2018-08-20 10:47:11 -04:00
Pietro Gagliardi c58171a39e Moved stddialogs.go back and removed the old TODO-only fontbutton.go. 2018-08-20 10:22:06 -04:00
Pietro Gagliardi 4b38b1621a And finished the histogram example. 2018-08-20 10:09:53 -04:00
Pietro Gagliardi 7d83b8ad37 Re-added the graph drawing in the histogram example. 2018-08-20 09:12:32 -04:00
Pietro Gagliardi a0354058ec Added ColorButton. Will fill in the rest of the histogram example later. 2018-08-19 22:19:12 -04:00
Pietro Gagliardi a0458f7593 More TODOs. 2018-08-19 17:27:43 -04:00
Pietro Gagliardi 8281a89465 Added FontButton. 2018-08-19 17:22:12 -04:00
Pietro Gagliardi bd0dbfb686 And added a conversion of the drawtext example. It actually works! 2018-08-19 13:02:14 -04:00
Pietro Gagliardi 839ff8347a Fixed build issues. Whee. Can't wait for this to crash at runtime... 2018-08-19 12:25:31 -04:00
Pietro Gagliardi 6739b438a8 And migrated the rest of drawtext.go. Phew! 2018-08-19 12:20:59 -04:00
Pietro Gagliardi e8dd3305ef Converted AttributedString. 2018-08-19 12:05:52 -04:00
Pietro Gagliardi 89353fffd3 Finished (almost) the uiAttribute stuff. 2018-08-18 17:13:47 -04:00
Pietro Gagliardi 9678e60dd6 More attributes. 2018-08-16 22:25:47 -04:00
Pietro Gagliardi 9df762b10a Took a different, more Go-like approach to attributes. 2018-08-16 11:01:45 -04:00
Pietro Gagliardi 75e67484a3 More drawtext conversions. This isn't going to be fun; let's try a different approach (one that's also more Go-like). 2018-08-16 10:28:57 -04:00
Pietro Gagliardi c1f1aad090 More incremental progress. 2018-08-14 22:59:48 -04:00
Pietro Gagliardi 194ee077a2 Tiny amount more work. 2018-08-13 22:56:28 -04:00
Pietro Gagliardi 7c38278885 Started migrating the text APIs. 2018-08-12 20:46:02 -04:00
Pietro Gagliardi 334280a11f Added MultilineEntry. 2018-08-12 19:55:21 -04:00
Pietro Gagliardi 82818a0a13 Started a conversion of the histogram example, to test Area. 2018-08-12 17:43:41 -04:00
Pietro Gagliardi 60f0882df9 Migrated uiArea back. 2018-08-12 16:28:19 -04:00
Pietro Gagliardi 3a6de2e65a Migrated draw.go back, removing all the text stuff and some outdated comments. 2018-08-12 13:22:49 -04:00
Pietro Gagliardi da318f8e18 Expanded zz_controls.go a bit more. Also fixed some comments in radiobuttons.go. 2018-08-12 13:03:22 -04:00
Pietro Gagliardi f1717ca1df Added the start of a Go version of the controlgallery example, to make sure everything works so far. 2018-08-12 12:46:30 -04:00
Pietro Gagliardi 925adc0782 Fixed build errors. 2018-08-12 11:07:33 -04:00
Pietro Gagliardi cfea745dc7 Migrated util.go back and formalized pkguiAlloc(). 2018-08-12 10:24:24 -04:00
Pietro Gagliardi 8d43eb52ce Started fixing the build. 2018-08-12 09:24:51 -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 f0fb0f4f7e Un-intmax_t'd everything. 2018-08-11 23:21:30 -04:00
Pietro Gagliardi acdea005c0 And readded some helper code for the containers. 2018-08-11 22:04:13 -04:00
Pietro Gagliardi c05fc0d645 Migrated the containers. 2018-08-11 22:02:16 -04:00
Pietro Gagliardi 68ffb80867 More control migration. 2018-08-11 21:29:20 -04:00
Pietro Gagliardi 5ab5777d4c More control conversion and syncing. 2018-08-11 19:54:07 -04:00
Pietro Gagliardi 97c3d186f1 Migrated checkbox.go. I'll do more at once; I just want to see what effect this has. 2018-08-11 19:26:24 -04:00
Pietro Gagliardi 838e064107 Created a new Control setup; wrote Button for it. 2018-08-11 19:07:04 -04:00
Pietro Gagliardi 485c946ad8 Moved all the Go files back out of the way. There needs to be a better way. 2018-08-11 18:39:18 -04:00
Pietro Gagliardi 6700b2ec54 Updated DateTimePicker. 2018-08-11 16:56:13 -04:00
Pietro Gagliardi 757f109376 Readded Combobox and added EditableCombobox. 2018-08-11 16:40:02 -04:00
Pietro Gagliardi 69cc525e66 Started migrating controls back. These first few are unchanged. 2018-08-11 16:28:43 -04:00
Pietro Gagliardi 122bcd18bc Removed +x from the .a files 2018-08-11 16:21:55 -04:00
Pietro Gagliardi 8a600ed644 Replaced all libui files with alpha4 files. 2018-08-11 16:21:16 -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