summaryrefslogtreecommitdiff
path: root/stack.go
AgeCommit message (Collapse)Author
2015-12-11LET'S GET THIS FINAL REWRITE EVER STARTEDPietro Gagliardi
2014-10-26De-container-ized Stack.Pietro Gagliardi
2014-10-26Reimplemented Control.containerShow()/Control.containerHide(). Will be ↵Pietro Gagliardi
needed to fully move Tab on Windows away from container.
2014-10-18Merged new container/sizing stuff.Pietro Gagliardi
2014-10-02go fmt. Precursor to bug report filing.Pietro Gagliardi
2014-08-31Added initial implementation of GtkGrid-style Grid.Pietro Gagliardi
2014-08-31Changed Grid to SimpleGrid in preparation for a better Grid.Pietro Gagliardi
2014-08-30...in with the new.Pietro Gagliardi
2014-08-30Out with the old...Pietro Gagliardi
2014-07-02Moved it all back; the preemptive multitaksing during an event handler kills ↵Pietro Gagliardi
us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
2014-07-02Moved everything out of the way pending rewrite.Pietro Gagliardi
2014-06-30Restored the previous new API. I'm going to change it so that events are ↵Pietro Gagliardi
callbacks rather than using a window handler, but other than that... yeah.
2014-06-30Reverted everything back to the old API.Pietro Gagliardi
2014-06-28Began the migration to the new API. Removed locks from the public control ↵Pietro Gagliardi
APIs; they won't be needed anymore.
2014-06-26Implemented padding on Stack.Pietro Gagliardi
2014-06-26Implemented window margins for Grids and Stacks.Pietro Gagliardi
2014-06-26Fixed Space() causing panics during size calculations.Pietro Gagliardi
2014-06-25Finished the Windows conversion to the new sizing system. Untested.Pietro Gagliardi
2014-06-25Integrated the new sizing system into Grid and Stack.Pietro Gagliardi
2014-06-25Reverted Stack and Grid back to pre-yoff form. This is part of the change in ↵Pietro Gagliardi
the sizing system.
2014-06-25Added the necessary work to make new regular Labels work on the other platforms.Pietro Gagliardi
2014-06-10More go fmt.Pietro Gagliardi
2014-06-03Quick changes: turned "Window has been opened" to "Window has been created" ↵Pietro Gagliardi
since I'm going to separate creating and opening (Open() will call Create()).
2014-04-26Made Space() return the same Control repeatedly instead of making a new one ↵Pietro Gagliardi
each time to conserve memory. No future guarantees, however, so that is noted in the documentation as well.
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