Commit Graph

12 Commits

Author SHA1 Message Date
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 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi ee80429bb9 More TODO reduction. 2014-03-11 11:54:32 -04: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 75c34a0789 Fixed incorrect object placement by using the window's content rect, not the window's frame, to define the window size. The coordinate system being flipped is still not fixed. 2014-03-02 19:16:36 -05:00
Pietro Gagliardi 38a1b1b203 Fixed incorrect redrawing of Mac OS X windows after resize. Still need to fix the wrong rect issues... 2014-03-02 19:13:26 -05:00
Pietro Gagliardi bbb37bb2a6 Added Mac OS X Buttons. Code hangs due to a preferredSize() issue... 2014-03-01 21:34:37 -05:00
Pietro Gagliardi d9cf76c1ab Added windowDidResize: to the Mac OS X delegate for resizing windows. Now to figure out why I can't resize windows myself... 2014-03-01 18:01:30 -05:00
Pietro Gagliardi 5caf0fe84a Cleaned up loose ends with the previous commit and got window close events working on Mac OS X. Woo! 2014-03-01 17:15:26 -05:00
Pietro Gagliardi 56eb64429d Fixed most errors. Now I just need to add a sysData pool. 2014-03-01 17:01:28 -05:00
Pietro Gagliardi 9b4e30ccf9 Started to build a single global delegate object; now to fix issues. 2014-03-01 16:56:22 -05:00