summaryrefslogtreecommitdiff
path: root/grid.go
AgeCommit message (Collapse)Author
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-26Added margins and padding to Grid and a test program to make sure they're ↵Pietro Gagliardi
the same...
2014-06-26Implemented window margins for Grids and Stacks.Pietro Gagliardi
2014-06-26Fixed Space() causing panics during size calculations.Pietro Gagliardi
2014-06-25Made the new sizing system work on Windows.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-04-29Resolved Grid TODOs: moved feature requests to future plans and made sure ↵Pietro Gagliardi
SetStretchy() doesn't leave previous stretchy controls filling by accident.
2014-04-29Added a sanity check for stretchy control indices in the Grid code.Pietro Gagliardi
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-11Added more TODOs.Pietro Gagliardi
2014-03-11More compiler error fixes.Pietro Gagliardi
2014-03-11Fixed compiler errors in the past few commits.Pietro Gagliardi
2014-03-11TODO reduction and documentation fixups in Grid.Pietro Gagliardi
2014-03-09Removed error returns from Control.preferredSize() since errors are not ↵Pietro Gagliardi
going to be returned anymore.
2014-03-07Pinned (or marked for later pinninig) behavior of various controls; also ↵Pietro Gagliardi
improved Space()'s documentation.
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-26Added Grid.SetStretchy to allow one control in a Grid to fill the parent ↵Pietro Gagliardi
Control's space, even when resizing.
2014-02-25Added a way to let Controls in a Grid be sized to fill their cells.Pietro Gagliardi
2014-02-25More documentation fixups.Pietro Gagliardi
2014-02-25Fixed up Grid and Space() documentation.Pietro Gagliardi
2014-02-25Wrote the Grid test and found/fixed one error in Grid's position ↵Pietro Gagliardi
calculations. (If you compare the previous Windows build with this one, you may not notice a difference; this is because of the default preferred size of Labels being too wide).
2014-02-25Added untested initial Grid. Now to write a test.Pietro Gagliardi