12#ifndef ROOT_QuartzWindow
13#define ROOT_QuartzWindow
15#include <Cocoa/Cocoa.h>
110- (BOOL) fIsOpenGLWidget;
111- (CGFloat) fScaleFactor;
121- (void)
setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
122- (void)
setX : (
int) x Y : (
int) y;
126 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
134- (void) removeXorWindow;
145@property (
nonatomic, assign)
unsigned long fBackgroundPixel;
151@property (
nonatomic, assign) BOOL fHasFocus;
168- (void) mapSubwindows;
185- (NSUInteger) fModifiers;
186- (id)
initWithKey : (unichar) keyCode modifiers : (NSUInteger) modifiers;
187- (BOOL)
matchKey : (unichar) keyCode modifiers : (NSUInteger) modifiers;
188- (BOOL)
matchKey : (unichar) keyCode;
247@property (
nonatomic, assign)
unsigned fID;
250- (BOOL) fIsOpenGLWidget;
251- (CGFloat) fScaleFactor;
263- (BOOL) isDirectDraw;
273- (void)
setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
274- (void)
setX : (
int) x Y : (
int) y;
277 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
285@property (
nonatomic, assign)
long fEventMask;
288@property (
nonatomic, assign)
int fBitGravity;
289@property (
nonatomic, assign)
int fWinGravity;
290@property (
nonatomic, assign)
unsigned long fBackgroundPixel;
293@property (
nonatomic, assign) BOOL fOverrideRedirect;
298@property (
nonatomic, assign) BOOL fHasFocus;
306@property (
nonatomic, assign)
int fPassiveGrabButton;
307@property (
nonatomic, assign)
unsigned fPassiveGrabEventMask;
308@property (
nonatomic, assign)
unsigned fPassiveGrabKeyModifiers;
310@property (
nonatomic, assign) BOOL fPassiveGrabOwnerEvents;
312- (void) activatePassiveGrab;
313- (void) activateImplicitGrab;
314- (void)
activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
328- (void) mapSubwindows;
335- (BOOL) fIsOverlapped;
337- (void) configureNotifyTree;
341@property (
nonatomic, assign) BOOL fSnapshotDraw;
345- (void)
addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
354- (void)
setProperty : (
const char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
355 forType : (
Atom_t) dataType format : (
unsigned) format;
358 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
362@property (
nonatomic, assign) BOOL fIsDNDAware;
Handle_t Window_t
Window handle.
int Int_t
Signed integer 4 bytes (int)
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
Fill Area Attributes class.
Semi-Abstract base class defining a generic interface to the underlying, low level,...
QuartzPixmap * fBackBuffer
unsigned fPassiveGrabKeyModifiers
NSMutableArray * fPassiveKeyGrabs
TAttFill fAttFill
current fill attributes
BOOL fActiveGrabOwnerEvents
TAttText fAttText
current text attribute
NSMutableDictionary * fX11Properties
BOOL fPassiveGrabOwnerEvents
TAttMarker fAttMarker
current marker attribute
unsigned fPassiveGrabEventMask
QuartzImage * fBackgroundPixmap
ROOT::MacOSX::X11::PointerGrab fCurrentGrabType
unsigned long fBackgroundPixel
unsigned fActiveGrabEventMask
TAttLine fAttLine
current line attributes
QuartzWindow * fMainWindow
TVirtualX::EDrawMode fDrawMode
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)
Attributes that can be used when creating or changing a window.
Window attributes that can be inquired.