summaryrefslogtreecommitdiff
path: root/area_darwin.go
AgeCommit message (Collapse)Author
2014-05-13Removed the class creation at runtime stuff and its residue from the Go ↵Pietro Gagliardi
files. This also cleans up the initialization stuff on the Go side too.
2014-05-13Moved area_darwin.go to direct Objective-C use.Pietro Gagliardi
2014-05-12Handled AreaHandler.Mouse()'s handled return properly on Mac OS X. Also ↵Pietro Gagliardi
fixed some typos in objc_darwin.h.
2014-05-12Fixed Mac OS X Area mouse drags being reported outside the actual Area.Pietro Gagliardi
2014-05-10Added tracking areas to Area on Mac OS X so mouse move events can work; they ↵Pietro Gagliardi
work now.
2014-05-10Preparation for adding tracking areas to Mac OS X Areas: we need to now pass ↵Pietro Gagliardi
in the sysData to each control's make() function so Area can save the tracking area somewhere (this will also come in handy when I change alternate from a bool to an integer index).
2014-05-10Documented the xxxMouseDragged: behavior in the Mac OS X source code.Pietro Gagliardi
2014-05-07Fixed dragging at all in Mac OS X Areas; now we just have to work out all ↵Pietro Gagliardi
the other kinks...
2014-05-06Removed TODO from area_darwin.go about extra mouse button handling; turns ↵Pietro Gagliardi
out it works as expected right out of the gate... for the most part.
2014-04-13Consolidated NSScrollView code on Mac OS X to be all in one place.Pietro Gagliardi
2014-04-10Fixed Area mouse events being sent when something happens outside the Area ↵Pietro Gagliardi
itself.
2014-04-09Fixed Area drawing assuming the first pixel of the *image.NRGBA is at i.Pix[0].Pietro Gagliardi
2014-04-04Changed the way drawRect: was being added to our Mac OS X Area such that we ↵Pietro Gagliardi
no longer need a separate function to add it to the class.
2014-04-04Updated the Area drawRect: adding error message to look like the ones that ↵Pietro Gagliardi
come out of the new class system.
2014-04-04Changed the Area class on Mac OS X to use the new class creation code. This ↵Pietro Gagliardi
gets rid of ALL the class creation code from delegate_darwin.go.
2014-04-04Removed objc_alloc(). This should be all of them. Now to redo how classes ↵Pietro Gagliardi
are handled...
2014-04-04Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls ↵Pietro Gagliardi
into a simple initWithDummyFrame().
2014-04-03Fixed mouse move events on Mac OS X not returning buttons right, I think: ↵Pietro Gagliardi
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-03-30Added key events to Mac OS X Areas. Now Area is feature-complete (but buggy) ↵Pietro Gagliardi
on all platforms :D Also more TODOs.
2014-03-30Implemented Area mouse events on Mac OS X. Also fixed a few other things ↵Pietro Gagliardi
left behind in the previous commits. Also more TODOs.
2014-03-30Fixed flaky redraw in Mac OS X Areas.Pietro Gagliardi
2014-03-30Implement Mac OS X AreaHandler.Paint().Pietro Gagliardi
2014-03-30When we created our delegate and view classes on Mac OS X, it turned out we ↵Pietro Gagliardi
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-30Attempted to add the Area bare bones and resizing code to the Mac OS X ↵Pietro Gagliardi
backend. It complains that initWithFrame: is not implemented...
2014-03-29Added the beginning of the Mac OS X Area implementation. Also fixed the ↵Pietro Gagliardi
long-broken Mac OS X build.