Lines 2150-2156
Link Here
|
2150 |
int /*long*/ drawViewBackgroundInRectProc = OS.CALLBACK_drawViewBackgroundInRect_(proc3); |
2150 |
int /*long*/ drawViewBackgroundInRectProc = OS.CALLBACK_drawViewBackgroundInRect_(proc3); |
2151 |
int /*long*/ drawBackgroundInClipRectProc = OS.CALLBACK_drawBackgroundInClipRect_(proc3); |
2151 |
int /*long*/ drawBackgroundInClipRectProc = OS.CALLBACK_drawBackgroundInClipRect_(proc3); |
2152 |
int /*long*/ scrollClipView_ToPointProc = OS.CALLBACK_scrollClipView_toPoint_(proc4); |
2152 |
int /*long*/ scrollClipView_ToPointProc = OS.CALLBACK_scrollClipView_toPoint_(proc4); |
2153 |
|
2153 |
int /*long*/ columnAtPointProc = OS.CALLBACK_columnAtPoint_(proc3); |
|
|
2154 |
|
2154 |
byte[] types = {'*','\0'}; |
2155 |
byte[] types = {'*','\0'}; |
2155 |
int size = C.PTR_SIZEOF, align = C.PTR_SIZEOF == 4 ? 2 : 3; |
2156 |
int size = C.PTR_SIZEOF, align = C.PTR_SIZEOF == 4 ? 2 : 3; |
2156 |
|
2157 |
|
Lines 2466-2471
Link Here
|
2466 |
OS.class_addMethod(cls, OS.sel_resetCursorRects, proc2, "@:"); |
2467 |
OS.class_addMethod(cls, OS.sel_resetCursorRects, proc2, "@:"); |
2467 |
OS.class_addMethod(cls, OS.sel_updateTrackingAreas, proc2, "@:"); |
2468 |
OS.class_addMethod(cls, OS.sel_updateTrackingAreas, proc2, "@:"); |
2468 |
OS.class_addMethod(cls, OS.sel_menuForEvent_, proc3, "@:@"); |
2469 |
OS.class_addMethod(cls, OS.sel_menuForEvent_, proc3, "@:@"); |
|
|
2470 |
OS.class_addMethod(cls, OS.sel_columnAtPoint_, columnAtPointProc, "@:{NSPoint}"); |
2469 |
//TODO hitTestProc and drawRectProc should be set Control.setRegion()? |
2471 |
//TODO hitTestProc and drawRectProc should be set Control.setRegion()? |
2470 |
OS.objc_registerClassPair(cls); |
2472 |
OS.objc_registerClassPair(cls); |
2471 |
|
2473 |
|
Lines 4956-4961
Link Here
|
4956 |
NSRect rect = new NSRect(); |
4958 |
NSRect rect = new NSRect(); |
4957 |
OS.memmove(rect, arg0, NSRect.sizeof); |
4959 |
OS.memmove(rect, arg0, NSRect.sizeof); |
4958 |
widget.drawRect(id, sel, rect); |
4960 |
widget.drawRect(id, sel, rect); |
|
|
4961 |
} else if (sel == OS.sel_columnAtPoint_) { |
4962 |
NSPoint point = new NSPoint(); |
4963 |
OS.memmove(point, arg0, NSPoint.sizeof); |
4964 |
return widget.columnAtPoint(id, sel, point); |
4959 |
} else if (sel == OS.sel__drawThemeProgressArea_) { |
4965 |
} else if (sel == OS.sel__drawThemeProgressArea_) { |
4960 |
widget._drawThemeProgressArea(id, sel, arg0); |
4966 |
widget._drawThemeProgressArea(id, sel, arg0); |
4961 |
} else if (sel == OS.sel_setFrameOrigin_) { |
4967 |
} else if (sel == OS.sel_setFrameOrigin_) { |