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;
81 @property (nonatomic, assign)
long fEventMask;
82 @property (nonatomic, assign)
int fClass;
83 @property (nonatomic, assign)
int fDepth;
84 @property (nonatomic, assign)
int fBitGravity;
85 @property (nonatomic, assign)
int fWinGravity;
86 @property (nonatomic, assign)
unsigned long fBackgroundPixel;
88 @property (nonatomic, readonly)
int fMapState;
89 @property (nonatomic, assign) BOOL fOverrideRedirect;
95 @property (nonatomic, assign) BOOL fHasFocus;
103 @property (nonatomic, readonly) NSView<X11Window> *fContentView;
110 @property (nonatomic, assign)
int fPassiveGrabButton;
111 @property (nonatomic, assign)
unsigned fPassiveGrabEventMask;
112 @property (nonatomic, assign)
unsigned fPassiveGrabKeyModifiers;
114 @property (nonatomic, assign)
unsigned fActiveGrabEventMask;
116 @property (nonatomic, assign) BOOL fPassiveGrabOwnerEvents;
118 - (
void) activatePassiveGrab;
119 - (
void) activateImplicitGrab;
120 - (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
123 - (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
128 - (
void) addChild : (NSView<X11Window> *) child;
137 - (
void) mapSubwindows;
138 - (
void) unmapWindow;
139 - (
void) raiseWindow;
140 - (
void) lowerWindow;
142 - (BOOL) fIsOverlapped;
143 - (
void) setOverlapped : (BOOL) overlap;
144 - (
void) configureNotifyTree;
146 - (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
147 - (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
148 - (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
152 @property (nonatomic, assign)
ECursor fCurrentCursor;
154 @property (nonatomic, assign) BOOL fIsDNDAware;
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;
Namespace for new ROOT classes and functions.
typedef void((*Func_t)())