Commit Graph

42 Commits

Author SHA1 Message Date
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
Pietro Gagliardi df8f7a2190 Added window messages and custom message loops. 2014-02-09 16:40:53 -05:00
Pietro Gagliardi 3482c9c541 Added the rest of the skeleton necessary for opening a simple window as well as the code to actually open one. Now for custom window procedures! 2014-02-09 14:59:37 -05:00
Pietro Gagliardi 35e8a028f5 Initial commit. Added MessageBox() code. 2014-02-07 21:17:24 -05:00