Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi e75730b37d Resolved Grid TODOs: moved feature requests to future plans and made sure SetStretchy() doesn't leave previous stretchy controls filling by accident. 2014-04-29 10:10:28 -04:00
Pietro Gagliardi f8bca7e0e0 Added a sanity check for stretchy control indices in the Grid code. 2014-04-29 10:00:27 -04:00
Pietro Gagliardi 64d5eb541e Changed the new resizing code so that it uses the same allocated slice per window instead of making a new one to store all the resize requests each time. 2014-03-17 21:09:03 -04:00
Pietro Gagliardi 19227080da Changed window resizes so that the actual Control.setRect() functions 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-17 20:42:36 -04:00
Pietro Gagliardi 0e8680c04f Dumped the mutex locks from the other controls and elaborated/asked for help in the README. 2014-03-17 14:09:09 -04:00
Pietro Gagliardi 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi a6188ec490 Added more TODOs. 2014-03-11 17:38:31 -04:00
Pietro Gagliardi cbcf9da6a0 More compiler error fixes. 2014-03-11 12:25:52 -04:00
Pietro Gagliardi 9a9a1d21bb Fixed compiler errors in the past few commits. 2014-03-11 12:24:48 -04:00
Pietro Gagliardi 28bd1e9990 TODO reduction and documentation fixups in Grid. 2014-03-11 12:01:25 -04:00
Pietro Gagliardi ce571bad52 Removed error returns from Control.preferredSize() since errors are not going to be returned anymore. 2014-03-09 19:44:41 -04:00
Pietro Gagliardi 9dc6e6f7b3 Pinned (or marked for later pinninig) behavior of various controls; also improved Space()'s documentation. 2014-03-07 19:28:25 -05:00
Pietro Gagliardi 962a84e056 Fixed Mac OS X control placement flipping. This is done by passing the height of the window around setRect() calls to avoid polling the content view frame each time. 2014-03-03 17:44:03 -05:00
Pietro Gagliardi 417ed1f727 Added Grid.SetStretchy to allow one control in a Grid to fill the parent Control's space, even when resizing. 2014-02-26 07:01:02 -05:00
Pietro Gagliardi e1677a8941 Added a way to let Controls in a Grid be sized to fill their cells. 2014-02-25 21:54:13 -05:00
Pietro Gagliardi a95e63003d More documentation fixups. 2014-02-25 19:10:09 -05:00
Pietro Gagliardi d55b2a9d18 Fixed up Grid and Space() documentation. 2014-02-25 19:05:01 -05:00
Pietro Gagliardi c6cafdd402 Wrote the Grid test and found/fixed one error in Grid's position 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-25 18:57:19 -05:00
Pietro Gagliardi 7ba3c5ac17 Added untested initial Grid. Now to write a test. 2014-02-25 18:21:58 -05:00