12#ifndef ROOT_X11Drawable
13#define ROOT_X11Drawable
15#include <Cocoa/Cocoa.h>
37@property (nonatomic, assign)
unsigned fID;
63- (void) setDrawMode : (
TVirtualX::EDrawMode) newMode;
65- (void) setDirectDraw : (BOOL) mode;
70 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
73- (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
77@protocol X11Window <X11Drawable>
81- (void) setDrawableSize : (NSSize) newSize;
82- (void) setX : (
int) x Y : (
int) y width : (
unsigned) w height : (
unsigned) h;
83- (void) setX : (
int) x Y : (
int) y;
94@property (nonatomic, assign)
int fClass;
95@property (nonatomic, assign)
int fDepth;
132- (void) activateGrab : (
unsigned) eventMask ownerEvents : (BOOL) ownerEvents;
135- (BOOL) acceptsCrossingEvents : (
unsigned) eventMask;
140- (void) addChild : (
NSView<X11Window> *) child;
155- (void) setOverlapped : (BOOL) overlap;
158- (void) addPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
159- (void) removePassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
160- (
PassiveKeyGrab *) findPassiveKeyGrab : (unichar) keyCode modifiers : (NSUInteger) modifiers;
169- (void) setProperty : (const
char *) propName data : (
unsigned char *) propData size : (
unsigned) dataSize
170 forType : (
Atom_t) dataType format : (
unsigned) format;
171- (BOOL) hasProperty : (const
char *) propName;
172- (
unsigned char *) getProperty : (const
char *) propName returnType : (
Atom_t *) type
173 returnFormat : (
unsigned *) format nElements : (
unsigned *) nElements;
174- (void) removeProperty : (const
char *) propName;
Semi-Abstract base class defining a generic interface to the underlying, low level,...
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
Attributes that can be used when creating or changing a window.
Window attributes that can be inquired.