Commit Graph

10 Commits

Author SHA1 Message Date
Pietro Gagliardi f4506277b9 Added bounds checks for Listbox.InsertBefore(). This stupid 32-bit Mac bug keeps Listbox.Delete() unchecked for now... 2014-03-09 10:51:01 -04:00
Pietro Gagliardi 3e47b00eda Added bounds checks for Combobox.InsertBefore() and Combobox.Delete(). 2014-03-09 10:41:07 -04:00
Pietro Gagliardi a67eaaf9ba Added a flag to the test program to evaluate illegal deletions on Mac OS X, necessary before I make it panic myself. 2014-03-08 21:59:03 -05:00
Pietro Gagliardi 3aa59d4ab9 Added Combobox/Listbox.Len() and its GTK+ implementation. 2014-03-08 16:42:57 -05:00
Pietro Gagliardi 20dcc48bee Changed Combobox.Append() and Listbox.Append() to accept multiple strings in one call. 2014-03-07 15:01:42 -05:00
Pietro Gagliardi d6f289bc86 Split NewStack() into NewHorizontalStack() and NewVerticalStack(). Unexported Orientation and its values accordingly. 2014-03-06 20:30:13 -05:00
Pietro Gagliardi 40a9dc55c9 Changed the ".." import in the test binary to a proper "github.com/andlabs/ui" import. (This means I finally moved my working environment out of a folder src/wingo and into the proper src/github.com/andlabs/ui.) 2014-03-04 23:10:48 -05:00
Pietro Gagliardi 6c33892831 Added flags to show the auxiliary test windows in the test program, to make working with just the main window easier. 2014-03-03 15:55:38 -05:00
Pietro Gagliardi 0333f799d9 Added a Listbox preferredSize test window to the main test program, as it appears I'm going to have to change how sysData.preferredSize() works on Mac OS X to acommodate NSTableView, NSScrollView, and NSProgressIndicator... 2014-03-03 13:58:20 -05:00
Pietro Gagliardi be5458c0a3 Major code restructure to allow Cocoa to work correctly. Cocoa requires that the application loop run on the very first OS thread created, not just an any ordinary thread. To support this, your code must now be run by the UI init code. Windows and Unix builds still work fine; Mac OS X fails for reasons I now have to debug. 2014-03-01 15:18:29 -05:00