Commit Graph

825 Commits

Author SHA1 Message Date
Pietro Gagliardi c40b7b5599 Added basic signal connection. I'm going to need to build a different callback system, though... 2014-02-16 16:23:49 -05:00
Pietro Gagliardi 21c1ec6f83 Added the beginning of the Unix (GTK+) implementation. 2014-02-16 15:55:51 -05:00
Pietro Gagliardi 3a99ee6569 Removed stray TODO left over from copy/paste. 2014-02-15 18:43:49 -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 8be17f087b More TODOs 2014-02-15 18:15:24 -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 ca1c513159 Added vertical scroll bars to Combobox. 2014-02-15 17:55:15 -05:00
Pietro Gagliardi 8c30cae462 Added Combobox.Append() and Combobox.InsertBefore(). 2014-02-15 17:52:33 -05:00
Pietro Gagliardi 430eac563a Added a TODO related to the previous commit. 2014-02-15 16:30:44 -05:00
Pietro Gagliardi e70c6f10c5 Fixed a build error in the previous commit. 2014-02-15 16:27:47 -05:00
Pietro Gagliardi 16e561c1e3 Added message boxes and adjusted init() accordingly to display one on failure. 2014-02-15 16:27:07 -05:00
Pietro Gagliardi 0e41eddf54 Removed a TODO regarding Windows Common Controls because I'm not going to be using those constants (and if I ever add more controls I will need to use comctl anyway). 2014-02-15 15:59:02 -05:00
Pietro Gagliardi 558c618fbf Gave all relevant controls matching SetText()/Text() pairs. Also added a TODO for Checkbox related to checked state. 2014-02-15 15:51:06 -05:00
Pietro Gagliardi c20e3a2611 More TODO reduction. 2014-02-15 15:41:50 -05:00
Pietro Gagliardi 1bb2371e8d More TODO reduction. 2014-02-15 15:38:41 -05:00
Pietro Gagliardi 900ec4e715 More TODOs. 2014-02-15 14:26:37 -05:00
Pietro Gagliardi 355016de05 More error/TODO reduction. 2014-02-15 14:11:54 -05:00
Pietro Gagliardi c67191094f Made sure sysData.selectedIndices() returns an empty slice if nothing was selected in a single-selection listbox. 2014-02-15 14:05:10 -05:00
Pietro Gagliardi 063293456d More error handling reduction. 2014-02-15 14:03:46 -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 dce24dae3f Resolved some more TODOs... though resolving the rest in this file is going to be fun... 2014-02-15 13:16:17 -05:00
Pietro Gagliardi 1be9c1a105 Removed another TODO in window.go related to resizing. Also a note I forgot to say a few commits ago: setWindowSize() also keeps the OS-decided window position. 2014-02-15 13:12:46 -05:00
Pietro Gagliardi 532a8f7a16 More TODOs. 2014-02-15 13:12:40 -05:00
Pietro Gagliardi 99feed7628 Removed setting the initial width and height in sysData.make() (this gets rid of the dummy 300x300 sizes from the controls) and added an explicit sysData.setWindowSize() to Window.Open() to ensure everything's sized properly. 2014-02-15 13:07:46 -05:00
Pietro Gagliardi 32e70f6414 Added sysData.setWindowSize(), which will simplify a few things in Window.Open() and Control.make(). 2014-02-15 13:02:10 -05:00
Pietro Gagliardi 0247935cbf Split out combobox and listbox error constants into their own sections of controls_windows.go. 2014-02-15 12:49:21 -05:00
Pietro Gagliardi a65e5d8743 Fixed build errors in the previous commits. 2014-02-15 12:45:17 -05:00
Pietro Gagliardi 0c0bbc29fa Added combobox/listbox selection helper functions. 2014-02-15 12:32:12 -05:00
Pietro Gagliardi 0e2c1d2314 Added sysData.insertBefore(). 2014-02-15 12:06:29 -05:00
Pietro Gagliardi 2c97007551 Resolved some of window.go's TODOs. 2014-02-15 12:04:01 -05:00
Pietro Gagliardi 40f375fdb9 Removing more leftover stuff. 2014-02-15 11:57:49 -05:00
Pietro Gagliardi 3a69fa9f2d Window-related TODOs. 2014-02-14 23:19:35 -05:00
Pietro Gagliardi ffe90eb659 Added scrollbars to Listbox. 2014-02-14 22:10:35 -05:00
Pietro Gagliardi 6f819f60d8 More TODOs. 2014-02-14 20:42:26 -05:00
Pietro Gagliardi 168b6eb112 Handled all controls's created field. 2014-02-14 20:41:36 -05:00
Pietro Gagliardi 7d80fdd0f1 More TODOs. 2014-02-14 17:32:44 -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 61d7f285ac Renamed sysData.editable to sysData.alternate in preparation for ListBox. 2014-02-14 15:54:56 -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 fbba8a581c More TODOs. 2014-02-14 12:18:21 -05:00
Pietro Gagliardi 09f6ec4a66 Now that we have sysData.text() we no longer need the getText() that needed to be migrated. 2014-02-14 12:17:21 -05:00
Pietro Gagliardi 39442cefeb Added Combobox. 2014-02-14 12:16:27 -05:00
Pietro Gagliardi 9403224eb0 Windows no longer need to be Controls after I reworked the parent-child system so that children do not need ot know what their parents are. 2014-02-14 11:13:10 -05:00
Pietro Gagliardi 80f43a613a Renamed Control.apply() to Control.make(). 2014-02-14 11:12:08 -05:00
Pietro Gagliardi 8407bfb0cb Changed manual sysData construction to use a helper function instead. 2014-02-14 11:02:59 -05:00
Pietro Gagliardi 9a4e7bf5eb Changed Stack so that controls are added only at creation time. 2014-02-14 10:58:16 -05:00