ROOT
6.07/01
Reference Guide
|
Namespaces | |
Detail | |
Classes | |
struct | Point |
struct | Rectangle |
class | Command |
class | ColorParser |
class | EventTranslator |
struct | XLFDName |
Typedefs | |
typedef std::map< std::string, Atom_t > | name_to_atom_map |
typedef std::deque< Event_t > | EventQueue_t |
Enumerations | |
enum | PointerGrab { kPGNoGrab, kPGImplicitGrab, kPGActiveGrab, kPGPassiveGrab } |
enum | FontSlant { kFSAny, kFSRegular, kFSItalic } |
enum | FontWeight { kFWAny, kFWMedium, kFWBold } |
Functions | |
CGImageRef | CreateSubImage (QuartzImage *image, const Rectangle &area) |
bool | AdjustCropArea (const Rectangle &srcRect, Rectangle &cropArea) |
bool | AdjustCropArea (QuartzImage *srcImage, Rectangle &cropArea) |
bool | AdjustCropArea (QuartzImage *srcImage, NSRect &cropArea) |
bool | AdjustCropArea (QuartzPixmap *srcImage, Rectangle &cropArea) |
void | FillPixmapBuffer (const unsigned char *bitmap, unsigned width, unsigned height, ULong_t foregroundPixel, ULong_t backgroundPixel, unsigned depth, unsigned char *imageData) |
QuartzWindow * | CreateTopLevelWindow (Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t) |
QuartzView * | CreateChildView (QuartzView *parent, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t wtype) |
void | GetRootWindowAttributes (WindowAttributes_t *attr) |
void | GetWindowAttributes (NSObject< X11Window > *window, WindowAttributes_t *dst) |
NSPoint | ConvertPointFromBaseToScreen (NSWindow *window, NSPoint windowPoint) |
NSPoint | ConvertPointFromScreenToBase (NSPoint screenPoint, NSWindow *window) |
int | GlobalXCocoaToROOT (CGFloat xCocoa) |
int | GlobalYCocoaToROOT (CGFloat yCocoa) |
int | GlobalXROOTToCocoa (CGFloat xROOT) |
int | GlobalYROOTToCocoa (CGFloat yROOT) |
int | LocalYCocoaToROOT (NSView< X11Window > *parentView, CGFloat yCocoa) |
int | LocalYROOTToCocoa (NSView< X11Window > *parentView, CGFloat yROOT) |
int | LocalYROOTToCocoa (NSObject< X11Drawable > *parentView, CGFloat yROOT) |
NSPoint | TranslateToScreen (NSView< X11Window > *from, NSPoint point) |
NSPoint | TranslateFromScreen (NSPoint point, NSView< X11Window > *to) |
NSPoint | TranslateCoordinates (NSView< X11Window > *fromView, NSView< X11Window > *toView, NSPoint sourcePoint) |
bool | ViewIsTextViewFrame (NSView< X11Window > *view, bool checkParent) |
bool | ViewIsHtmlViewFrame (NSView< X11Window > *view, bool checkParent) |
bool | LockFocus (NSView< X11Window > *view) |
void | UnlockFocus (NSView< X11Window > *view) |
bool | ScreenPointIsInView (NSView< X11Window > *view, Int_t x, Int_t y) |
QuartzWindow * | FindWindowInPoint (Int_t x, Int_t y) |
NSView< X11Window > * | FindDNDAwareViewInPoint (NSView *parentView, Window_t dragWinID, Window_t inputWinID, Int_t x, Int_t y, Int_t maxDepth) |
QuartzWindow * | FindWindowUnderPointer () |
NSView< X11Window > * | FindViewUnderPointer () |
QuartzWindow * | FindWindowForPointerEvent (NSEvent *pointerEvent) |
NSView< X11Window > * | FindViewForPointerEvent (NSEvent *pointerEvent) |
void | WindowLostFocus (Window_t winID) |
void | ClipToShapeMask (NSView< X11Window > *view, CGContextRef ctx) |
void | InitWithPredefinedAtoms (name_to_atom_map &nameToAtom, std::vector< std::string > &atomNames) |
void | PixelToRGB (Pixel_t pixelColor, CGFloat *rgb) |
void | PixelToRGB (Pixel_t pixelColor, unsigned char *rgb) |
void | MapUnicharToKeySym (unichar key, char *buf, Int_t len, UInt_t &rootKeySym) |
Int_t | MapKeySymToKeyCode (Int_t keySym) |
NSUInteger | GetCocoaKeyModifiersFromROOTKeyModifiers (UInt_t rootKeyModifiers) |
UInt_t | GetModifiers () |
bool | ParseXLFDName (const std::string &xlfdName, XLFDName &dst) |
bool | TestBitmapBit (const unsigned char *bitmap, unsigned w, unsigned i, unsigned j) |
NSView< X11Window > * | FindDNDAwareViewInPoint (NSArray *children, Window_t dragWinID, Window_t inputWinID, Int_t x, Int_t y, Int_t maxDepth) |
std::vector< unsigned char > | DownscaledImageData (unsigned w, unsigned h, CGImageRef image) |
void | SetWindowAttributes (const SetWindowAttributes_t *attr, NSObject< X11Window > *window) |
void | GetWindowGeometry (NSObject< X11Window > *win, WindowAttributes_t *dst) |
NSComparisonResult | CompareViewsToLower (id view1, id view2, void *context) |
NSComparisonResult | CompareViewsToRaise (id view1, id view2, void *context) |
NSPoint | GetCursorHotStop (NSImage *image, ECursor cursor) |
NSCursor * | CreateCustomCursor (ECursor currentCursor) |
NSCursor * | CreateCursor (ECursor currentCursor) |
bool | ViewIsTextView (unsigned viewID) |
bool | ViewIsTextView (NSView< X11Window > *view) |
bool | ViewIsHtmlView (unsigned viewID) |
bool | ViewIsHtmlView (NSView< X11Window > *view) |
NSView< X11Window > * | FrameForTextView (NSView< X11Window > *textView) |
NSView< X11Window > * | FrameForHtmlView (NSView< X11Window > *htmlView) |
UInt_t | GetKeyboardModifiers () |
Variables | |
const char * | predefinedAtoms [] |
const unsigned | nPredefined = sizeof predefinedAtoms / sizeof predefinedAtoms[0] |
typedef std::deque<Event_t> ROOT::MacOSX::X11::EventQueue_t |
Definition at line 51 of file X11Events.h.
typedef std::map<std::string, Atom_t> ROOT::MacOSX::X11::name_to_atom_map |
Definition at line 16 of file X11Atoms.h.
Enumerator | |
---|---|
kFSAny | |
kFSRegular | |
kFSItalic |
Definition at line 27 of file XLFDParser.h.
Enumerator | |
---|---|
kFWAny | |
kFWMedium | |
kFWBold |
Definition at line 33 of file XLFDParser.h.
Enumerator | |
---|---|
kPGNoGrab | |
kPGImplicitGrab | |
kPGActiveGrab | |
kPGPassiveGrab |
Definition at line 44 of file X11Events.h.
Definition at line 908 of file QuartzPixmap.mm.
Referenced by ClipToShapeMask(), QuartzPixmap::readColorBits:, QuartzView::readColorBits:, and TGQuartz::RenderTTFString().
bool ROOT::MacOSX::X11::AdjustCropArea | ( | QuartzImage * | srcImage, |
Rectangle & | cropArea | ||
) |
Definition at line 931 of file QuartzPixmap.mm.
bool ROOT::MacOSX::X11::AdjustCropArea | ( | QuartzImage * | srcImage, |
NSRect & | cropArea | ||
) |
Definition at line 940 of file QuartzPixmap.mm.
bool ROOT::MacOSX::X11::AdjustCropArea | ( | QuartzPixmap * | srcImage, |
X11::Rectangle & | cropArea | ||
) |
Definition at line 962 of file QuartzPixmap.mm.
Definition at line 585 of file QuartzWindow.mm.
Definition at line 736 of file QuartzWindow.mm.
Definition at line 753 of file QuartzWindow.mm.
NSPoint ROOT::MacOSX::X11::ConvertPointFromBaseToScreen | ( | NSWindow * | window, |
NSPoint | windowPoint | ||
) |
Definition at line 134 of file QuartzWindow.mm.
Referenced by ROOT::MacOSX::X11::Detail::ConvertEventLocationToROOTXY(), FindViewForPointerEvent(), FindWindowForPointerEvent(), TranslateCoordinates(), and TranslateToScreen().
NSPoint ROOT::MacOSX::X11::ConvertPointFromScreenToBase | ( | NSPoint | screenPoint, |
NSWindow * | window | ||
) |
Definition at line 150 of file QuartzWindow.mm.
Referenced by ROOT::MacOSX::X11::EventTranslator::CancelPointerGrab, ROOT::MacOSX::X11::Detail::ConvertEventLocationToROOTXY(), FindViewForPointerEvent(), FindWindowForPointerEvent(), TranslateCoordinates(), and TranslateFromScreen().
QuartzView * ROOT::MacOSX::X11::CreateChildView | ( | QuartzView * | parent, |
Int_t | x, | ||
Int_t | y, | ||
UInt_t | w, | ||
UInt_t | h, | ||
UInt_t | border, | ||
Int_t | depth, | ||
UInt_t | clss, | ||
void * | visual, | ||
SetWindowAttributes_t * | attr, | ||
UInt_t | wtype | ||
) |
Definition at line 78 of file QuartzWindow.mm.
Referenced by TGCocoa::CreateWindow().
NSCursor* ROOT::MacOSX::X11::CreateCursor | ( | ECursor | currentCursor | ) |
Definition at line 845 of file QuartzWindow.mm.
NSCursor* ROOT::MacOSX::X11::CreateCustomCursor | ( | ECursor | currentCursor | ) |
Definition at line 781 of file QuartzWindow.mm.
Referenced by CreateCursor().
CGImageRef ROOT::MacOSX::X11::CreateSubImage | ( | QuartzImage * | image, |
const Rectangle & | area | ||
) |
Definition at line 820 of file QuartzPixmap.mm.
QuartzWindow * ROOT::MacOSX::X11::CreateTopLevelWindow | ( | Int_t | x, |
Int_t | y, | ||
UInt_t | w, | ||
UInt_t | h, | ||
UInt_t | border, | ||
Int_t | depth, | ||
UInt_t | clss, | ||
void * | visual, | ||
SetWindowAttributes_t * | attr, | ||
UInt_t | |||
) |
Definition at line 51 of file QuartzWindow.mm.
Referenced by TGCocoa::CreateWindow().
std::vector<unsigned char> ROOT::MacOSX::X11::DownscaledImageData | ( | unsigned | w, |
unsigned | h, | ||
CGImageRef | image | ||
) |
Definition at line 519 of file QuartzWindow.mm.
Referenced by QuartzView::readColorBits:.
void ROOT::MacOSX::X11::FillPixmapBuffer | ( | const unsigned char * | bitmap, |
unsigned | width, | ||
unsigned | height, | ||
ULong_t | foregroundPixel, | ||
ULong_t | backgroundPixel, | ||
unsigned | depth, | ||
unsigned char * | imageData | ||
) |
Definition at line 987 of file QuartzPixmap.mm.
Referenced by TGCocoa::CreatePixmap().
NSView<X11Window>* ROOT::MacOSX::X11::FindDNDAwareViewInPoint | ( | NSArray * | children, |
Window_t | dragWinID, | ||
Window_t | inputWinID, | ||
Int_t | x, | ||
Int_t | y, | ||
Int_t | maxDepth | ||
) |
Definition at line 330 of file QuartzWindow.mm.
NSView< X11Window > * ROOT::MacOSX::X11::FindDNDAwareViewInPoint | ( | NSView * | parentView, |
Window_t | dragWinID, | ||
Window_t | inputWinID, | ||
Int_t | x, | ||
Int_t | y, | ||
Int_t | maxDepth | ||
) |
Definition at line 355 of file QuartzWindow.mm.
Referenced by FindDNDAwareViewInPoint(), and TGCocoa::FindRWindow().
NSView< X11Window > * ROOT::MacOSX::X11::FindViewForPointerEvent | ( | NSEvent * | pointerEvent | ) |
Definition at line 491 of file QuartzWindow.mm.
Referenced by ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEventActiveGrab, ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEventActiveGrab, ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEventActiveGrab, ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEventNoGrab, ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEventActiveGrab, and ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEventNoGrab.
NSView< X11Window > * ROOT::MacOSX::X11::FindViewUnderPointer | ( | ) |
Definition at line 429 of file QuartzWindow.mm.
Referenced by ROOT::MacOSX::X11::EventTranslator::CancelPointerGrab.
QuartzWindow * ROOT::MacOSX::X11::FindWindowForPointerEvent | ( | NSEvent * | pointerEvent | ) |
Definition at line 443 of file QuartzWindow.mm.
Referenced by FindViewForPointerEvent().
QuartzWindow * ROOT::MacOSX::X11::FindWindowInPoint | ( | Int_t | x, |
Int_t | y | ||
) |
Definition at line 309 of file QuartzWindow.mm.
Referenced by TGCocoa::QueryPointer(), and TGCocoa::TranslateCoordinates().
QuartzWindow * ROOT::MacOSX::X11::FindWindowUnderPointer | ( | ) |
Definition at line 401 of file QuartzWindow.mm.
Referenced by FindViewUnderPointer(), and ROOT::MacOSX::X11::EventTranslator::GenerateKeyEventForView.
Definition at line 995 of file QuartzWindow.mm.
Definition at line 982 of file QuartzWindow.mm.
NSUInteger ROOT::MacOSX::X11::GetCocoaKeyModifiersFromROOTKeyModifiers | ( | UInt_t | rootKeyModifiers | ) |
Definition at line 263 of file X11Events.mm.
Referenced by TGCocoa::GrabKey().
NSPoint ROOT::MacOSX::X11::GetCursorHotStop | ( | NSImage * | image, |
ECursor | cursor | ||
) |
Definition at line 768 of file QuartzWindow.mm.
Referenced by CreateCustomCursor().
UInt_t ROOT::MacOSX::X11::GetKeyboardModifiers | ( | ) |
Definition at line 282 of file X11Events.mm.
Referenced by GetModifiers().
UInt_t ROOT::MacOSX::X11::GetModifiers | ( | ) |
Definition at line 302 of file X11Events.mm.
Referenced by TGCocoa::QueryPointer().
void ROOT::MacOSX::X11::GetRootWindowAttributes | ( | WindowAttributes_t * | attr | ) |
Definition at line 97 of file QuartzWindow.mm.
Referenced by TGCocoa::GetGeometry(), TGCocoa::GetWindowAttributes(), TGCocoa::GetWindowSize(), and TGCocoa::InitWindow().
void ROOT::MacOSX::X11::GetWindowAttributes | ( | NSObject< X11Window > * | window, |
WindowAttributes_t * | dst | ||
) |
Definition at line 678 of file QuartzWindow.mm.
Referenced by QuartzWindow::getAttributes:, and QuartzView::getAttributes:.
void ROOT::MacOSX::X11::GetWindowGeometry | ( | NSObject< X11Window > * | win, |
WindowAttributes_t * | dst | ||
) |
Definition at line 665 of file QuartzWindow.mm.
Referenced by GetWindowAttributes().
int ROOT::MacOSX::X11::GlobalXCocoaToROOT | ( | CGFloat | xCocoa | ) |
Definition at line 181 of file QuartzWindow.mm.
Referenced by ROOT::MacOSX::X11::Detail::ConvertEventLocationToROOTXY(), QuartzWindow::fX, TGCocoa::QueryPointer(), and TranslateToScreen().
int ROOT::MacOSX::X11::GlobalXROOTToCocoa | ( | CGFloat | xROOT | ) |
Definition at line 201 of file QuartzWindow.mm.
Referenced by CreateTopLevelWindow(), QuartzWindow::setX::, QuartzWindow::setX::::, TranslateFromScreen(), and TGCocoa::Warp().
int ROOT::MacOSX::X11::GlobalYCocoaToROOT | ( | CGFloat | yCocoa | ) |
Definition at line 166 of file QuartzWindow.mm.
Referenced by ROOT::MacOSX::X11::Detail::ConvertEventLocationToROOTXY(), QuartzWindow::fY, TGCocoa::QueryPointer(), and TranslateToScreen().
int ROOT::MacOSX::X11::GlobalYROOTToCocoa | ( | CGFloat | yROOT | ) |
Definition at line 191 of file QuartzWindow.mm.
Referenced by CreateTopLevelWindow(), QuartzWindow::setX::, QuartzWindow::setX::::, and TranslateFromScreen().
void ROOT::MacOSX::X11::InitWithPredefinedAtoms | ( | name_to_atom_map & | nameToAtom, |
std::vector< std::string > & | atomNames | ||
) |
Definition at line 83 of file X11Atoms.mm.
Referenced by TGCocoa::TGCocoa().
int ROOT::MacOSX::X11::LocalYCocoaToROOT | ( | NSView< X11Window > * | parentView, |
CGFloat | yCocoa | ||
) |
Definition at line 211 of file QuartzWindow.mm.
int ROOT::MacOSX::X11::LocalYROOTToCocoa | ( | NSView< X11Window > * | parentView, |
CGFloat | yROOT | ||
) |
Definition at line 219 of file QuartzWindow.mm.
Referenced by ClipToShapeMask(), TGQuartz::DrawBox(), TGQuartz::DrawLine(), TGCocoa::DrawLineAux(), TGCocoa::DrawRectangleAux(), TGCocoa::DrawStringAux(), TGQuartz::DrawText(), TGCocoa::FillPolygonAux(), and TGCocoa::FillRectangleAux().
int ROOT::MacOSX::X11::LocalYROOTToCocoa | ( | NSObject< X11Drawable > * | parentView, |
CGFloat | yROOT | ||
) |
Definition at line 229 of file QuartzWindow.mm.
bool ROOT::MacOSX::X11::LockFocus | ( | NSView< X11Window > * | view | ) |
Definition at line 1010 of file QuartzWindow.mm.
Referenced by TGCocoa::ClearArea(), TGCocoa::CopyArea(), TGCocoa::DrawLine(), TGCocoa::DrawRectangle(), TGCocoa::DrawSegments(), TGCocoa::DrawString(), TGCocoa::FillPolygon(), and TGCocoa::FillRectangle().
Definition at line 180 of file X11Events.mm.
Referenced by TGCocoa::KeysymToKeycode().
void ROOT::MacOSX::X11::MapUnicharToKeySym | ( | unichar | key, |
char * | buf, | ||
Int_t | len, | ||
UInt_t & | rootKeySym | ||
) |
Definition at line 97 of file X11Events.mm.
Referenced by TGCocoa::LookupString().
bool ROOT::MacOSX::X11::ParseXLFDName | ( | const std::string & | xlfdName, |
XLFDName & | dst | ||
) |
Definition at line 261 of file XLFDParser.mm.
Referenced by TGCocoa::ListFonts(), and TGCocoa::LoadQueryFont().
Definition at line 920 of file X11Colors.mm.
Referenced by TGCocoa::ClearAreaAux(), TGQuartz::DrawFTGlyphIntoPixmap(), TGCocoa::DrawStringAux(), and TGCocoa::PutPixel().
Definition at line 929 of file X11Colors.mm.
Definition at line 289 of file QuartzWindow.mm.
Referenced by FindDNDAwareViewInPoint(), and FindWindowInPoint().
void ROOT::MacOSX::X11::SetWindowAttributes | ( | const SetWindowAttributes_t * | attr, |
NSObject< X11Window > * | window | ||
) |
Definition at line 630 of file QuartzWindow.mm.
Referenced by QuartzWindow::initWithContentRect:::::, QuartzView::initWithFrame::, QuartzWindow::setAttributes:, and QuartzView::setAttributes:.
bool ROOT::MacOSX::X11::TestBitmapBit | ( | const unsigned char * | bitmap, |
unsigned | w, | ||
unsigned | i, | ||
unsigned | j | ||
) |
Definition at line 970 of file QuartzPixmap.mm.
NSPoint ROOT::MacOSX::X11::TranslateCoordinates | ( | NSView< X11Window > * | fromView, |
NSView< X11Window > * | toView, | ||
NSPoint | sourcePoint | ||
) |
Definition at line 264 of file QuartzWindow.mm.
Referenced by TGCocoa::TranslateCoordinates().
NSPoint ROOT::MacOSX::X11::TranslateFromScreen | ( | NSPoint | point, |
NSView< X11Window > * | to | ||
) |
Definition at line 252 of file QuartzWindow.mm.
Referenced by TGCocoa::QueryPointer(), ScreenPointIsInView(), and TGCocoa::TranslateCoordinates().
NSPoint ROOT::MacOSX::X11::TranslateToScreen | ( | NSView< X11Window > * | from, |
NSPoint | point | ||
) |
Definition at line 238 of file QuartzWindow.mm.
Referenced by TGCocoa::GetGeometry(), QuartzView::performDragOperation:, ROOT::MacOSX::X11::Detail::SendKeyPressEvent(), ROOT::MacOSX::X11::Detail::SendKeyReleaseEvent(), TGCocoa::TranslateCoordinates(), and TGCocoa::Warp().
Definition at line 1031 of file QuartzWindow.mm.
Referenced by TGCocoa::ClearArea(), TGCocoa::CopyArea(), TGCocoa::DrawLine(), TGCocoa::DrawRectangle(), TGCocoa::DrawSegments(), TGCocoa::DrawString(), TGCocoa::FillPolygon(), and TGCocoa::FillRectangle().
bool ROOT::MacOSX::X11::ViewIsHtmlView | ( | unsigned | viewID | ) |
Definition at line 943 of file QuartzWindow.mm.
Referenced by ViewIsHtmlView(), and ViewIsHtmlViewFrame().
bool ROOT::MacOSX::X11::ViewIsHtmlView | ( | NSView< X11Window > * | view | ) |
Definition at line 952 of file QuartzWindow.mm.
bool ROOT::MacOSX::X11::ViewIsHtmlViewFrame | ( | NSView< X11Window > * | view, |
bool | checkParent | ||
) |
Definition at line 960 of file QuartzWindow.mm.
Referenced by FrameForHtmlView().
bool ROOT::MacOSX::X11::ViewIsTextView | ( | unsigned | viewID | ) |
Definition at line 905 of file QuartzWindow.mm.
Referenced by ViewIsTextView(), and ViewIsTextViewFrame().
bool ROOT::MacOSX::X11::ViewIsTextView | ( | NSView< X11Window > * | view | ) |
Definition at line 914 of file QuartzWindow.mm.
bool ROOT::MacOSX::X11::ViewIsTextViewFrame | ( | NSView< X11Window > * | view, |
bool | checkParent | ||
) |
Definition at line 922 of file QuartzWindow.mm.
Referenced by FrameForTextView().
Definition at line 556 of file QuartzWindow.mm.
Referenced by TGCocoa::DestroyWindow(), TGCocoa::IconifyWindow(), and TGCocoa::UnmapWindow().
const unsigned ROOT::MacOSX::X11::nPredefined = sizeof predefinedAtoms / sizeof predefinedAtoms[0] |
Definition at line 80 of file X11Atoms.mm.
Referenced by InitWithPredefinedAtoms().
const char* ROOT::MacOSX::X11::predefinedAtoms[] |
Definition at line 8 of file X11Atoms.mm.
Referenced by InitWithPredefinedAtoms().