Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi 38a5341603 Fixed public/private namespace clobbering in the Windows backend and a wrong name in ui_darwin.h. 2015-05-07 12:58:33 -04:00
Pietro Gagliardi d23fae34be Implemented uiControlEnable() and uiControlDisable() for containers and uiWIndow on Mac OS X. 2015-05-04 01:14:18 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 4c280ca42c Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program. 2015-04-29 10:20:25 -04:00
Pietro Gagliardi 6436737720 Removed the now-obsolete old method of freeing OS X controls. 2015-04-17 18:56:17 -04:00
Pietro Gagliardi 47368bdfe9 Fixed some errors in the OS X build. IT WORKS! AND IS MUCH CLEANER NOW TOO!!!! 2015-04-17 18:54:17 -04:00
Pietro Gagliardi 3f2a0f8dfa Laid the foundation for the rewritten Mac OS X controls. 2015-04-17 18:11:03 -04:00
Pietro Gagliardi b04ef6d93f Began Darwin backend migration. 2015-04-16 13:04:46 -04:00
Pietro Gagliardi 016a05aebf Eliminated direct use of strdup(); introduced uiDarwinNSStringToText() to do that work for us (and abort on failure). 2015-04-10 13:25:09 -04:00
Pietro Gagliardi e5e0f115f7 Migrated the Mac OS X code to the new uiControl/uiSizing system. 2015-04-09 18:39:21 -04:00
Pietro Gagliardi 93ead17eef 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 2214f27cb4 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 28adb7fee5 Fixed compiler errors and bugs. uiButton on Mac OS X works! 2015-04-07 16:38:51 -04:00
Pietro Gagliardi 35342e44e7 Added the uiDarwinControl logic. 2015-04-07 14:42:52 -04:00
Pietro Gagliardi 9298bc9e37 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00
Pietro Gagliardi 58da9ce2bd Started working on uiControl. 2015-04-06 21:53:31 -04:00
Pietro Gagliardi e08a9c0492 Fixed initial Mac OS X code. 2015-04-06 20:01:14 -04:00
Pietro Gagliardi ba4967f00b Started writing the same but for Mac OS X. This time it's not tested yet; will test now. 2015-04-06 19:04:13 -04:00