Logo ROOT   6.18/05
Reference Guide
CocoaGuiTypes.h
Go to the documentation of this file.
1#ifndef ROOT_CocoaGuiTypes
2#define ROOT_CocoaGuiTypes
3
4//This file extends ROOT's GuiTypes.h with additional types I need - Point/Rectangle which can use integers (not short integers).
5//To be used in copy:xxxxx methods of X11Drawables and somewhere else.
6//It's a shame I have to write such "classes" :))
7
8namespace ROOT {
9namespace MacOSX {
10namespace X11 {
11
12struct Point {
13 int fX;
14 int fY;
15
16 Point();
17 Point(int x, int y);
18};
19
20struct Rectangle {
21 int fX;
22 int fY;
23
24 unsigned fWidth;
25 unsigned fHeight;
26
27 Rectangle();
28 Rectangle(int x, int y, unsigned w, unsigned h);
29};
30
31}//X11
32}//MacOSX
33}//ROOT
34
35#endif
#define h(i)
Definition: RSha256.hxx:106
Double_t y[n]
Definition: legend1.C:17
Double_t x[n]
Definition: legend1.C:17
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21