Commit Graph

10 Commits

Author SHA1 Message Date
Pietro Gagliardi 989ac438fc Fixed the whole NSApplication.h thing so now the project builds with both 10.6 and 10.8. Ugh. 2014-05-20 08:35:39 -04:00
Pietro Gagliardi c6d24f0e32 Changed #include to #import on the Objective-C files to settle the whole include guards thing. Now to continue fixing Mac OS X 10.6 building... 2014-05-20 08:08:55 -04:00
Pietro Gagliardi 3e9e767d79 Fixed the Mac OS X 10.6 building using a rather hackish approach... Now it won't build on 10.6 itself without problems, so... 2014-05-20 07:46:57 -04:00
Pietro Gagliardi 6a06292081 Added the Stack Overflow link for Mac OS X Listbox insertion autoselection and fixed deletion autoselection as well. 2014-05-17 13:27:54 -04:00
Pietro Gagliardi be56293e9c Found a method in NSArrayController via Stack Overflow which lets me suppress selection-changing behavior on NSTableView inserts; use that on Listbox in Mac OS X. This means sysData.selectIndices() and its Mac OS X implementation can (and has) gone away, clearing TODOs on Windows and Unix by extension. 2014-05-17 12:42:00 -04:00
Pietro Gagliardi d8a7d9b53e Fixed up a bunch of Mac OS X function names, mostly Listbox-related, to be more clear and more consistent. 2014-05-16 20:44:19 -04:00
Pietro Gagliardi a9717bfb4f Organized the dummyRect declarations/definitions/etc. in the Objective-C files. I think that's it for the Objective-C conversion of the Mac OS X code! 2014-05-16 09:13:11 -04:00
Pietro Gagliardi ebcbaa129d Combined all the Objective-C headers into objc_darwin.h. 2014-05-16 06:49:29 -04:00
Pietro Gagliardi 82101036b8 Removed the control font code from bleh_darwin.m and rewrote it in Objective-C in sysdata_darwin.m. 2014-05-15 21:16:28 -04:00
Pietro Gagliardi 58b07a83ea Migrated listbox_darwin.go to using Objective-C directly instead of through the runtime. Due to linking issues on Mac OS X 10.6, I haven't made this live yet; I need to repair my 10.6 setup before I can actually test. This won't be done before midnight, so preemptive commit. The new listbox_darwin.go is lbnew. 2014-05-13 23:35:04 -04:00