Commit Graph

10 Commits

Author SHA1 Message Date
Pietro Gagliardi 92b43720b6 Decided to split control removal from parent into its own method removeParent() rather than automatically doing it in setParent(). 2015-04-09 16:21:09 -04:00
Pietro Gagliardi 410378b451 And implemented proper control showing on Mac OS X. 2015-04-08 19:14:22 -04:00
Pietro Gagliardi 6d7140160b Decided not to turn new control scrolling parameters into a bitfield. 2015-04-08 16:27:45 -04:00
Pietro Gagliardi bb229f9dc1 Built up a better system for handling data cleanup on Mac OS X; thanks to http://stackoverflow.com/questions/29522715/is-there-a-reliable-way-to-destroy-private-data-structures-when-a-standard-nsvie. 2015-04-08 15:53:50 -04:00
Pietro Gagliardi 941825e190 Cleaned out some of that gunk. I can't avoid subclassing the standard controls, but making it so that the uiControl returned by uiDarwinNewControl() can be freed by the caller will help. 2015-04-08 04:35:50 -04:00
Pietro Gagliardi 4ab6251449 Wrote up cleanup gunk on Mac OS X. Really gunk; I don't like what all this does but I don't think there's another way. 2015-04-08 03:38:08 -04:00
Pietro Gagliardi c4fa92e18f Decided to remove containerShow() and containerHide() for now. 2015-04-07 21:05:47 -04:00
Pietro Gagliardi 1bb187d55b Implemented new control preferredSize() on Mac OS X. Now that Stack works everywhere, I can resolve TODOs. 2015-04-07 20:28:28 -04:00
Pietro Gagliardi 77a60d63a6 Fixed compiler errors and bugs. uiButton on Mac OS X works! 2015-04-07 16:38:51 -04:00
Pietro Gagliardi 96e25cf502 Added the Mac OS X uiContainer. Added it to uiWindow. Added the Mac OS X coordinate system mirroring to the new control logic. Renamed *_darwin.c to *_darwin.m. 2015-04-07 15:45:56 -04:00