Commit Graph

21 Commits

Author SHA1 Message Date
Pietro Gagliardi b4d527736c Resolved some TODOs (including one resolved a while ago on IRC but not removed until now; thanks various people in irc.freenode.net/#macdev). 2015-04-10 03:11:44 -04:00
Pietro Gagliardi 4e03a117da Changed the allocation logging from a compile-time setting to the first initialization option. 2015-04-09 22:38:11 -04:00
Pietro Gagliardi 759feeb7a1 Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -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 ec95a4a2dd Laid the foundation for padding. 2015-04-09 15:25:18 -04:00
Pietro Gagliardi da0f0b3d69 Implemented uiWindowSetMargined() on Mac OS X. 2015-04-09 15:10:12 -04:00
Pietro Gagliardi 07fc337324 Implemented the text functions on OS X. 2015-04-09 11:54:02 -04:00
Pietro Gagliardi 310fbe58fd And implemented proper control showing on Mac OS X. 2015-04-08 19:14:22 -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 44d8833a64 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 9e4e11da8c Better monitoring of Objective-C objects (including main GUI objects). 2015-04-08 02:28:42 -04:00
Pietro Gagliardi d6bf5d6d48 Added allocation logging to Objective-C objects. Fixed some Mac OS X build issues. 2015-04-08 00:27:03 -04:00
Pietro Gagliardi 3b1e5148d9 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -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 2b40ad90ad Implemented uiButton on Mac OS X. Now to fix build issues and test... 2015-04-07 16:12:28 -04:00
Pietro Gagliardi e53ec76fb5 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
Pietro Gagliardi 35342e44e7 Added the uiDarwinControl logic. 2015-04-07 14:42:52 -04:00
Pietro Gagliardi 79d1877202 Added uiContainer, the GtkFixed equivalent for use by the GTK+ backend. Fixed up formatting of the uipriv_*.h files. 2015-04-07 12:59:01 -04:00
Pietro Gagliardi 9742cc02df Added a public API for creating raw Windows controls. Removed include guards from uipriv_*.h. 2015-04-07 00:56:06 -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