Pietro Gagliardi
|
26c6b97ce1
|
Removed ui.Event(); all event channels are initialized with their objects now.
|
2014-03-12 21:47:39 -04:00 |
Pietro Gagliardi
|
6ee8d96a6e
|
Added GTK+ indeterminate ProgressBars.
|
2014-03-12 17:31:13 -04:00 |
Pietro Gagliardi
|
2fb7056be4
|
Standardized message boxes so they appear similarly on all platforms. This shafts Windows because primary/secondary text message boxes were only added in Windows Vista, but at least MSDN provides discourse.
|
2014-03-12 12:14:24 -04:00 |
Pietro Gagliardi
|
1e338afc4a
|
Split NewListbox() into NewListbox() (single-selection) and NewMultiSelListbox() (multiple selection); fixed the documentaiton for the Listbox constructor(s) to talk about Listbox and not Combobox, and added some TODOs.
|
2014-03-11 20:44:04 -04:00 |
Pietro Gagliardi
|
cdd535cc71
|
Made Stack.SetStretchy() panic on invalid index, ending that group of functions. Also added the tests for those functions who did not have tests already written.
|
2014-03-11 17:37:04 -04:00 |
Pietro Gagliardi
|
c43583fe20
|
Handle out of range on Listbox.Delete(). The Mac OS X exception behavior I previously noted has bene resolved: what happens after exception handling is undefined :|
|
2014-03-11 13:37:19 -04:00 |
Pietro Gagliardi
|
699f786cd5
|
Fixed compiler errors in the previous few commits.
|
2014-03-10 11:06:07 -04:00 |
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 |