Commit Graph

17 Commits

Author SHA1 Message Date
Pietro Gagliardi 898c3c7b66 Removed TODO from area_darwin.go about extra mouse button handling; turns out it works as expected right out of the gate... for the most part. 2014-05-06 20:36:31 -04:00
Pietro Gagliardi 417bdb8949 Consolidated NSScrollView code on Mac OS X to be all in one place. 2014-04-13 12:52:10 -04:00
Pietro Gagliardi a01ffafba0 Fixed Area mouse events being sent when something happens outside the Area itself. 2014-04-10 18:52:43 -04:00
Pietro Gagliardi 78bb4cdace Fixed Area drawing assuming the first pixel of the *image.NRGBA is at i.Pix[0]. 2014-04-09 18:26:20 -04:00
Pietro Gagliardi 8eee2a92b7 Changed the way drawRect: was being added to our Mac OS X Area such that we no longer need a separate function to add it to the class. 2014-04-04 22:21:53 -04:00
Pietro Gagliardi 8c109a0ae9 Updated the Area drawRect: adding error message to look like the ones that come out of the new class system. 2014-04-04 21:35:14 -04:00
Pietro Gagliardi 7ea493873c Changed the Area class on Mac OS X to use the new class creation code. This gets rid of ALL the class creation code from delegate_darwin.go. 2014-04-04 21:32:10 -04:00
Pietro Gagliardi e35457b968 Removed objc_alloc(). This should be all of them. Now to redo how classes are handled... 2014-04-04 20:34:35 -04:00
Pietro Gagliardi 5a5b486b6a Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls into a simple initWithDummyFrame(). 2014-04-04 19:51:59 -04:00
Pietro Gagliardi 2884d45f0f Fixed mouse move events on Mac OS X not returning buttons right, I think: turns out I was sending the wrong message in. Now I have to figure out how to filter out mouse move messages; then I can really make sure this works right... 2014-04-03 23:52:26 -04:00
Pietro Gagliardi 6a7cb73dda Added key events to Mac OS X Areas. Now Area is feature-complete (but buggy) on all platforms :D Also more TODOs. 2014-03-30 19:53:44 -04:00
Pietro Gagliardi 41a7e3dab8 Implemented Area mouse events on Mac OS X. Also fixed a few other things left behind in the previous commits. Also more TODOs. 2014-03-30 17:52:27 -04:00
Pietro Gagliardi 8c18adcfdb Fixed flaky redraw in Mac OS X Areas. 2014-03-30 14:29:02 -04:00
Pietro Gagliardi 6a40011f85 Implement Mac OS X AreaHandler.Paint(). 2014-03-30 14:25:01 -04:00
Pietro Gagliardi 8f944c7ec6 When we created our delegate and view classes on Mac OS X, it turned out we were accidentally subclassing the metaclass (of NSObject and NSView, respectively), not the actual superclass itself. Fixed tha. This also fixed that mysterious objc_new()/[object init] not working on the delegate class problem. 2014-03-30 13:21:10 -04:00
Pietro Gagliardi 08dfb5da20 Attempted to add the Area bare bones and resizing code to the Mac OS X backend. It complains that initWithFrame: is not implemented... 2014-03-30 11:19:13 -04:00
Pietro Gagliardi f2d6daa9ea Added the beginning of the Mac OS X Area implementation. Also fixed the long-broken Mac OS X build. 2014-03-29 23:57:49 -04:00