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;
86 @property (nonatomic, assign)
long fEventMask;
87 @property (nonatomic, assign)
int fClass;
88 @property (nonatomic, assign)
int fDepth;
89 @property (nonatomic, assign)
int fBitGravity;
90 @property (nonatomic, assign)
int fWinGravity;
91 @property (nonatomic, assign)
unsigned long fBackgroundPixel;
93 @property (nonatomic, readonly)
int fMapState;
94 @property (nonatomic, assign) BOOL fOverrideRedirect;
100 @property (nonatomic, assign) BOOL fHasFocus;
108 @property (nonatomic, readonly) NSView<X11Window> *fContentView;
115 @property (nonatomic, assign)
int fPassiveGrabButton;
116 @property (nonatomic, assign)
unsigned fPassiveGrabEventMask;
117 @property (nonatomic, assign)
unsigned fPassiveGrabKeyModifiers;
119 @property (nonatomic, assign)
unsigned fActiveGrabEventMask;
121 @property (nonatomic, assign) BOOL fPassiveGrabOwnerEvents;
123 - (
void) activatePassiveGrab;
124 - (
void) activateImplicitGrab;
125 - (
void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
128 - (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
133 - (
void) addChild : (NSView<X11Window> *) child;
142 - (
void) mapSubwindows;
143 - (
void) unmapWindow;
144 - (
void) raiseWindow;
145 - (
void) lowerWindow;
147 - (BOOL) fIsOverlapped;
148 - (
void) setOverlapped : (BOOL) overlap;
149 - (
void) configureNotifyTree;
151 - (
void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
152 - (
void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
153 - (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
157 @property (nonatomic, assign)
ECursor fCurrentCursor;
159 @property (nonatomic, assign) BOOL fIsDNDAware;
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;
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
typedef void((*Func_t)())