Commit Graph

20 Commits

Author SHA1 Message Date
Pietro Gagliardi 50a227058a Changed the allocation logging from a compile-time setting to the first initialization option. 2015-04-09 22:38:11 -04:00
Pietro Gagliardi d9315e6d8f Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -04:00
Pietro Gagliardi e752356037 Migrated the Mac OS X code to the new uiControl/uiSizing system. 2015-04-09 18:39:21 -04:00
Pietro Gagliardi 8e0cd27605 Laid the foundation for padding. 2015-04-09 15:25:18 -04:00
Pietro Gagliardi 7c6beec879 Implemented uiWindowSetMargined() on Mac OS X. 2015-04-09 15:10:12 -04:00
Pietro Gagliardi 67bfe61c93 Implemented the text functions on OS X. 2015-04-09 11:54:02 -04:00
Pietro Gagliardi 410378b451 And implemented proper control showing on Mac OS X. 2015-04-08 19:14:22 -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 5597606f18 Better monitoring of Objective-C objects (including main GUI objects). 2015-04-08 02:28:42 -04:00
Pietro Gagliardi 521829a0a6 Added allocation logging to Objective-C objects. Fixed some Mac OS X build issues. 2015-04-08 00:27:03 -04:00
Pietro Gagliardi 7b1dfbf1d6 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -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 3969095a33 Implemented uiButton on Mac OS X. Now to fix build issues and test... 2015-04-07 16:12:28 -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
Pietro Gagliardi a013fe6384 Added the uiDarwinControl logic. 2015-04-07 14:42:52 -04:00
Pietro Gagliardi 587da1f40f 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 ab936d304f 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 1d76d53593 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00