12#ifndef ROOT_QuartzWindow
13#define ROOT_QuartzWindow
15#include <Cocoa/Cocoa.h>
30@property (nonatomic, assign)NSPoint
start1;
31@property (nonatomic, assign)NSPoint
end1;
33@property (nonatomic, assign)NSPoint
start2;
34@property (nonatomic, assign)NSPoint
end2;
67- (
id) initWithContentRect : (NSRect) contentRect styleMask : (NSUInteger) windowStyle
68 backing : (NSBackingStoreType) bufferingType defer : (BOOL) deferCreation
81- (
void) setFIsDeleted : (BOOL) deleted;
84- (
void) forwardInvocation : (NSInvocation *) anInvocation;
85- (NSMethodSignature*) methodSignatureForSelector : (
SEL) selector;
92@property (nonatomic, assign)
QuartzImage *fShapeCombineMask;
98- (BOOL) fIsOpenGLWidget;
99- (CGFloat) fScaleFactor;
108- (
void) setDrawableSize : (NSSize) newSize;
109- (
void) setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
110- (
void) setX : (
int) x Y : (
int) y;
114 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
116- (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
119- (
void) addCrosshairWindow;
120- (
void) adjustCrosshairWindowGeometry;
122- (
void) removeCrosshairWindow;
129@property (nonatomic, assign)
unsigned long fBackgroundPixel;
130@property (nonatomic, readonly)
int fMapState;
135@property (nonatomic, assign) BOOL fHasFocus;
152- (
void) mapSubwindows;
170- (
id) initWithKey : (unichar) keyCode modifiers : (NSUInteger) modifiers;
171- (BOOL) matchKey : (unichar) keyCode modifiers : (NSUInteger) modifiers;
172- (BOOL) matchKey : (unichar) keyCode;
224@property (nonatomic, assign)
unsigned fID;
227- (BOOL) fIsOpenGLWidget;
228- (CGFloat) fScaleFactor;
237- (
void) setDrawableSize : (NSSize) newSize;
238- (
void) setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
239- (
void) setX : (
int) x Y : (
int) y;
242 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
243- (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
250@property (nonatomic, assign)
long fEventMask;
251@property (nonatomic, assign)
int fClass;
252@property (nonatomic, assign)
int fDepth;
253@property (nonatomic, assign)
int fBitGravity;
254@property (nonatomic, assign)
int fWinGravity;
255@property (nonatomic, assign)
unsigned long fBackgroundPixel;
256@property (nonatomic, retain)
QuartzImage *fBackgroundPixmap;
257@property (nonatomic, readonly)
int fMapState;
258@property (nonatomic, assign) BOOL fOverrideRedirect;
263@property (nonatomic, assign) BOOL fHasFocus;
267@property (nonatomic, assign)
QuartzView *fParentView;
271@property (nonatomic, assign)
int fPassiveGrabButton;
272@property (nonatomic, assign)
unsigned fPassiveGrabEventMask;
273@property (nonatomic, assign)
unsigned fPassiveGrabKeyModifiers;
275@property (nonatomic, assign) BOOL fPassiveGrabOwnerEvents;
277- (
void) activatePassiveGrab;
278- (
void) activateImplicitGrab;
279- (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
282- (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
293- (
void) mapSubwindows;
300- (BOOL) fIsOverlapped;
301- (
void) setOverlapped : (BOOL) overlap;
302- (
void) configureNotifyTree;
306@property (nonatomic, assign) BOOL fSnapshotDraw;
310- (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
311- (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
312- (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
316@property (nonatomic, assign)
ECursor fCurrentCursor;
319- (
void) setProperty : (const
char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
320 forType : (
Atom_t) dataType format : (
unsigned) format;
321- (BOOL) hasProperty : (const
char *) propName;
322- (
unsigned char *) getProperty : (const
char *) propName returnType : (
Atom_t *) type
323 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
324- (
void) removeProperty : (const
char *) propName;
327@property (nonatomic, assign) BOOL fIsDNDAware;
329- (NSDragOperation) draggingEntered : (
id<NSDraggingInfo>) sender;
330- (BOOL) performDragOperation : (
id<NSDraggingInfo>) sender;
typedef void((*Func_t)())
QuartzPixmap * fBackBuffer
unsigned fPassiveGrabKeyModifiers
NSMutableArray * fPassiveKeyGrabs
BOOL fActiveGrabOwnerEvents
NSMutableDictionary * fX11Properties
BOOL fPassiveGrabOwnerEvents
unsigned fPassiveGrabEventMask
QuartzImage * fBackgroundPixmap
ROOT::MacOSX::X11::PointerGrab fCurrentGrabType
unsigned long fBackgroundPixel
unsigned fActiveGrabEventMask
QuartzWindow * fMainWindow
QuartzView * fContentView
QuartzImage * fShapeCombineMask
EvaluateInfo init(std::vector< RooRealProxy > parameters, std::vector< ArrayWrapper * > wrappers, std::vector< double * > arrays, size_t begin, size_t batchSize)
int GlobalYROOTToCocoa(CGFloat yROOT)
NSPoint ConvertPointFromScreenToBase(NSPoint screenPoint, NSWindow *window)
bool ViewIsHtmlViewFrame(NSView< X11Window > *view, bool checkParent)
int GlobalYCocoaToROOT(CGFloat yCocoa)
NSPoint ConvertPointFromBaseToScreen(NSWindow *window, NSPoint windowPoint)
NSPoint TranslateToScreen(NSView< X11Window > *from, NSPoint point)
bool ScreenPointIsInView(NSView< X11Window > *view, Int_t x, Int_t y)
void GetWindowAttributes(NSObject< X11Window > *window, WindowAttributes_t *dst)
NSView< X11Window > * FindDNDAwareViewInPoint(NSView *parentView, Window_t dragWinID, Window_t inputWinID, Int_t x, Int_t y, Int_t maxDepth)
QuartzWindow * FindWindowInPoint(Int_t x, Int_t y)
int GlobalXCocoaToROOT(CGFloat xCocoa)
void WindowLostFocus(Window_t winID)
NSView< X11Window > * FindViewForPointerEvent(NSEvent *pointerEvent)
int LocalYCocoaToROOT(NSView< X11Window > *parentView, CGFloat yCocoa)
NSPoint TranslateCoordinates(NSView< X11Window > *fromView, NSView< X11Window > *toView, NSPoint sourcePoint)
QuartzWindow * CreateTopLevelWindow(Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t)
NSView< X11Window > * FindViewUnderPointer()
void UnlockFocus(NSView< X11Window > *view)
int GlobalXROOTToCocoa(CGFloat xROOT)
QuartzView * CreateChildView(QuartzView *parent, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t wtype)
QuartzWindow * FindWindowForPointerEvent(NSEvent *pointerEvent)
int LocalYROOTToCocoa(NSObject< X11Drawable > *parentView, CGFloat yROOT)
void GetRootWindowAttributes(WindowAttributes_t *attr)
QuartzWindow * FindWindowUnderPointer()
bool ViewIsTextViewFrame(NSView< X11Window > *view, bool checkParent)
NSPoint TranslateFromScreen(NSPoint point, NSView< X11Window > *to)
void ClipToShapeMask(NSView< X11Window > *view, CGContextRef ctx)
bool LockFocus(NSView< X11Window > *view)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...