summaryrefslogtreecommitdiff
path: root/stack.go
AgeCommit message (Collapse)Author
2014-03-17Changed the new resizing code so that it uses the same allocated slice per ↵Pietro Gagliardi
window instead of making a new one to store all the resize requests each time.
2014-03-17Changed window resizes so that the actual Control.setRect() functions ↵Pietro Gagliardi
appended to an array of requests that the resize() function set all at once instead of having each done individually. This will be necessary for what I think will be a solution to the deadlocks. It doesn't work right now; I'm assuming it's allocating too much memory. I know how to fix this, but I'm committing what I have so far to be safe.
2014-03-17Dumped the mutex locks from the other controls and elaborated/asked for help ↵Pietro Gagliardi
in the README.
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-11Made Stack.SetStretchy() panic on invalid index, ending that group of ↵Pietro Gagliardi
functions. Also added the tests for those functions who did not have tests already written.
2014-03-09Removed error returns from Control.preferredSize() since errors are not ↵Pietro Gagliardi
going to be returned anymore.
2014-03-07More Space() documentation fixes; also a TODO for Space().Pietro Gagliardi
2014-03-07Pinned (or marked for later pinninig) behavior of various controls; also ↵Pietro Gagliardi
improved Space()'s documentation.
2014-03-06Split NewStack() into NewHorizontalStack() and NewVerticalStack(). ↵Pietro Gagliardi
Unexported Orientation and its values accordingly.
2014-03-03Fixed Mac OS X control placement flipping. This is done by passing the ↵Pietro Gagliardi
height of the window around setRect() calls to avoid polling the content view frame each time.
2014-02-25Lock Stack's mutex lock like with all other Controls.Pietro Gagliardi
2014-02-25Fixed up Grid and Space() documentation.Pietro Gagliardi
2014-02-25More documentation fixups.Pietro Gagliardi
2014-02-25Documentation fixups.Pietro Gagliardi
2014-02-25Added Space() for padding layouts.Pietro Gagliardi
2014-02-24Made sure Stack.SetStretchy() (like all other layout-changing functions) ↵Pietro Gagliardi
cannot be called once the parent Window has been opened.
2014-02-24Added Stack.preferredSize() and fixed errors in stack.go.Pietro Gagliardi
2014-02-24Fixed some compiler errors in the last few commits.Pietro Gagliardi
2014-02-24Wrote the new Stack.setRect().Pietro Gagliardi
2014-02-24Changed Orientation to a bool to prevent invalid values outright.Pietro Gagliardi
2014-02-24Started rewriting Stack to conform to the new layout plan.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-15More TODO reduction.Pietro Gagliardi
2014-02-14Handled all controls's created field.Pietro Gagliardi
2014-02-14Renamed Control.apply() to Control.make().Pietro Gagliardi
2014-02-14Changed Stack so that controls are added only at creation time.Pietro Gagliardi
2014-02-13Added Stacks of controls.Pietro Gagliardi