12 #ifndef ROOT_X11Drawable
13 #define ROOT_X11Drawable
15 #include <Cocoa/Cocoa.h>
37 @property (nonatomic, assign)
unsigned fID;
47 @property (nonatomic, readonly) CGContextRef
fContext;
57 clipOrigin : (ROOT::MacOSX::X11::Point) origin toPoint : (ROOT::MacOSX::X11::Point) dstPoint;
60 - (
unsigned char *) readColorBits : (ROOT::MacOSX::X11::Rectangle) area;
68 - (
void) setDrawableSize : (NSSize) newSize;
69 - (
void) setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
70 - (
void) setX : (
int) x Y : (
int) y;
81 @property (nonatomic, assign)
int fClass;
82 @property (nonatomic, assign)
int fDepth;
119 - (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
122 - (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
142 - (
void) setOverlapped : (BOOL) overlap;
145 - (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
146 - (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
147 - (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
156 - (
void) setProperty : (const
char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
157 forType : (
Atom_t) dataType format : (
unsigned) format;
158 - (BOOL) hasProperty : (const
char *) propName;
159 - (
unsigned char *) getProperty : (const
char *) propName returnType : (
Atom_t *) type
160 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
161 - (
void) removeProperty : (const
char *) propName;
NSView< X11Window > * fContentView
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()