12#ifndef ROOT_QuartzWindow
13#define ROOT_QuartzWindow
15#include <Cocoa/Cocoa.h>
109- (BOOL) fIsOpenGLWidget;
110- (CGFloat) fScaleFactor;
120- (void)
setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
121- (void)
setX : (
int) x Y : (
int) y;
125 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
130- (void) addXorWindow;
131- (void) adjustXorWindowGeometry;
133- (void) removeXorWindow;
140@property (
nonatomic, assign)
unsigned long fBackgroundPixel;
146@property (
nonatomic, assign) BOOL fHasFocus;
163- (void) mapSubwindows;
181- (id)
initWithKey : (unichar) keyCode modifiers : (NSUInteger) modifiers;
182- (BOOL)
matchKey : (unichar) keyCode modifiers : (NSUInteger) modifiers;
183- (BOOL)
matchKey : (unichar) keyCode;
235@property (
nonatomic, assign)
unsigned fID;
238- (BOOL) fIsOpenGLWidget;
239- (CGFloat) fScaleFactor;
249- (void)
setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
250- (void)
setX : (
int) x Y : (
int) y;
253 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
261@property (
nonatomic, assign)
long fEventMask;
264@property (
nonatomic, assign)
int fBitGravity;
265@property (
nonatomic, assign)
int fWinGravity;
266@property (
nonatomic, assign)
unsigned long fBackgroundPixel;
269@property (
nonatomic, assign) BOOL fOverrideRedirect;
274@property (
nonatomic, assign) BOOL fHasFocus;
282@property (
nonatomic, assign)
int fPassiveGrabButton;
283@property (
nonatomic, assign)
unsigned fPassiveGrabEventMask;
284@property (
nonatomic, assign)
unsigned fPassiveGrabKeyModifiers;
286@property (
nonatomic, assign) BOOL fPassiveGrabOwnerEvents;
288- (void) activatePassiveGrab;
289- (void) activateImplicitGrab;
290- (void)
activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
304- (void) mapSubwindows;
311- (BOOL) fIsOverlapped;
313- (void) configureNotifyTree;
317@property (
nonatomic, assign) BOOL fSnapshotDraw;
321- (void)
addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
330- (void)
setProperty : (
const char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
331 forType : (
Atom_t) dataType format : (
unsigned) format;
334 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
338@property (
nonatomic, assign) BOOL fIsDNDAware;
Handle_t Window_t
Window handle.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t TranslateCoordinates
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t GetWindowAttributes
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
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
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)
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)
int LocalYROOTToCocoa(NSView< X11Window > *parentView, CGFloat yROOT)
NSView< X11Window > * FindViewForPointerEvent(NSEvent *pointerEvent)
int LocalYCocoaToROOT(NSView< X11Window > *parentView, CGFloat yCocoa)
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)
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...
Attributes that can be used when creating or changing a window.
Window attributes that can be inquired.