12 #ifndef ROOT_X11Drawable
13 #define ROOT_X11Drawable
15 #include <Cocoa/Cocoa.h>
17 #ifndef ROOT_CocoaGuiTypes
20 #ifndef ROOT_TVirtualX
43 @property (nonatomic, assign)
unsigned fID;
53 @property (nonatomic, readonly) CGContextRef
fContext;
63 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
66 - (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
74 - (
void) setDrawableSize : (NSSize) newSize;
75 - (
void) setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
76 - (
void) setX : (
int) x Y : (
int) y;
87 @property (nonatomic, assign)
int fClass;
88 @property (nonatomic, assign)
int fDepth;
125 - (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
128 - (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
148 - (
void) setOverlapped : (BOOL) overlap;
151 - (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
152 - (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
153 - (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
162 - (
void) setProperty : (const
char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
163 forType : (
Atom_t) dataType format : (
unsigned) format;
164 - (BOOL) hasProperty : (const
char *) propName;
165 - (
unsigned char *) getProperty : (const
char *) propName returnType : (
Atom_t *) type
166 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
167 - (
void) removeProperty : (const
char *) propName;
Namespace for new ROOT classes and functions.
NSView< X11Window > * fContentView
TClass * fClass
pointer to the foreign object
QuartzImage * fBackgroundPixmap
BOOL fPassiveGrabOwnerEvents
unsigned fActiveGrabEventMask
unsigned long fBackgroundPixel
QuartzPixmap * fBackBuffer
QuartzWindow * fQuartzWindow
void activateImplicitGrab()
void configureNotifyTree()
unsigned fPassiveGrabEventMask
typedef void((*Func_t)())
unsigned fPassiveGrabKeyModifiers
void activatePassiveGrab()