Pietro Gagliardi
|
a68bdec2fd
|
Removed error returns from [all controls].SetText() and Window.SetTitle().
|
2014-03-10 10:45:15 -04:00 |
Pietro Gagliardi
|
ce571bad52
|
Removed error returns from Control.preferredSize() since errors are not going to be returned anymore.
|
2014-03-09 19:44:41 -04:00 |
Pietro Gagliardi
|
962a84e056
|
Fixed Mac OS X control placement flipping. This is done by passing the height of the window around setRect() calls to avoid polling the content view frame each time.
|
2014-03-03 17:44:03 -05:00 |
Pietro Gagliardi
|
cd73e42850
|
Documentation fixups.
|
2014-02-25 15:43:12 -05:00 |
Pietro Gagliardi
|
53db57745f
|
Added Control.preferredSize() and preferredSize() for all the standard Controls.
|
2014-02-24 10:56:35 -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
|
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
|
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
|
168b6eb112
|
Handled all controls's created field.
|
2014-02-14 20:41:36 -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
|
91113a32bf
|
Removed Control.setParent() as the parent/child hierarchy is now unidirectional.
|
2014-02-13 11:45:10 -05:00 |
Pietro Gagliardi
|
5626b9e35c
|
Added sizing of windows and the main window control. It presently deadlocks; I'll need to redo my mutexes...
|
2014-02-13 05:28:26 -05:00 |
Pietro Gagliardi
|
3d2df2334e
|
Fixed compiler errors. New code structure success!
|
2014-02-12 21:33:24 -05:00 |
Pietro Gagliardi
|
40dc20be0d
|
Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event.
|
2014-02-12 21:26:18 -05:00 |
Pietro Gagliardi
|
5bc4c49afa
|
Modified Button for the new changes. Now I just need to actually create the window class and edit main()...
|
2014-02-12 21:25:25 -05:00 |
Pietro Gagliardi
|
a272436ee6
|
Whoops, forgot to add button.go itself :|
|
2014-02-12 13:52:34 -05:00 |