12#ifndef ROOT_X11Drawable
13#define ROOT_X11Drawable
15#include <Cocoa/Cocoa.h>
37@property (nonatomic, assign)
unsigned fID;
48@property (nonatomic, readonly) CGContextRef
fContext;
58 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
61- (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
69- (
void) setDrawableSize : (NSSize) newSize;
70- (
void) setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
71- (
void) setX : (
int) x Y : (
int) y;
82@property (nonatomic, assign)
int fClass;
83@property (nonatomic, assign)
int fDepth;
120- (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
123- (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
143- (
void) setOverlapped : (BOOL) overlap;
146- (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
147- (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
148- (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
157- (
void) setProperty : (const
char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
158 forType : (
Atom_t) dataType format : (
unsigned) format;
159- (BOOL) hasProperty : (const
char *) propName;
160- (
unsigned char *) getProperty : (const
char *) propName returnType : (
Atom_t *) type
161 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
162- (
void) removeProperty : (const
char *) propName;
typedef void((*Func_t)())
QuartzImage * fBackgroundPixmap
unsigned fPassiveGrabEventMask
void activateImplicitGrab()
unsigned fPassiveGrabKeyModifiers
NSView< X11Window > * fContentView
unsigned long fBackgroundPixel
QuartzWindow * fQuartzWindow
void activatePassiveGrab()
QuartzPixmap * fBackBuffer
BOOL fPassiveGrabOwnerEvents
void configureNotifyTree()
unsigned fActiveGrabEventMask