summaryrefslogtreecommitdiff
path: root/button.go
AgeCommit message (Collapse)Author
2014-02-24Added Control.preferredSize() and preferredSize() for all the standard Controls.Pietro Gagliardi
2014-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-18Buffered the event channels, as per skelterjohn's suggestion; I thought this ↵Pietro Gagliardi
would fix the faults I now get, but it doesn't...
2014-02-15Gave all relevant controls matching SetText()/Text() pairs. Also added a ↵Pietro Gagliardi
TODO for Checkbox related to checked state.
2014-02-15Removed setting the initial width and height in sysData.make() (this gets ↵Pietro Gagliardi
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-14Handled all controls's created field.Pietro Gagliardi
2014-02-14Renamed Control.apply() to Control.make().Pietro Gagliardi
2014-02-14Changed manual sysData construction to use a helper function instead.Pietro Gagliardi
2014-02-13Removed Control.setParent() as the parent/child hierarchy is now unidirectional.Pietro Gagliardi
2014-02-13Added sizing of windows and the main window control. It presently deadlocks; ↵Pietro Gagliardi
I'll need to redo my mutexes...
2014-02-12Fixed compiler errors. New code structure success!Pietro Gagliardi
2014-02-12Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event.Pietro Gagliardi
2014-02-12Modified Button for the new changes. Now I just need to actually create the ↵Pietro Gagliardi
window class and edit main()...
2014-02-12Whoops, forgot to add button.go itself :|Pietro Gagliardi