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;
80 @property (nonatomic, assign)
long fEventMask;
81 @property (nonatomic, assign)
int fClass;
82 @property (nonatomic, assign)
int fDepth;
83 @property (nonatomic, assign)
int fBitGravity;
84 @property (nonatomic, assign)
int fWinGravity;
85 @property (nonatomic, assign)
unsigned long fBackgroundPixel;
87 @property (nonatomic, readonly)
int fMapState;
88 @property (nonatomic, assign) BOOL fOverrideRedirect;
94 @property (nonatomic, assign) BOOL fHasFocus;
102 @property (nonatomic, readonly) NSView<X11Window> *fContentView;
109 @property (nonatomic, assign)
int fPassiveGrabButton;
110 @property (nonatomic, assign)
unsigned fPassiveGrabEventMask;
111 @property (nonatomic, assign)
unsigned fPassiveGrabKeyModifiers;
113 @property (nonatomic, assign)
unsigned fActiveGrabEventMask;
115 @property (nonatomic, assign) BOOL fPassiveGrabOwnerEvents;
117 - (
void) activatePassiveGrab;
118 - (
void) activateImplicitGrab;
119 - (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
122 - (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
127 - (
void) addChild : (NSView<X11Window> *) child;
136 - (
void) mapSubwindows;
137 - (
void) unmapWindow;
138 - (
void) raiseWindow;
139 - (
void) lowerWindow;
141 - (BOOL) fIsOverlapped;
142 - (
void) setOverlapped : (BOOL) overlap;
143 - (
void) configureNotifyTree;
145 - (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
146 - (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
147 - (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
151 @property (nonatomic, assign)
ECursor fCurrentCursor;
153 @property (nonatomic, assign) BOOL fIsDNDAware;
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;
Namespace for new ROOT classes and functions.
typedef void((*Func_t)())