Commit Graph

2764 Commits

Author SHA1 Message Date
Pietro Gagliardi 3c4b7e208a And migrated tablemodel.go back. And now we can finally build it properly! 2018-08-26 17:36:39 -04:00
Pietro Gagliardi dd9db1c145 And migrated the examples back; also fixed a spot I missed. 2018-08-26 17:26:53 -04:00
Pietro Gagliardi 2c275b76ae And finally migrated Area back. 2018-08-26 17:22:05 -04:00
Pietro Gagliardi 246950deed Migrated drawtext.go and fontbutton.go. 2018-08-26 17:17:03 -04:00
Pietro Gagliardi 247cdf8d6f Migrated colorbutton.go back. 2018-08-26 17:08:41 -04:00
Pietro Gagliardi ba8f53fe3e Normalized names in draw.go; started migrating zz_histogram.go to boot. 2018-08-26 14:42:43 -04:00
Pietro Gagliardi c90187046a Zero-fill pkguiAlloc()'s output. 2018-08-26 14:26:33 -04:00
Pietro Gagliardi d8200a9f04 Migrated image.go, and migrated draw.go as-is. It needs some refactoring. 2018-08-26 14:09:49 -04:00
Pietro Gagliardi d0fe74d603 Migrated datetimepicker.go and brought stddialogs.go back again. 2018-08-26 13:48:13 -04:00
Pietro Gagliardi 7b7ae9d7ce More control migration. Everything beyond this point is nontrivial. 2018-08-26 13:43:05 -04:00
Pietro Gagliardi 1095719d84 Migrated more controls. 2018-08-26 13:33:54 -04:00
Pietro Gagliardi 2bc7621928 Migrated window.go, box.go, button.go, and checkbox.go back. 2018-08-26 13:24:47 -04:00
Pietro Gagliardi 809662459d Migrate the link_darwin_amd64.go and control.go files back; fixed up errors in the C files and util.go. 2018-08-26 13:18:53 -04:00
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 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