summaryrefslogtreecommitdiff
path: root/window.go
AgeCommit message (Collapse)Author
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-12Removed ui.Event(); all event channels are initialized with their objects now.Pietro Gagliardi
2014-03-10Removed error returns from [all controls].SetText() and Window.SetTitle().Pietro Gagliardi
2014-03-09Removed error returns from Window.Show() and Window.Hide(). Also properly ↵Pietro Gagliardi
locked the Window's mutex lock in both functions.
2014-03-09Split sysData.show() into separate show() and firstShow() to accomodate ↵Pietro Gagliardi
Windows's differing rules for first-time window show; this will also allow me to remove the error returns from sysData.show() and sysData.hide() (later).
2014-02-24And the uitask message fixed was the issue all along. Now it works.Pietro Gagliardi
2014-02-24Potential fix: show the window before getting control preferred sizes; need ↵Pietro Gagliardi
to make setRect() locking first.
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-17Removed all //package ui comments.Pietro Gagliardi
2014-02-15Removed another TODO in window.go related to resizing. Also a note I forgot ↵Pietro Gagliardi
to say a few commits ago: setWindowSize() also keeps the OS-decided window position.
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-15Fixed build errors in the previous commits.Pietro Gagliardi
2014-02-15Resolved some of window.go's TODOs.Pietro Gagliardi
2014-02-14Window-related TODOs.Pietro Gagliardi
2014-02-14Windows no longer need to be Controls after I reworked the parent-child ↵Pietro Gagliardi
system so that children do not need ot know what their parents are.
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-12Adjusted Control and Window for the new system.Pietro Gagliardi
2014-02-12Added Window.SetTitle(). Also oops, forgot to mark the window as created.Pietro Gagliardi
2014-02-12Added buttons.Pietro Gagliardi
2014-02-12Added initial window size and the Window.SetTitle() function.Pietro Gagliardi
2014-02-12Separated initial text from sysData and fixed errors in the previous commits.Pietro Gagliardi
2014-02-12Set up restrictions tracking. Added a restriction that a window and its ↵Pietro Gagliardi
controls are fixed to the window once it has been open. Started accounting for parent windows in controls.
2014-02-11All build errors resolved. Now to test...Pietro Gagliardi
2014-02-11Filled in the standard window procedure.Pietro Gagliardi
2014-02-11Started implementing the public API: added the Window and Control types and ↵Pietro Gagliardi
the skeleton of the Windows implementation.