36#include "gdk/gdkkeysyms.h" 
   64#define XDND_PROTOCOL_VERSION   5 
   66#define IDC_HAND  MAKEINTRESOURCE(32649) 
   70#define MAKELONGLONG(lo, hi) ((LONGLONG)lo + ((LONGLONG)hi << 32)) 
   72#define MAKELONGLONG(lo, hi) MAKELONG(lo, hi) 
  183static const char *
gTextFont = 
"arial.ttf";      
 
  226   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 
  227   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 
  228   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
 
  236struct MWMHintsProperty_t {
 
  255struct KeySymbolMap_t {
 
  314static KeySymbolMap_t 
gKeyMap[] = {
 
  317#ifndef GDK_ISO_Left_Tab 
  371   int n = 
event->fUser[1];
 
  373      for (i = 0; i < 
n; i++) {
 
  374         buf[i] = 
event->fUser[2 + i];
 
  380   if (event->
fCode <= 0x20) {
 
  442   p = (
char *) ::GlobalLock(
hMem);
 
  445   ::GlobalUnlock(
hMem);
 
  495      if (handle != 
NULL) {
 
  496         data = (
char *) ::GlobalLock(handle);
 
  500         while (*
data != 
'\0') {
 
  508         ::GlobalUnlock(handle);
 
  531   if (
image->depth == 1) {
 
  532      pixel = (((
char *) 
image->mem)[
y * 
image->bpl + (
x >> 3)] & (1 << (7 - (
x & 0x7)))) != 0;
 
  535      switch (
image->bpp) {
 
  566   for (
int i = 0; i < ncolors; i++) {
 
  585   static char bfr[500];
 
  590  if (evmask & k##x##Mask) \ 
  591    p += sprintf (p, "%s" #x, (p > bfr ? " " : "")) 
  609class TGWin32MainThread {
 
  631TGWin32MainThread::~TGWin32MainThread()
 
  643      delete fMessageMutex;
 
  657void TGWin32MainThread::LockMSG()
 
  665void TGWin32MainThread::UnlockMSG()
 
  688   static Int_t m_timer = 0;
 
  715      TGWin32MainThread::LockMSG();
 
  718      TGWin32MainThread::UnlockMSG();
 
  725class TGWin32RefreshTimer : 
public TTimer {
 
  749static DWORD WINAPI MessageProcessingLoop(void *p)
 
  753   Bool_t endLoop = kFALSE;
 
  754   TGWin32RefreshTimer *refersh = 0;
 
  756   // force to create message queue
 
  757   ::PeekMessage(&msg, NULL, WM_USER, WM_USER, PM_NOREMOVE);
 
  759   // periodically we refresh windows
 
  760   // Don't create refresh timer if the application has been created inside PVSS
 
  762      TString arg = gSystem->BaseName(gApplication->Argv(0));
 
  763      if (!arg.Contains("PVSS"))
 
  764         refersh = new TGWin32RefreshTimer();
 
  768      erret = ::GetMessage(&msg, NULL, NULL, NULL);
 
  769      if (erret <= 0) endLoop = kTRUE;
 
  770      endLoop = MessageProcessingFunc(&msg);
 
  773   TGWin32::Instance()->CloseDisplay();
 
  779      erret = ::GetLastError();
 
  780      Error("MsgLoop", "Error in GetMessage");
 
  792TGWin32MainThread::TGWin32MainThread()
 
  794   fCritSec = 
new CRITICAL_SECTION;
 
  796   fMessageMutex = 
new CRITICAL_SECTION;
 
  888#ifdef OLD_THREAD_IMPLEMENTATION 
 
  994   back.red = back.green = back.blue = 0;
 
  995   color.red = color.green = color.blue = 0;
 
 1009   for (i = 0; i < 
kMAXGC; i++) {
 
 1047                                             &
fore, &back, 0, 0);
 
 1102         if ((
fVisual->blue_mask >> i) == 1) {
 
 1111         if ((
fVisual->green_mask >> i) == 1) {
 
 1120         if ((
fVisual->red_mask >> i) == 1) {
 
 1128   SetTitle(
"ROOT interface to Win32 with TrueType fonts");
 
 
 1185      for (
Int_t i = 0; i < ncolors; i++) {
 
 
 1240      static GdkColor col[5];
 
 1282         if (
bc->red == 
r && 
bc->green == 
g && 
bc->blue == 
b) {
 
 1297         col[4].pixel = 
fore;
 
 1299            col[3].pixel = back;
 
 1307         for (
x = 3; 
x > 0; 
x--) {
 
 1308            col[
x].red   = (col[4].red  *
x + col[0].red  *(4-
x)) /4;
 
 1309            col[
x].green = (col[4].green*
x + col[0].green*(4-
x)) /4;
 
 1310            col[
x].blue  = (col[4].blue *
x + col[0].blue *(4-
x)) /4;
 
 1312               Warning(
"DrawImage", 
"cannot allocate smoothing color");
 
 1313               col[
x].pixel = col[
x+1].pixel;
 
 1323            d = ((
d + 10) * 5) / 256;
 
 1325            if (
d && 
x < (
int) 
source->width) {
 
 1338            if (
n == 0) 
d = *s++;
 
 
 1417   if ((
int)
w == 0 || (
int)
h == 0)  
return kFALSE;
 
 
 1465         Error(
"DrawText", 
"error getting background image");
 
 1497      for (
int yp = 0; 
yp < 
h; 
yp++) {
 
 
 1573   if (!
gCws->ispixmap && !
gCws->double_buffer) {
 
 
 1608   if (
gCws->ispixmap) {
 
 1617   if (
gCws->new_colors) {
 
 1619                               (GdkColor *)
gCws->new_colors, 
gCws->ncolors);
 
 1621      delete [] 
gCws->new_colors;
 
 1622      gCws->new_colors = 0;
 
 
 1712   for (i = 0; i < 
nx; i++) {
 
 1714      for (
j = 0; 
j < 
ny; 
j++) {
 
 
 1736   static int lastn = 0;
 
 1749   for (i = 0; i < 
n; i++) {
 
 1750      xy[i].x = 
xyt[i].fX;
 
 1751      xy[i].y = 
xyt[i].fY;
 
 
 1802   for (i = 0; i < 
n; i++) {
 
 1828         for (i = 1; i < 
n; i++) {
 
 
 1853   static int lastn = 0;
 
 1867   for (i = 0; i < 
n; i++) {
 
 1868      xy[i].x = 
xyt[i].fX;
 
 1869      xy[i].y = 
xyt[i].fY;
 
 1878      for (
m = 0; 
m < 
n; 
m++) {
 
 1896            for (i = 0; i < 
gMarker.n; i++) {
 
 1905            for (i = 0; i < 
gMarker.n; i++) {
 
 1912            for (i = 0; i < 
gMarker.n; i += 2) {
 
 
 1963      Error(
"GetGC", 
"trying to get illegal GdkGC (which = %d)", 
which);
 
 
 1982      return gTws->double_buffer;
 
 
 2046   } 
else if (
index == 1) {
 
 
 2090   if (!
gTws->open) 
return;
 
 
 2132   for (i = 0; i < 
kMAXGC; i++) {
 
 2144   gCws->double_buffer = 0;
 
 2149   gCws->new_colors = 0;
 
 
 2199   attributes.event_mask = 0L;  
 
 2204      attributes.x = 
xval;
 
 2206      attributes.x = -1.0 * 
xval;
 
 2210      attributes.y = 
yval;
 
 2212      attributes.y = -1.0 * 
yval;
 
 2214   attributes.width = 
wval;
 
 2215   attributes.height = 
hval;
 
 2218   attributes.override_redirect = 
TRUE;
 
 2220   if ((attributes.y > 0) && (attributes.x > 0)) {
 
 2227   if (attributes.visual != 
NULL) {
 
 2246   gCws->double_buffer = 0;
 
 2251   gCws->new_colors = 0;
 
 
 2309   static int xloc = 0;
 
 2310   static int yloc = 0;
 
 2311   static int xlocp = 0;
 
 2312   static int ylocp = 0;
 
 2376      xloc = 
event->button.x;
 
 2377      yloc = 
event->button.y;
 
 2379      switch (event->type) {
 
 2399         xlocp = 
event->button.x;
 
 2400         ylocp = 
event->button.y;
 
 2408            xlocp = 
event->button.x;
 
 2409            ylocp = 
event->button.y;
 
 2416            xlocp = 
event->button.x;
 
 2417            ylocp = 
event->button.y;
 
 2424            xlocp = 
event->button.x;
 
 2425            ylocp = 
event->button.y;
 
 2433      xtmp = 
event->button.x;
 
 2434      ytmp = 
event->button.y;
 
 
 2518         char *
stmp = 
new char[
pt+1];
 
 2534      if (event != 
NULL) {
 
 2535         switch (event->type) {
 
 2545            nbytes = 
event->key.length;
 
 2546            for (i = 0; i < 
nbytes; i++) {
 
 2547               keybuf[i] = 
event->key.string[i];
 
 2549            keysym = 
event->key.keyval;
 
 2590                  for (i = 
nt - 1; i > 
pt; i--) {
 
 2605                        for (i = 
pt; i < 
nt; i++) {
 
 2626                        for (i = 
pt; i < 
nt; i++) {
 
 2646                     for (i = 
pt; i < 
nt; i++)
 
 
 2721      for (i = 0; i < 
kMAXGC; i++) {
 
 
 2769   for (i = 0; i < 
kMAXGC; i++) {
 
 
 2817      for (i = 0; i < 
kMAXGC; i++) {
 
 
 2847   if (
gCws->clip && !
gCws->ispixmap && !
gCws->double_buffer) {
 
 2853      for (i = 0; i < 
kMAXGC; i++) {
 
 2857      for (i = 0; i < 
kMAXGC; i++) {
 
 
 2884            180.) / 3.14159) - 90;
 
 
 2902   for (
int i = 0; i < 
kMAXGC; i++) {
 
 
 2926   if (
gTws->clip && !
gTws->ispixmap && !
gTws->double_buffer) {
 
 2932      for (
int i = 0; i < 
kMAXGC; i++) {
 
 
 2947   return col.
color.pixel;
 
 
 2974      color.pixel = col.
color.pixel ^ 
gcvals.background.pixel;
 
 2986      if (
gcvals.foreground.pixel != 
gcvals.background.pixel) {
 
 
 3047      if (!
gTws->open) 
return;
 
 
 3065   if (!
gTws->double_buffer) 
return;
 
 3066   gTws->double_buffer = 0;
 
 
 3077   if (!
gTws->buffer) {
 
 3086   for (
int i = 0; i < 
kMAXGC; i++) {
 
 3089   gTws->double_buffer = 1;
 
 
 3108         for (i = 0; i < 
kMAXGC; i++) {
 
 3114         for (i = 0; i < 
kMAXGC; i++) {
 
 3120         for (i = 0; i < 
kMAXGC; i++) {
 
 
 3206         for (
int i=0;i<32;++i)
 
 3209                                                    (
const char *)&pattern, 16, 16);
 
 
 3399      for (
int i = 0; i < 
gMarker.n; i++) {
 
 
 3676      shape[0].x =   0;  shape[0].y = 
im;
 
 3677      shape[1].x =  
im;  shape[1].y = -
im;
 
 3678      shape[2].x = -
im;  shape[2].y = -
im;
 
 3679      shape[3].x =   0;  shape[3].y = 
im;
 
 3684      shape[0].x =-
imx;  shape[0].y = 0;
 
 3685      shape[1].x =   0;  shape[1].y = -
im;
 
 3686      shape[2].x = 
imx;  shape[2].y = 0;
 
 3687      shape[3].x =   0;  shape[3].y = 
im;
 
 3688      shape[4].x =-
imx;  shape[4].y = 0;
 
 3693      shape[0].x = -
im;  shape[0].y =-
imx;
 
 3694      shape[1].x =-
imx;  shape[1].y =-
imx;
 
 3695      shape[2].x =-
imx;  shape[2].y = -
im;
 
 3696      shape[3].x = 
imx;  shape[3].y = -
im;
 
 3697      shape[4].x = 
imx;  shape[4].y =-
imx;
 
 3698      shape[5].x =  
im;  shape[5].y =-
imx;
 
 3699      shape[6].x =  
im;  shape[6].y = 
imx;
 
 3700      shape[7].x = 
imx;  shape[7].y = 
imx;
 
 3701      shape[8].x = 
imx;  shape[8].y = 
im;
 
 3702      shape[9].x =-
imx;  shape[9].y = 
im;
 
 3703      shape[10].x=-
imx;  shape[10].y= 
imx;
 
 3704      shape[11].x= -
im;  shape[11].y= 
imx;
 
 3705      shape[12].x= -
im;  shape[12].y=-
imx;
 
 3709      shape[0].x = -
im;  shape[0].y = -
im;
 
 3710      shape[1].x =  
im;  shape[1].y = -
im;
 
 3711      shape[2].x =  
im;  shape[2].y = 
im;
 
 3712      shape[3].x = -
im;  shape[3].y = 
im;
 
 3713      shape[4].x = -
im;  shape[4].y = -
im;
 
 3714      shape[5].x =  
im;  shape[5].y = 
im;
 
 3715      shape[6].x = -
im;  shape[6].y = 
im;
 
 3716      shape[7].x =  
im;  shape[7].y = -
im;
 
 3720      shape[0].x =-
im;  shape[0].y = 0;
 
 3721      shape[1].x =  0;  shape[1].y = -
im;
 
 3722      shape[2].x = 
im;  shape[2].y = 0;
 
 3723      shape[3].x =  0;  shape[3].y = 
im;
 
 3724      shape[4].x =-
im;  shape[4].y = 0;
 
 3725      shape[5].x = 
im;  shape[5].y = 0;
 
 3726      shape[6].x =  0;  shape[6].y = 
im;
 
 3727      shape[7].x =  0;  shape[7].y =-
im;
 
 3732      shape[0].x =   0;  shape[0].y =   0;
 
 3733      shape[1].x =-
im2;  shape[1].y =  
im;
 
 3734      shape[2].x = -
im;  shape[2].y =   0;
 
 3735      shape[3].x =   0;  shape[3].y =   0;
 
 3736      shape[4].x =-
im2;  shape[4].y = -
im;
 
 3737      shape[5].x = 
im2;  shape[5].y = -
im;
 
 3738      shape[6].x =   0;  shape[6].y =   0;
 
 3739      shape[7].x =  
im;  shape[7].y =   0;
 
 3740      shape[8].x = 
im2;  shape[8].y =  
im;
 
 3741      shape[9].x =   0;  shape[9].y =   0;
 
 3746      shape[0].x = -
im;  shape[0].y = 0;
 
 3747      shape[1].x = -
im;  shape[1].y =-
im2;
 
 3748      shape[2].x =-
im2;  shape[2].y =-
im;
 
 3749      shape[3].x = 
im2;  shape[3].y = -
im;
 
 3750      shape[4].x =  
im;  shape[4].y =-
im2;
 
 3751      shape[5].x =  
im;  shape[5].y = 
im2;
 
 3752      shape[6].x = 
im2;  shape[6].y = 
im;
 
 3753      shape[7].x =-
im2;  shape[7].y = 
im;
 
 3754      shape[8].x = -
im;  shape[8].y = 
im2;
 
 3755      shape[9].x = -
im;  shape[9].y = 0;
 
 3756      shape[10].x = 
im;  shape[10].y = 0;
 
 3757      shape[11].x =  0;  shape[11].y = 0;
 
 3758      shape[12].x =  0;  shape[12].y = -
im;
 
 3759      shape[13].x =  0;  shape[13].y = 
im;
 
 3760      shape[14].x =  0;  shape[14].y = 0;
 
 3765      shape[0].x =   0;  shape[0].y =   0;
 
 3766      shape[1].x =-
im2;  shape[1].y =  
im;
 
 3767      shape[2].x = -
im;  shape[2].y =   0;
 
 3768      shape[3].x =   0;  shape[3].y =   0;
 
 3769      shape[4].x =-
im2;  shape[4].y = -
im;
 
 3770      shape[5].x = 
im2;  shape[5].y = -
im;
 
 3771      shape[6].x =   0;  shape[6].y =   0;
 
 3772      shape[7].x =  
im;  shape[7].y =   0;
 
 3773      shape[8].x = 
im2;  shape[8].y =  
im;
 
 3778      shape[0].x =     0;  shape[0].y =    0;
 
 3779      shape[1].x =   
im2;  shape[1].y =   
im;
 
 3780      shape[2].x =    
im;  shape[2].y =  
im2;
 
 3781      shape[3].x =     0;  shape[3].y =    0;
 
 3782      shape[4].x =    
im;  shape[4].y = -
im2;
 
 3783      shape[5].x =   
im2;  shape[5].y =  -
im;
 
 3784      shape[6].x =     0;  shape[6].y =    0;
 
 3785      shape[7].x =  -
im2;  shape[7].y =  -
im;
 
 3786      shape[8].x =   -
im;  shape[8].y = -
im2;
 
 3787      shape[9].x =     0;  shape[9].y =    0;
 
 3788      shape[10].x =   -
im;  shape[10].y =  
im2;
 
 3789      shape[11].x =  -
im2;  shape[11].y =   
im;
 
 3790      shape[12].x =     0;  shape[12].y =  0;
 
 3795      shape[0].x =     0;  shape[0].y =    0;
 
 3796      shape[1].x =   
im2;  shape[1].y =   
im;
 
 3797      shape[2].x =    
im;  shape[2].y =  
im2;
 
 3798      shape[3].x =     0;  shape[3].y =    0;
 
 3799      shape[4].x =    
im;  shape[4].y = -
im2;
 
 3800      shape[5].x =   
im2;  shape[5].y =  -
im;
 
 3801      shape[6].x =     0;  shape[6].y =    0;
 
 3802      shape[7].x =  -
im2;  shape[7].y =  -
im;
 
 3803      shape[8].x =   -
im;  shape[8].y = -
im2;
 
 3804      shape[9].x =     0;  shape[9].y =    0;
 
 3805      shape[10].x =   -
im;  shape[10].y =  
im2;
 
 3806      shape[11].x =  -
im2;  shape[11].y =   
im;
 
 3807      shape[12].x =     0;  shape[12].y =  0;
 
 3812      shape[0].x=     0;   shape[0].y= 
im;
 
 3813      shape[1].x=  -
imx;   shape[1].y= 
imx;
 
 3814      shape[2].x  = -
im;   shape[2].y = 0;
 
 3815      shape[3].x = -
imx;   shape[3].y = -
imx;
 
 3816      shape[4].x =    0;   shape[4].y = -
im;
 
 3817      shape[5].x =  
imx;   shape[5].y = -
imx;
 
 3818      shape[6].x =   
im;   shape[6].y = 0;
 
 3819      shape[7].x=   
imx;   shape[7].y= 
imx;
 
 3820      shape[8].x=     0;   shape[8].y= 
im;
 
 3825      shape[0].x =    0;   shape[0].y =   
im;
 
 3826      shape[1].x = -
imx;   shape[1].y =  
imx;
 
 3827      shape[2].x =  -
im;   shape[2].y =    0;
 
 3828      shape[3].x = -
imx;   shape[3].y = -
imx;
 
 3829      shape[4].x =    0;   shape[4].y =  -
im;
 
 3830      shape[5].x =  
imx;   shape[5].y = -
imx;
 
 3831      shape[6].x =   
im;   shape[6].y =    0;
 
 3832      shape[7].x =  
imx;   shape[7].y =  
imx;
 
 3833      shape[8].x =    0;   shape[8].y =   
im;
 
 3838      shape[0].x =    0;  shape[0].y =    0;
 
 3839      shape[1].x =  
im2;  shape[1].y =   
im;
 
 3840      shape[2].x = -
im2;  shape[2].y =   
im;
 
 3841      shape[3].x =  
im2;  shape[3].y =  -
im;
 
 3842      shape[4].x = -
im2;  shape[4].y =  -
im;
 
 3843      shape[5].x =    0;  shape[5].y =    0;
 
 3844      shape[6].x =   
im;  shape[6].y =  
im2;
 
 3845      shape[7].x =   
im;  shape[7].y = -
im2;
 
 3846      shape[8].x =  -
im;  shape[8].y =  
im2;
 
 3847      shape[9].x =  -
im;  shape[9].y = -
im2;
 
 3848      shape[10].x =    0;  shape[10].y =    0;
 
 3854      shape[0].x =  
im0;  shape[0].y =  
im0;
 
 3855      shape[1].x =  
im2;  shape[1].y =   
im;
 
 3856      shape[2].x = -
im2;  shape[2].y =   
im;
 
 3857      shape[3].x = -
im0;  shape[3].y =  
im0;
 
 3858      shape[4].x =  -
im;  shape[4].y =  
im2;
 
 3859      shape[5].x =  -
im;  shape[5].y = -
im2;
 
 3860      shape[6].x = -
im0;  shape[6].y = -
im0;
 
 3861      shape[7].x = -
im2;  shape[7].y =  -
im;
 
 3862      shape[8].x =  
im2;  shape[8].y =  -
im;
 
 3863      shape[9].x =  
im0;  shape[9].y = -
im0;
 
 3864      shape[10].x =   
im;  shape[10].y = -
im2;
 
 3865      shape[11].x =   
im;  shape[11].y =  
im2;
 
 3866      shape[12].x =  
im0;  shape[12].y =  
im0;
 
 3871      shape[0].x =    0;  shape[0].y =  
im2;
 
 3872      shape[1].x = -
im2;  shape[1].y =   
im;
 
 3873      shape[2].x =  -
im;  shape[2].y =  
im2;
 
 3874      shape[3].x = -
im2;  shape[3].y =    0;
 
 3875      shape[4].x =  -
im;  shape[4].y = -
im2;
 
 3876      shape[5].x = -
im2;  shape[5].y =  -
im;
 
 3877      shape[6].x =    0;  shape[6].y = -
im2;
 
 3878      shape[7].x =  
im2;  shape[7].y =  -
im;
 
 3879      shape[8].x =   
im;  shape[8].y = -
im2;
 
 3880      shape[9].x =  
im2;  shape[9].y =    0;
 
 3881      shape[10].x =  
im;  shape[10].y = 
im2;
 
 3882      shape[11].x = 
im2;  shape[11].y =  
im;
 
 3883      shape[12].x =   0;  shape[12].y = 
im2;
 
 3888      shape[0].x =    0;  shape[0].y =  
im2;
 
 3889      shape[1].x = -
im2;  shape[1].y =   
im;
 
 3890      shape[2].x =  -
im;  shape[2].y =  
im2;
 
 3891      shape[3].x = -
im2;  shape[3].y =    0;
 
 3892      shape[4].x =  -
im;  shape[4].y = -
im2;
 
 3893      shape[5].x = -
im2;  shape[5].y =  -
im;
 
 3894      shape[6].x =    0;  shape[6].y = -
im2;
 
 3895      shape[7].x =  
im2;  shape[7].y =  -
im;
 
 3896      shape[8].x =   
im;  shape[8].y = -
im2;
 
 3897      shape[9].x =  
im2;  shape[9].y =    0;
 
 3898      shape[10].x =  
im;  shape[10].y = 
im2;
 
 3899      shape[11].x = 
im2;  shape[11].y =  
im;
 
 3900      shape[12].x =   0;  shape[12].y = 
im2;
 
 3905      shape[0].x =    0;  shape[0].y =  
im2*1.005;
 
 3906      shape[1].x = -
im2;  shape[1].y =   
im;
 
 3907      shape[2].x =  -
im;  shape[2].y =  
im2;
 
 3908      shape[3].x = -
im2;  shape[3].y =    0;
 
 3909      shape[4].x =  -
im;  shape[4].y = -
im2;
 
 3910      shape[5].x = -
im2;  shape[5].y =  -
im;
 
 3911      shape[6].x =    0;  shape[6].y = -
im2;
 
 3912      shape[7].x =  
im2;  shape[7].y =  -
im;
 
 3913      shape[8].x =   
im;  shape[8].y = -
im2;
 
 3914      shape[9].x =  
im2;  shape[9].y =    0;
 
 3915      shape[10].x =  
im;  shape[10].y = 
im2;
 
 3916      shape[11].x = 
im2;  shape[11].y =  
im;
 
 3917      shape[12].x =   0;  shape[12].y = 
im2*0.995;
 
 3918      shape[13].x =  
im2*0.995;  shape[13].y =    0;
 
 3919      shape[14].x =    0;  shape[14].y = -
im2*0.995;
 
 3920      shape[15].x = -
im2*0.995;  shape[15].y =    0;
 
 3921      shape[16].x =    0;  shape[16].y =  
im2*0.995;
 
 3926      shape[0].x =-
imx;  shape[0].y =-
imx*1.005;
 
 3927      shape[1].x =-
imx;  shape[1].y = -
im;
 
 3928      shape[2].x = 
imx;  shape[2].y = -
im;
 
 3929      shape[3].x = 
imx;  shape[3].y =-
imx;
 
 3930      shape[4].x =  
im;  shape[4].y =-
imx;
 
 3931      shape[5].x =  
im;  shape[5].y = 
imx;
 
 3932      shape[6].x = 
imx;  shape[6].y = 
imx;
 
 3933      shape[7].x = 
imx;  shape[7].y = 
im;
 
 3934      shape[8].x =-
imx;  shape[8].y = 
im;
 
 3935      shape[9].x =-
imx;  shape[9].y = 
imx;
 
 3936      shape[10].x = -
im;  shape[10].y = 
imx;
 
 3937      shape[11].x = -
im;  shape[11].y =-
imx;
 
 3938      shape[12].x =-
imx;  shape[12].y =-
imx*0.995;
 
 3939      shape[13].x =-
imx;  shape[13].y = 
imx;
 
 3940      shape[14].x = 
imx;  shape[14].y = 
imx;
 
 3941      shape[15].x = 
imx;  shape[15].y =-
imx;
 
 3942      shape[16].x =-
imx;  shape[16].y =-
imx*1.005;
 
 
 3962   if (
depth <= 8) 
return;
 
 3971   if (
gCws->new_colors) {
 
 4006                  0, 0, 0, 0, 
gCws->width, 
gCws->height);
 
 
 4025   if (ncolors <= 0) 
return;
 
 4026   GdkColor *
xcol = 
new GdkColor[ncolors];
 
 4029   for (i = 0; i < ncolors; i++) {
 
 4042   for (i = 0; i < ncolors; i++) {
 
 4043      val = 
xcol[i].red + add;
 
 4048      val = 
xcol[i].green + add;
 
 4053      val = 
xcol[i].blue + add;
 
 4063                 "failed to allocate color %hd, %hd, %hd", 
xcol[i].
red,
 
 4070   gCws->ncolors = ncolors;
 
 4072   for (i = 0; i < ncolors; i++) {
 
 4073      gCws->new_colors[i] = 
xcol[i].pixel;
 
 
 4084   for (
int i = 0; i < ncolors; i++) {
 
 4087   Error(
"FindColor", 
"did not find color, should never happen!");
 
 
 4115                                  (GdkColor *)&col, 1);
 
 
 4137   if (
talign==current) 
return;
 
 
 4196   static Int_t current = 0;
 
 
 4304   for (
int i = 0; i < 
width; i++) {
 
 
 4342   GdkColor *
xcol = 
new GdkColor[ncolors];
 
 4345   for (i = 0; i < ncolors; i++) {
 
 4362   B = 
new Int_t[ncolors];
 
 4364   for (i = 0; i < ncolors; i++) {
 
 4366      G[i] = 
xcol[i].green;
 
 4367      B[i] = 
xcol[i].blue;
 
 
 4406            "can not create GIF of image containing more than 256 colors");
 
 4414   for (i = 0; i < 
ncol; i++) {
 
 4423      for (i = 0; i < 
ncol; i++) {
 
 4438      Error(
"WriteGIF",
"cannot write file: %s",
name);
 
 
 4468   for (i = 0; i < 256; i++) 
nlines[i] = 0;
 
 4485               lines[
icol][
n].x2 = 
x - 1;
 
 4502         lines[
icol][
n].x2 = 
x - 1;
 
 4513   for (i = 0; i < 256; i++) {
 
 
 4535   fd = 
fopen(file, 
"r+b");
 
 4537      Error(
"ReadGIF", 
"unable to open GIF file");
 
 4547      Error(
"ReadGIF", 
"unable to allocate array for gif");
 
 4553      Error(
"ReadGIF", 
"GIF file read failed");
 
 4565      Error(
"ReadGIF", 
"unable to allocate array for image");
 
 4577   for (i = 0; i < 
ncolor; i++) {
 
 4587   for (i = 1; i <= 
height / 2; i++) {
 
 4590      for (k = 0; k < 
width; k++) {
 
 4598   PutImage(
offset, -1, 
x0, 
y0, 
width, 
height, 0, 0, 
width-1, 
height-1, 
PIXarr, 
pic);
 
 
 4836      xattr.event_mask = 0L;    
 
 4892                                       fBackgroundPixmap, 0);
 
 
 5001      xattr.override_redirect = 
attr->fOverrideRedirect;
 
 
 5035         switch (
gval.fFunction) {
 
 5093         xgval.foreground.pixel = 
gval.fForeground;
 
 5100         xgval.background.pixel = 
gval.fBackground;
 
 5147         xgval.graphics_exposures = 
gval.fGraphicsExposures;
 
 5151         xgval.clip_x_origin = 
gval.fClipXOrigin;
 
 5155         xgval.clip_y_origin = 
gval.fClipYOrigin;
 
 5168         switch (
xgval.function) {
 
 5225         gval.fForeground = 
xgval.foreground.pixel;
 
 5229         gval.fBackground = 
xgval.background.pixel;
 
 5277         gval.fClipXOrigin = 
xgval.clip_x_origin;
 
 5281         gval.fClipYOrigin = 
xgval.clip_y_origin;
 
 
 5309   attr.fBorderWidth = 0;
 
 
 5357   if (
a == None) 
return kNone;
 
 
 5393      if (
strstr(font_name, 
"bold"))
 
 5396      if (
strstr(font_name, 
"italic"))
 
 
 5485                             xgval.clip_y_origin);
 
 
 5568   GdkColor 
fore, back;
 
 
 5632                         (
int *) &
attr.fHeight);
 
 
 5708   for (i = 0; i < 
n; i++) {
 
 5711   for (i = 
n; i < 32; i++) {
 
 
 5815   tev.fXRoot = 
tev.fYRoot = 0;
 
 5818   tev.fWidth = 
tev.fHeight = 0;
 
 5823   tev.fUser[0] = 
tev.fUser[1] = 
tev.fUser[2] = 
tev.fUser[3] = 
tev.fUser[4] = 0L;
 
 5825   TGWin32MainThread::LockMSG();
 
 5830   TGWin32MainThread::UnlockMSG();
 
 
 5840   if (!
ev || !
id) 
return;
 
 5842   TGWin32MainThread::LockMSG();
 
 5846   TGWin32MainThread::UnlockMSG();
 
 
 5856   TGWin32MainThread::LockMSG();
 
 5858   if (list != 
nullptr)
 
 5860   TGWin32MainThread::UnlockMSG();
 
 
 5872   TGWin32MainThread::LockMSG();
 
 5878      TGWin32MainThread::UnlockMSG();
 
 5883   TGWin32MainThread::UnlockMSG();
 
 
 5905   switch (event.type) {
 
 5907         event.motion.time = time;
 
 5913         event.button.time = time;
 
 5916         event.key.time = time;
 
 5919         event.crossing.time = time;
 
 5921         event.property.time = time;
 
 5925         event.selection.time = time;
 
 5928         event.proximity.time = time;
 
 5935         event.dnd.time = time;
 
 
 5984      xev.any.send_event = 
ev.fSendEvent;
 
 5990         xev.focus_change.type = 
xev.type;
 
 5996         xev.focus_change.type = 
xev.type;
 
 6004         xev.key.keyval = 
ev.fCode; 
 
 6008         xev.button.type = 
xev.type;
 
 6009         xev.button.x = 
ev.fX;
 
 6010         xev.button.y = 
ev.fY;
 
 6011         xev.button.x_root = 
ev.fXRoot;
 
 6012         xev.button.y_root = 
ev.fYRoot;
 
 6014         xev.button.button = 
ev.fCode; 
 
 6022         xev.selection.type = 
xev.type;
 
 6031            xev.client.type = 
xev.type;
 
 6033            xev.client.data_format = 
ev.fFormat;
 
 6034            xev.client.data.l[0] = 
ev.fUser[0];
 
 6035            if (
sizeof(
ev.fUser[0]) > 4) {
 
 6039               xev.client.data.l[1] = 
ev.fUser[1];
 
 6040               xev.client.data.l[2] = 
ev.fUser[2];
 
 6041               xev.client.data.l[3] = 
ev.fUser[3];
 
 6042               xev.client.data.l[4] = 
ev.fUser[4];
 
 6048         xev.motion.type = 
xev.type;
 
 6049         xev.motion.x = 
ev.fX;
 
 6050         xev.motion.y = 
ev.fY;
 
 6051         xev.motion.x_root = 
ev.fXRoot;
 
 6052         xev.motion.y_root = 
ev.fYRoot;
 
 6056         xev.crossing.type = 
xev.type;
 
 6057         xev.crossing.x = 
ev.fX;
 
 6058         xev.crossing.y = 
ev.fY;
 
 6059         xev.crossing.x_root = 
ev.fXRoot;
 
 6060         xev.crossing.y_root = 
ev.fYRoot;
 
 6066         xev.expose.type = 
xev.type;
 
 6067         xev.expose.area.x = 
ev.fX;
 
 6068         xev.expose.area.y = 
ev.fY;
 
 6069         xev.expose.area.width = 
ev.fWidth;  
 
 6070         xev.expose.area.height = 
ev.fHeight;   
 
 6071         xev.expose.count = 
ev.fCount; 
 
 6075         xev.configure.type = 
xev.type;
 
 6076         xev.configure.x = 
ev.fX;
 
 6077         xev.configure.y = 
ev.fY;
 
 6078         xev.configure.width = 
ev.fWidth;
 
 6079         xev.configure.height = 
ev.fHeight;
 
 6083         xev.selection.type = 
xev.type;
 
 6084         xev.selection.selection = 
ev.fUser[0];
 
 6088         xev.selection.type = 
xev.type;
 
 6089         xev.selection.selection = 
ev.fUser[1];
 
 6090         xev.selection.target = 
ev.fUser[2];
 
 6091         xev.selection.property = 
ev.fUser[3];
 
 6145         if (
sizeof(
ev.fUser[0]) > 4) {
 
 6164         if (
xev.focus_change.in == 
TRUE) {
 
 6173         ev.fCode = 
xev.key.keyval;  
 
 6174         ev.fUser[1] = 
xev.key.length;
 
 6175         if (
xev.key.length > 0) 
ev.fUser[2] = 
xev.key.string[0];
 
 6176         if (
xev.key.length > 1) 
ev.fUser[3] = 
xev.key.string[1];
 
 6177         if (
xev.key.length > 2) 
ev.fUser[4] = 
xev.key.string[2];
 
 6187         ev.fX = 
xev.button.x;
 
 6188         ev.fY = 
xev.button.y;
 
 6189         ev.fXRoot = 
xev.button.x_root;
 
 6190         ev.fYRoot = 
xev.button.y_root;
 
 6192         ev.fCode = 
xev.button.button; 
 
 6205         ev.fX = 
xev.motion.x;
 
 6206         ev.fY = 
xev.motion.y;
 
 6207         ev.fXRoot = 
xev.motion.x_root;
 
 6208         ev.fYRoot = 
xev.motion.y_root;
 
 6223         ev.fX = 
xev.crossing.x;
 
 6224         ev.fY = 
xev.crossing.y;
 
 6225         ev.fXRoot = 
xev.crossing.x_root;
 
 6226         ev.fYRoot = 
xev.crossing.y_root;
 
 6227         ev.fCode = 
xev.crossing.mode; 
 
 6232         ev.fX = 
xev.expose.area.x;
 
 6233         ev.fY = 
xev.expose.area.y;
 
 6234         ev.fWidth = 
xev.expose.area.width;  
 
 6235         ev.fHeight = 
xev.expose.area.height;   
 
 6236         ev.fCount = 
xev.expose.count; 
 
 6240         ev.fX = 
xev.configure.x;
 
 6241         ev.fY = 
xev.configure.y;
 
 6242         ev.fWidth = 
xev.configure.width;
 
 6243         ev.fHeight = 
xev.configure.height;
 
 6248         ev.fHandle = 
xev.client.message_type;
 
 6249         ev.fFormat = 
xev.client.data_format;
 
 6250         ev.fUser[0] = 
xev.client.data.l[0];
 
 6251         if (
sizeof(
ev.fUser[0]) > 4) {
 
 6255            ev.fUser[1] = 
xev.client.data.l[1];
 
 6256            ev.fUser[2] = 
xev.client.data.l[2];
 
 6257            ev.fUser[3] = 
xev.client.data.l[3];
 
 6258            ev.fUser[4] = 
xev.client.data.l[4];
 
 6263         ev.fUser[0] = 
xev.selection.selection;
 
 6268         ev.fUser[1] = 
xev.selection.selection;
 
 6269         ev.fUser[2] = 
xev.selection.target;
 
 6270         ev.fUser[3] = 
xev.selection.property;
 
 6275         ev.fUser[1] = 
xev.selection.selection;
 
 6276         ev.fUser[2] = 
xev.selection.target;
 
 6277         ev.fUser[3] = 
xev.selection.property;
 
 6287         ev.fX = 
xev.scroll.x;
 
 6288         ev.fY = 
xev.scroll.y;
 
 6289         ev.fXRoot = 
xev.scroll.x_root;
 
 6290         ev.fYRoot = 
xev.scroll.y_root;
 
 
 6344      color.pixel = 
attr->fBackgroundPixel;
 
 6363      if (
attr->fBorderWidth > 0) {
 
 
 6529#define safestrlen(s) ((s) ? strlen(s) : 0) 
 6882         for (
int i = 0; 
gKeyMap[i].fKeySym; i++) {      
 
 6899         for (
int i = 0; 
gKeyMap[i].fXKeySym; i++) { 
 
 
 6922                                      (
unsigned char **) &
data,
 
 6930   text.Insert(0, (
const char *) 
data);
 
 
 7093   for (i = 0; i < 
n; i++) {
 
 7100   for (i = 0; i < 
n; i++) {
 
 
 7140   r.width = 
rect->fWidth;
 
 7141   r.height = 
rect->fHeight;
 
 
 7224   rect->fWidth = 
r.width;
 
 7225   rect->fHeight = 
r.height;
 
 
 7233   char  foundry[32], family[100], weight[32], 
slant[32], font_name[256];
 
 7240   if(!
stricmp(weight,
"medium")) {
 
 
 7286   if (
image->depth == 1) {
 
 7295      switch (
image->bpp) {
 
 
 7348   unsigned char *
ret = 0;
 
 7362   bmi.bmiHeader.biPlanes = 1;
 
 7363   bmi.bmiHeader.biBitCount = 32;
 
 7365   bmi.bmiHeader.biSizeImage = 0;
 
 7366   bmi.bmiHeader.biXPelsPerMeter = 
bmi.bmiHeader.biYPelsPerMeter = 0;
 
 7367   bmi.bmiHeader.biClrUsed = 0;
 
 7368   bmi.bmiHeader.biClrImportant = 0;
 
 7386      ret = 
new unsigned char[
sz];
 
 
 7407   bmp_info.bmiHeader.biBitCount = 32;
 
 7409   bmp_info.bmiHeader.biSizeImage = 0;
 
 7411   bmp_info.bmiHeader.biXPelsPerMeter = 0L;
 
 7412   bmp_info.bmiHeader.biYPelsPerMeter = 0L;
 
 7413   bmp_info.bmiHeader.biClrImportant = 0;
 
 7415   bmp_info.bmiColors[0].rgbGreen = 0;
 
 7417   bmp_info.bmiColors[0].rgbReserved = 0;
 
 
 7438   HBITMAP 
hBmp = 
reinterpret_cast<HBITMAP
>(
pix);
 
 7466   gCws->double_buffer = 0;
 
 7471   gCws->new_colors = 0;
 
 
 7514   gCws->double_buffer = 0;
 
 7519   gCws->new_colors    = 0;
 
 
 7536   if (
gCws->new_colors) {
 
 7538                               (GdkColor *)
gCws->new_colors, 
gCws->ncolors);
 
 7540      delete [] 
gCws->new_colors;
 
 7541      gCws->new_colors = 0;
 
 
 7629      for (i = 0; i < 
length; i++) {
 
 7632      GlobalUnlock(
hdata);
 
 
 7712   for (i = 0; i < 
len; i++) {
 
 7715   GlobalUnlock(
hdata);
 
 
const Int_t kPropMotifWMHintsElements
 
static KeySymbolMap_t gKeyMap[]
 
const ULong_t kMWMHintsInputMode
 
const ULong_t kMWMHintsDecorations
 
const Int_t kPropMWMHintElements
 
const ULong_t kMWMHintsFunctions
 
void AsmLong(Long_t i1, Long_t i2, Long_t &ll)
 
void SplitLong(Long_t ll, Long_t &i1, Long_t &i2)
 
Handle_t Region_t
Region handle.
 
const Mask_t kWAOverrideRedirect
 
const Mask_t kGCBackground
 
const Mask_t kGCForeground
 
const Mask_t kGCLineStyle
 
const Mask_t kGCSubwindowMode
 
const Mask_t kGCLineWidth
 
Handle_t Pixmap_t
Pixmap handle.
 
const Mask_t kButtonMotionMask
 
const Mask_t kGCClipXOrigin
 
const Mask_t kFocusChangeMask
 
const Mask_t kButtonPressMask
 
Handle_t FontH_t
Font handle (as opposed to Font_t which is an index)
 
const Mask_t kExposureMask
 
const Mask_t kWAEventMask
 
const Mask_t kGCFillStyle
 
Handle_t Window_t
Window handle.
 
const Mask_t kGCJoinStyle
 
const Mask_t kKeyReleaseMask
 
const Mask_t kWABackPixel
 
Handle_t Display_t
Display handle.
 
const Mask_t kAnyModifier
 
@ kGXorReverse
src OR NOT dst
 
@ kGXnand
NOT src OR NOT dst.
 
@ kGXandReverse
src AND NOT dst
 
@ kGXorInverted
NOT src OR dst.
 
@ kGXandInverted
NOT src AND dst.
 
@ kGXequiv
NOT src XOR dst.
 
@ kGXcopyInverted
NOT src.
 
const Mask_t kKeyPressMask
 
ULong_t Time_t
Event time.
 
Handle_t GContext_t
Graphics context handle.
 
EInitialState
Initial window mapping state.
 
const Mask_t kGCTileStipXOrigin
 
Handle_t Drawable_t
Drawable handle.
 
const Mask_t kPointerMotionMask
 
Handle_t Cursor_t
Cursor handle.
 
const Mask_t kLeaveWindowMask
 
const Mask_t kStructureNotifyMask
 
const Handle_t kParentRelative
 
UInt_t Mask_t
Structure mask type.
 
const Mask_t kButtonReleaseMask
 
const Mask_t kGCGraphicsExposures
 
const Mask_t kGCClipYOrigin
 
const Mask_t kEnterWindowMask
 
const Mask_t kGCTileStipYOrigin
 
EMouseButton
Button names.
 
Handle_t Colormap_t
Colormap handle.
 
const Mask_t kWABackPixmap
 
const Mask_t kWABorderWidth
 
ULongptr_t Handle_t
Generic resource handle.
 
Handle_t FontStruct_t
Pointer to font structure.
 
#define R(a, b, c, d, e, f, g, h, i)
 
const unsigned char gStipples[26][32]
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
constexpr ULong_t kBitsPerByte
 
R__EXTERN TApplication * gApplication
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pix
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void chupy
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t stamp
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg InternAtom
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t regb
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t mask
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t pict_mask
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t dest
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t dest_x
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t cursor
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hmin
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void cmap
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t atom
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t act_type
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t pict
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t del
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hmax
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pixel
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t wmin
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize wid
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void clipboard
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t target
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t act_format
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height qwid
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rect
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t recs
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h prop
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
 
Option_t Option_t fontnumber
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t child
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char cname
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void curid
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
Option_t Option_t markerstyle
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void chupx
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text CreatePixmap
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char pxname
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void foreground
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char PutPixel
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char bitmap
 
Option_t Option_t TPoint TPoint const char x2
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t nitems
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char forecolor
 
Option_t Option_t TPoint TPoint const char x1
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h req_type
 
Option_t Option_t textsize
 
Option_t Option_t TPoint TPoint angle
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void funcs
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src_y
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t win
 
Option_t Option_t TPoint xy
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void xpos
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t dest_y
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t winc
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t modifier
 
Option_t Option_t TPoint TPoint const char mode
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t org
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char backcolor
 
Option_t Option_t TPoint TPoint const char y2
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void SetInputFocus
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t npnt
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void SetCursor
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t nchar
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char fontname
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src_x
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t Atom_t typelist
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void main_id
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t grab
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void ypos
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void when
 
Option_t Option_t SetMarkerStyle
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t points
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t bytes
 
Option_t Option_t TPoint TPoint percent
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t evmask
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t gval
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rega
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void reg
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t wmax
 
Option_t Option_t TPoint TPoint DrawText
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t property
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pxm
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hinc
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t confine
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t button
 
Option_t Option_t TPoint TPoint const char text
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char atom_name
 
Option_t Option_t TPoint TPoint const char y1
 
void gdk_win32_draw_segments(GdkDrawable *drawable, GdkGC *gc, GdkSegment *segs, gint nsegs)
 
int GIFdecode(Byte_t *GIFarr, Byte_t *PIXarr, int *Width, int *Height, int *Ncols, Byte_t *R, Byte_t *G, Byte_t *B)
 
int GIFquantize(UInt_t width, UInt_t height, Int_t *ncol, Byte_t *red, Byte_t *green, Byte_t *blue, Byte_t *outputBuf, Byte_t *outputCmap)
 
#define XDND_PROTOCOL_VERSION
 
int GIFinfo(Byte_t *GIFarr, int *Width, int *Height, int *Ncols)
 
static void GetPixel(int y, int width, Byte_t *scline)
Get pixels in line y and put in array scline.
 
static void _set_event_time(GdkEvent &event, UInt_t time)
 
void gdk_win32_draw_text(GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length)
 
void gdk_win32_draw_polygon(GdkDrawable *drawable, GdkGC *gc, gint filled, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_lines(GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_points(GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
 
static GdkImage * gGifImage
 
static void PutByte(Byte_t b)
Put byte b in output stream.
 
void gdk_win32_draw_arc(GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2)
 
long GIFencode(int Width, int Height, Int_t Ncol, Byte_t R[], Byte_t G[], Byte_t B[], Byte_t ScLine[], void(*get_scline)(int, int, Byte_t *), void(*pb)(Byte_t))
 
void gdk_win32_draw_rectangle(GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height)
 
#define MAKELONGLONG(lo, hi)
 
static int gMarkerJoinStyle
 
static int gMarkerLineStyle
 
static ULong_t gKeybdMask
 
static Pixmap gFillPattern
 
static Cursor gNullCursor
 
static struct @57 gMarker
 
const char null_cursor_bits[]
 
static char gDashList[10]
 
const Int_t kBIGGEST_RGB_VALUE
 
static ULong_t gMouseMask
 
static GC gGClist[kMAXGC]
 
static int gMarkerLineWidth
 
static int gMarkerCapStyle
 
static XFontStruct * gTextFont
 
R__EXTERN TStyle * gStyle
 
R__EXTERN TSystem * gSystem
 
R__EXTERN TVirtualX *(* gPtr2VirtualX)()
 
R__EXTERN Atom_t gWM_DELETE_WINDOW
 
R__EXTERN TWin32SplashThread * gSplash
 
R__EXTERN ULongptr_t gConsoleWindow
 
virtual Color_t GetFillColor() const
Return the fill area color.
 
Style_t fFillStyle
Fill area style.
 
Color_t fFillColor
Fill area color.
 
Width_t fLineWidth
Line width.
 
Style_t fLineStyle
Line style.
 
Color_t fLineColor
Line color.
 
Color_t fMarkerColor
Marker color.
 
static Width_t GetMarkerLineWidth(Style_t style)
Internal helper function that returns the line width of the given marker style (0 = filled marker)
 
Size_t fMarkerSize
Marker size.
 
Style_t fMarkerStyle
Marker style.
 
static Style_t GetMarkerStyleBase(Style_t style)
Internal helper function that returns the corresponding marker style with line width 1 for the given ...
 
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
 
Float_t fTextAngle
Text angle.
 
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
 
Font_t fTextFont
Text font.
 
Float_t fTextSize
Text size.
 
The color creation and management class.
 
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
 
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
 
Bool_t Next(ULong64_t &hash, Long64_t &key, Long64_t &value)
Get next entry from TExMap. Returns kFALSE at end of map.
 
This class stores a (key,value) pair using an external hash.
 
void Add(ULong64_t hash, Long64_t key, Long64_t value)
Add an (key,value) pair to the table. The key should be unique.
 
Long64_t GetValue(ULong64_t hash, Long64_t key)
Return the value belonging to specified key and hash value.
 
Proxy classes provide thread-safe interface to global objects.
 
static ULong_t fgPingMessageId
ping message ID
 
static void GlobalUnlock()
unlock any proxy (client thread)
 
static UInt_t fMaxResponseTime
max period for waiting response from server thread
 
static void GlobalLock()
lock any proxy (client thread)
 
static ULong_t fgUserThreadId
user (e.g. python) thread ID
 
static ULong_t fgPostMessageId
post message ID
 
static ULong_t fgMainThreadId
main thread ID
 
static TVirtualX * fgRealObject
 
static TVirtualX * ProxyObject()
 
static TVirtualX * RealObject()
 
This class is the basic interface to the Win32 graphics system.
 
void DrawImage(FT_Bitmap *source, ULong_t fore, ULong_t back, GdkImage *xim, Int_t bx, Int_t by)
Draw FT_Bitmap bitmap to xim image at position bx,by using specified foreground color.
 
Cursor_t CreateCursor(ECursor cursor) override
Create cursor handle (just return cursor from cursor pool fCursors).
 
void SetWMSizeHints(Window_t id, UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc) override
Give the window manager minimum and maximum size hints.
 
void SetDoubleBuffer(Int_t wid, Int_t mode) override
Set the double buffer on/off on window wid.
 
void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char *text, ETextMode mode) override
Draw text using TrueType fonts.
 
Int_t GetDoubleBuffer(Int_t wid) override
Query the double buffer value for the window wid.
 
void DrawSegments(Drawable_t id, GContext_t gc, Segment_t *seg, Int_t nseg) override
Draws multiple line segments. Each line is specified by a pair of points.
 
void MapModifierState(UInt_t &state, UInt_t &xstate, Bool_t tox=kTRUE)
Map modifier key state to or from X.
 
void CloseWindow1()
Delete current window.
 
void SetFillColor(Color_t cindex) override
Set color index for fill areas.
 
void DestroyRegion(Region_t reg) override
Destroy region.
 
void GetRGB(Int_t index, Float_t &r, Float_t &g, Float_t &b) override
Get rgb values for color "index".
 
void DeleteGC(GContext_t gc) override
Explicitely delete a graphics context.
 
void ClearWindow() override
Clear current window.
 
void MapSetWindowAttributes(SetWindowAttributes_t *attr, ULong_t &xmask, GdkWindowAttr &xattr)
Map a SetWindowAttributes_t to a GdkWindowAttr structure.
 
Window_t GetInputFocus() override
Returns the window id of the window having the input focus.
 
virtual void GetTextExtent(UInt_t &w, UInt_t &h, char *mess) override
Return the size of a character string.
 
void SetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b) override
Set color intensities for given color index.
 
void SetFillStyle(Style_t style) override
Set fill area style.
 
void SetDoubleBufferON() override
Turn double buffer mode on.
 
void ShapeCombineMask(Window_t id, Int_t x, Int_t y, Pixmap_t mask) override
The Nonrectangular Window Shape Extension adds nonrectangular windows to the System.
 
void SetOpacity(Int_t percent) override
Set opacity of a window.
 
char ** ListFonts(const char *fontname, Int_t max, Int_t &count) override
Return list of font names matching "fontname".
 
void GetFontProperties(FontStruct_t font, Int_t &max_ascent, Int_t &max_descent) override
Return some font properties.
 
FontStruct_t LoadQueryFont(const char *font_name) override
Load font and query font.
 
void ChangeProperties(Window_t id, Atom_t property, Atom_t type, Int_t format, UChar_t *data, Int_t len) override
Put data into Clipboard.
 
void SetDrawMode(EDrawMode mode) override
Set the drawing mode.
 
void CloseWindow() override
Delete current window.
 
void TranslateCoordinates(Window_t src, Window_t dest, Int_t src_x, Int_t src_y, Int_t &dest_x, Int_t &dest_y, Window_t &child) override
TranslateCoordinates translates coordinates from the frame of reference of one window to another.
 
void RaiseWindow(Window_t id) override
Put window on top of window stack.
 
Bool_t ParseColor(Colormap_t cmap, const char *cname, ColorStruct_t &color) override
Parse string cname containing color name, like "green" or "#00FF00".
 
Float_t fCharacterUpY
Character Up vector along Y.
 
Int_t KeysymToKeycode(UInt_t keysym) override
Convert a keysym to the appropriate keycode.
 
Int_t InitWindow(ULongptr_t window) override
Open window and return window number.
 
void RenderString(Int_t x, Int_t y, ETextMode mode)
Perform the string rendering in the pad.
 
void SetTextFont(Font_t fontnumber) override
Set specified font.
 
Int_t fDepth
Number of color planes.
 
void DrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
Draw a line.
 
void GetGeometry(Int_t wid, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
Return position and size of window wid.
 
void GetPlanes(Int_t &nplanes) override
Get maximum number of planes.
 
Float_t fTextMagnitude
Text Magnitude.
 
void RescaleWindow(Int_t wid, UInt_t w, UInt_t h) override
Rescale the window wid.
 
void ChangeWindowAttributes(Window_t id, SetWindowAttributes_t *attr) override
Change window attributes.
 
void SetIconPixmap(Window_t id, Pixmap_t pic) override
Set pixmap the WM can use when the window is iconized.
 
void UnionRectWithRegion(Rectangle_t *rect, Region_t src, Region_t dest) override
Union of rectangle with a region.
 
Int_t RequestLocator(Int_t mode, Int_t ctyp, Int_t &x, Int_t &y) override
Request Locator position.
 
void SetClassHints(Window_t id, char *className, char *resourceName) override
Set the windows class and resource name.
 
void Align(void)
Compute alignment variables.
 
GdkImage * GetBackground(Int_t x, Int_t y, UInt_t w, UInt_t h)
Get the background of the current window in an XImage.
 
void ClearArea(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Clear a window area to the bakcground color.
 
void DeleteProperty(Window_t, Atom_t &) override
Deletes the specified property on the specified window.
 
Window_t GetParent(Window_t id) const override
Return the parent of the window.
 
void GetImageSize(Drawable_t id, UInt_t &width, UInt_t &height) override
Returns the width and height of the image id.
 
void Update(Int_t mode=0) override
Flush (mode = 0, default) or synchronize (mode = 1) X output buffer.
 
Bool_t fMarkerStyleModified
 
TGWin32()
Default constructor.
 
void SetCharacterUp(Float_t chupx, Float_t chupy) override
Set character up vector.
 
void SetColor(GdkGC *gc, Int_t ci)
Set the foreground color in GdkGC.
 
GdkColormap * fColormap
Default colormap, 0 if b/w.
 
ULong_t GetPixel(Color_t cindex) override
Return pixel value associated to specified ROOT color number.
 
void SendEvent(Window_t id, Event_t *ev) override
Send event ev to window id.
 
Bool_t fFillStyleModified
 
Int_t RequestString(Int_t x, Int_t y, char *text) override
Request a string.
 
void SetUserThreadId(ULong_t id)
Set user thread id.
 
Int_t fBlueDiv
Blue value divider.
 
Bool_t CheckEvent(Window_t id, EGEventType type, Event_t &ev) override
Check if there is for window "id" an event of type "type".
 
void GrabButton(Window_t id, EMouseButton button, UInt_t modifier, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE) override
Establish passive grab on a certain mouse button.
 
void DrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t *ic) override
Draw a cell array.
 
GContext_t CreateGC(Drawable_t id, GCValues_t *gval) override
Create a graphics context using the values set in gval (but only for those entries that are in the ma...
 
Int_t fGreenShift
Bits to left shift green.
 
void ImgPickPalette(GdkImage *image, Int_t &ncol, Int_t *&R, Int_t *&G, Int_t *&B)
Returns in R G B the ncol colors of the palette used by the image.
 
Bool_t ReadPictureDataFromFile(const char *filename, char ***ret_data) override
Read picture data from file and store in ret_data.
 
void MapSubwindows(Window_t id) override
Maps all subwindows for the specified window "id" in top-to-bottom stacking order.
 
void Bell(Int_t percent) override
Sets the sound bell. Percent is loudness from -100% to 100%.
 
void SetCursor(Int_t wid, ECursor cursor) override
Set the cursor.
 
Bool_t IsDNDAware(Window_t win, Atom_t *typelist) override
Checks if Window win is DND aware, and knows any of the DND formats passed in argument.
 
void LowerWindow(Window_t id) override
Lower window so it lays below all its siblings.
 
void ReparentWindow(Window_t id, Window_t pid, Int_t x, Int_t y) override
Reparent window, make pid the new parent and position the window at position (x,y) in new parent.
 
void UnmapWindow(Window_t id) override
Unmap window from screen.
 
void CloseDisplay() override
close display (terminate server/gMainThread thread)
 
void SetWMTransientHint(Window_t id, Window_t main_id) override
Tell window manager that window is a transient window of gdk_parent_root.
 
void SetWMPosition(Window_t id, Int_t x, Int_t y) override
Tells the window manager the desired position [x,y] of window "id".
 
void DestroySubwindows(Window_t id) override
Destroy all internal subwindows.
 
unsigned char * GetColorBits(Drawable_t wid, Int_t x, Int_t y, UInt_t width, UInt_t height) override
Gets DIB bits x, y, width, height - position of bitmap returns a pointer on bitmap bits array in form...
 
Int_t TextWidth(FontStruct_t font, const char *s, Int_t len) override
Return length of string in pixels. Size depends on font.
 
void Sync(Int_t mode) override
Set synchronisation on or off.
 
void Warp(Int_t ix, Int_t iy, Window_t id=0) override
Set pointer position.
 
void WritePixmap(Int_t wid, UInt_t w, UInt_t h, char *pxname) override
Write the pixmap wid in the bitmap file pxname.
 
void MapEventMask(UInt_t &emask, UInt_t &xemask, Bool_t tox=kTRUE)
Map event mask to or from gdk.
 
Float_t fCharacterUpX
Character Up vector along X.
 
Bool_t fPenModified
line syle || width modified
 
void GetGCValues(GContext_t gc, GCValues_t &gval) override
Get current values from graphics context gc.
 
void SetMarkerSize(Float_t markersize) override
Set marker size index.
 
Window_t GetWindowID(Int_t wid) override
Return the X11 window identifier.
 
Window_t FindRWindow(Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd) override
Recursively search in the children of Window for a Window which is at location x, y and is DND aware,...
 
void XorRegion(Region_t rega, Region_t regb, Region_t result) override
Calculate the difference between the union and intersection of two regions.
 
Bool_t fHasTTFonts
True when TrueType fonts are used.
 
void MapEvent(Event_t &ev, GdkEvent &xev, Bool_t tox=kTRUE)
Map Event_t structure to gdk_event structure.
 
void UpdateLineStyle()
Update line style.
 
void IconifyWindow(Window_t id) override
Iconify the window.
 
Int_t fRedShift
Bits to left shift red, -1 if no TrueColor visual.
 
Bool_t IsVisible(Int_t x, Int_t y, UInt_t w, UInt_t h)
Test if there is really something to render.
 
Pixmap_t CreateBitmap(Drawable_t id, const char *bitmap, UInt_t width, UInt_t height) override
Create a bitmap (i.e. pixmap with depth 1) from the bitmap data.
 
void FreeFontStruct(FontStruct_t fs) override
Free font structure returned by GetFontStruct().
 
Int_t FindColor(ULong_t pixel, ULong_t *orgcolors, Int_t ncolors)
Returns index in orgcolors (and new_colors) for pixel.
 
Bool_t EqualRegion(Region_t rega, Region_t regb) override
Returns true if two regions are equal.
 
void FillRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Draw a filled rectangle. Filling is done according to the gc.
 
FontStruct_t GetFontStruct(FontH_t fh) override
Retrieve associated font structure once we have the font handle.
 
void UpdateFillStyle()
Set fill area style index.
 
void GetCharacterUp(Float_t &chupx, Float_t &chupy) override
Return character up vector.
 
void DrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char *s, Int_t len) override
Draw a string using a specific graphics context in position (x,y).
 
Bool_t PointInRegion(Int_t x, Int_t y, Region_t reg) override
Returns true if the point x,y is in the region.
 
void FillPolygon(Window_t id, GContext_t gc, Point_t *points, Int_t npnt) override
FillPolygon fills the region closed by the specified path.
 
Bool_t fLineColorModified
 
void MakeOpaqueColors(Int_t percent, ULong_t *orgcolors, Int_t ncolors)
Get RGB values for orgcolors, add percent neutral to the RGB and allocate new_colors.
 
void SetWMState(Window_t id, EInitialState state) override
Set the initial state of the window. Either kNormalState or kIconicState.
 
void DeleteFont(FontStruct_t fs) override
Explicitely delete font structure obtained with LoadQueryFont().
 
void GrabPointer(Window_t id, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE, Bool_t owner_events=kTRUE) override
Establish an active pointer grab.
 
Int_t fScreenNumber
Screen number.
 
void ConvertPrimarySelection(Window_t id, Atom_t clipboard, Time_t when) override
XConvertSelection() causes a SelectionRequest event to be sent to the current primary selection owner...
 
Region_t PolygonRegion(Point_t *points, Int_t np, Bool_t winding) override
Create region for the polygon defined by the points array.
 
void MapGCValues(GCValues_t &gval, ULong_t &xmask, GdkGCValues &xgval, Bool_t tox=kTRUE)
Map a GCValues_t to a XCGValues structure if tox is true.
 
void SetClipRectangles(GContext_t gc, Int_t x, Int_t y, Rectangle_t *recs, Int_t n) override
Set clipping rectangles in graphics context.
 
void SetMarkerType(Int_t type, Int_t n, GdkPoint *xy)
Set marker type.
 
void SetTextColor(Color_t cindex) override
Set color index for text.
 
void SetWindowName(Window_t id, char *name) override
Set window name.
 
Window_t CreateWindow(Window_t 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) override
Return handle to newly created gdk window.
 
void ChangeActivePointerGrab(Window_t, UInt_t, Cursor_t) override
Changes the active cursor of the specified window.
 
void MoveWindow(Int_t wid, Int_t x, Int_t y) override
Move the window wid.
 
void WMDeleteNotify(Window_t id) override
Tell WM to send message when window is closed via WM.
 
void SetForeground(GContext_t gc, ULong_t foreground) override
Set foreground color in graphics context (shortcut for ChangeGC with only foreground mask set).
 
void DestroyWindow(Window_t id) override
Destroy window.
 
Int_t GetProperty(Window_t, Atom_t, Long_t, Long_t, Bool_t, Atom_t, Atom_t *, Int_t *, ULong_t *, ULong_t *, unsigned char **) override
Returns the actual type of the property, the actual format of the property, and a pointer to the data...
 
Int_t EventsPending() override
Returns number of pending events.
 
void SetPrimarySelectionOwner(Window_t id) override
Makes the window id the current owner of the primary selection.
 
void SetLineStyle(Style_t linestyle) override
Set line style.
 
void FreeColor(Colormap_t cmap, ULong_t pixel) override
Free color cell with specified pixel value.
 
TObject * fRefreshTimer
TGWin32RefreshTimer for GUI thread message handler.
 
void SetMWMHints(Window_t id, UInt_t value, UInt_t funcs, UInt_t input) override
Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).
 
void QueryColor(Colormap_t cmap, ColorStruct_t &color) override
Fill in the primary color components for a specific pixel value.
 
void IntersectRegion(Region_t rega, Region_t regb, Region_t result) override
Compute the intersection of rega and regb and return result region.
 
void QueryColors(GdkColormap *cmap, GdkColor *colors, Int_t ncolors)
Returns the current RGB value for the pixel in the XColor structure.
 
void LookupString(Event_t *event, char *buf, Int_t buflen, UInt_t &keysym) override
Convert the keycode from the event structure to a key symbol (according to the modifiers specified in...
 
void MoveResizeWindow(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Move and resize a window.
 
Bool_t EmptyRegion(Region_t reg) override
Return true if the region is empty.
 
void MapColorStruct(ColorStruct_t *color, GdkColor &xcolor)
Map a ColorStruct_t to a XColor structure.
 
FT_Vector fAlign
alignment vector
 
Int_t ResizePixmap(Int_t wid, UInt_t w, UInt_t h) override
Resize a pixmap.
 
void SetWMSize(Window_t id, UInt_t w, UInt_t h) override
Tells window manager the desired size of window "id".
 
Int_t fTextAlignH
Text Alignment Horizontal.
 
void ClosePixmap() override
Delete current pixmap.
 
Handle_t fXEvent
Current native (GDK) event.
 
void RemovePixmap(GdkDrawable *pix)
Remove the pixmap pix.
 
void SelectWindow(Int_t wid) override
Select window to which subsequent output is directed.
 
Bool_t fFillColorModified
 
Int_t fRedDiv
Red value divider, -1 if no TrueColor visual.
 
void SetLineType(Int_t n, Int_t *dash) override
Set line type.
 
void SetTextAlign(Short_t talign=11) override
Set text alignment.
 
void ChangeProperty(Window_t id, Atom_t property, Atom_t type, UChar_t *data, Int_t len) override
This function alters the property for the specified window and causes the X server to generate a Prop...
 
Bool_t fMarkerColorModified
 
Region_t CreateRegion() override
Create a new empty region.
 
const char * DisplayName(const char *dpyName=0) override
Return hostname on which the display is opened.
 
void PutImage(Int_t offset, Int_t itran, Int_t x0, Int_t y0, Int_t nx, Int_t ny, Int_t xmin, Int_t ymin, Int_t xmax, Int_t ymax, UChar_t *image, Drawable_t id)
Draw image.
 
void SetTextSize(Float_t textsize) override
Set current text size.
 
void DrawPolyMarker(Int_t n, TPoint *xy) override
Draw n markers with the current attributes at position x, y.
 
Display_t GetDisplay() const override
Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVi...
 
void DrawBox(Int_t x1, Int_t y1, Int_t x2, Int_t y2, EBoxMode mode) override
Draw a box.
 
GdkGC * GetGC(Int_t which) const
Return desired Graphics Context ("which" maps directly on gGCList[]).
 
void ChangeGC(GContext_t gc, GCValues_t *gval) override
Change entries in an existing graphics context, gc, by values from gval.
 
void SetMarkerColor(Color_t cindex) override
Set color index for markers.
 
void GrabKey(Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab=kTRUE) override
Establish passive grab on a certain key.
 
void SubtractRegion(Region_t rega, Region_t regb, Region_t result) override
Subtract rega from regb.
 
XColor_t & GetColor(Int_t cid)
Return reference to internal color structure associated to color index cid.
 
void DrawRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Draw a rectangle outline.
 
void SetDashes(GContext_t gc, Int_t offset, const char *dash_list, Int_t n) override
Specify a dash pattertn.
 
void DeletePixmap(Pixmap_t pmap) override
Explicitely delete pixmap resource.
 
Int_t fTextAlign
Text alignment (set in SetTextAlign)
 
void FreeFontNames(char **fontlist) override
Frees the specified the array of strings "fontlist".
 
void MapWindow(Window_t id) override
Map window on screen.
 
Int_t WriteGIF(char *name) override
Writes the current window into GIF file.
 
void DeleteImage(Drawable_t img) override
Deallocates the memory associated with the image img.
 
void PutPixel(Drawable_t id, Int_t x, Int_t y, ULong_t pixel) override
Overwrites the pixel in the image with the specified pixel value.
 
void ConvertSelection(Window_t, Atom_t &, Atom_t &, Atom_t &, Time_t &) override
Get Clipboard data.
 
void SetIconName(Window_t id, char *name) override
Set window icon name.
 
Bool_t SetSelectionOwner(Window_t, Atom_t &) override
Assigns owner of Clipboard.
 
Int_t fMaxNumberOfWindows
Maximum number of windows.
 
Window_t GetPrimarySelectionOwner() override
Returns the window id of the current owner of the primary selection.
 
void SetMarkerStyle(Style_t markerstyle) override
Set marker style.
 
void DeletePictureData(void *data) override
Delete picture data created by the function ReadPictureDataFromFile.
 
void DrawFillArea(Int_t n, TPoint *xy) override
Fill area described by polygon.
 
void GetWindowAttributes(Window_t id, WindowAttributes_t &attr) override
Get window attributes and return filled in attributes structure.
 
void GetWindowSize(Drawable_t id, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
Return geometry of window (should be called GetGeometry but signature already used).
 
void SetTypeList(Window_t win, Atom_t prop, Atom_t *typelist) override
Add the list of drag and drop types to the Window win.
 
Bool_t CreatePictureFromData(Drawable_t id, char **data, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr) override
Create a pixture pixmap from data.
 
Int_t OpenPixmap(UInt_t w, UInt_t h) override
Open a new pixmap.
 
Pixmap_t ReadGIF(Int_t x0, Int_t y0, const char *file, Window_t id=0) override
If id is NULL - loads the specified gif file at position [x0,y0] in the current window.
 
Pixmap_t CreatePixmapFromData(unsigned char *bits, UInt_t width, UInt_t height) override
create an image from RGB data.
 
void NextEvent(Event_t &event) override
Copies first pending event from event queue to Event_t structure and removes event from queue.
 
void MapKeySym(UInt_t &keysym, UInt_t &xkeysym, Bool_t tox=kTRUE)
Map to and from X key symbols.
 
Bool_t AllocColor(GdkColormap *cmap, GdkColor *color)
Allocate color in colormap.
 
Bool_t IsCmdThread() const override
returns kTRUE if we are inside cmd/server thread
 
void SetClipOFF(Int_t wid) override
Turn off the clipping for the window wid.
 
void SetLineWidth(Width_t width) override
Set line width.
 
void SetInputFocus(Window_t id) override
Set keyboard input focus to window id.
 
void CopyPixmap(Int_t wid, Int_t xpos, Int_t ypos) override
Copy the pixmap wid at the position xpos, ypos in the current window.
 
Window_t GetCurrentWindow() const override
Return current window pointer. Protected method used by TGWin32TTF.
 
void MapRaised(Window_t id) override
Map window on screen and put on top of all windows.
 
void CopyArea(Drawable_t src, Drawable_t dest, GContext_t gc, Int_t src_x, Int_t src_y, UInt_t width, UInt_t height, Int_t dest_x, Int_t dest_y) override
Copy a drawable (i.e.
 
void SelectInput(Window_t id, UInt_t evmask) override
Defines which input events the window is interested in.
 
Atom_t InternAtom(const char *atom_name, Bool_t only_if_exist) override
Return atom handle for atom_name.
 
void ResizeWindow(Int_t wid) override
Resize the current window if necessary.
 
Int_t OpenDisplay(const char *dpyName=0) override
Open the display. Return -1 if the opening fails, 0 when ok.
 
void SetDNDAware(Window_t win, Atom_t *typelist) override
Add XdndAware property and the list of drag and drop types to the Window win.
 
void UnionRegion(Region_t rega, Region_t regb, Region_t result) override
Compute the union of rega and regb and return result region.
 
void SetWindowBackgroundPixmap(Window_t id, Pixmap_t pxm) override
Set pixmap as window background.
 
void SetClipRegion(Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Set clipping region for the window wid.
 
void GetPasteBuffer(Window_t id, Atom_t atom, TString &text, Int_t &nchar, Bool_t del) override
Get contents of paste buffer atom into string.
 
void SetKeyAutoRepeat(Bool_t on=kTRUE) override
Turn key auto repeat on or off.
 
void DrawPolyLine(Int_t n, TPoint *xy) override
Draw a line through all points.
 
void CopyGC(GContext_t org, GContext_t dest, Mask_t mask) override
Copies graphics context from org to dest.
 
Int_t fBlueShift
Bits to left shift blue.
 
GdkCursor * fCursors[kNumCursors]
List of cursors.
 
void SetLineColor(Color_t cindex) override
Set color index for lines.
 
Bool_t Init(void *display=0) override
Initialize Win32 system. Returns kFALSE in case of failure.
 
void QueryPointer(Int_t &ix, Int_t &iy) override
Query pointer position.
 
void UpdateWindow(Int_t mode) override
Update display.
 
void GetRegionBox(Region_t reg, Rectangle_t *) override
Return smallest enclosing rectangle.
 
virtual ~TGWin32()
destructor.
 
Int_t AddWindow(ULongptr_t qwid, UInt_t w, UInt_t h) override
Register a window created by Qt as a ROOT window (like InitWindow()).
 
Bool_t CreatePictureFromFile(Drawable_t id, const char *filename, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr) override
Create a picture pixmap from data on file.
 
Int_t fTextAlignV
Text Alignment Vertical.
 
Bool_t fUseSysPointers
True when using system mouse pointers.
 
XWindow_t * fWindows
List of windows.
 
void SetDoubleBufferOFF() override
Turn double buffer mode off.
 
Int_t fGreenDiv
Green value divider.
 
UInt_t ScreenWidthMM() const override
Returns the width of the screen in millimeters.
 
Int_t AddPixmap(ULongptr_t pix, UInt_t w, UInt_t h) override
register pixmap created by TGWin32GLManager
 
Window_t GetDefaultRootWindow() const override
Return handle to the default root window created when calling XOpenDisplay().
 
Int_t GetDepth() const override
Get maximum number of planes.
 
void SetWindowBackground(Window_t id, ULong_t color) override
Set the window background color.
 
FontH_t GetFontHandle(FontStruct_t fs) override
Return handle to font described by font structure.
 
void SetInput(Int_t inp)
Set input on or off.
 
void RemoveWindow(ULongptr_t qwid) override
Remove a window created by Qt (like CloseWindow1()).
 
TExMap * fColors
Hash list of colors.
 
Drawable_t CreateImage(UInt_t width, UInt_t height) override
Allocates the memory needed for an drawable.
 
Pixmap_t CreatePixmap(Drawable_t id, UInt_t w, UInt_t h) override
Creates a pixmap of the width and height you specified and returns a pixmap ID that identifies it.
 
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
 
virtual void SetName(const char *name)
Set the name of the TNamed.
 
Collectable string class.
 
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
static void * Alloc(size_t size)
Allocate a block of memory, that later can be resized using TStorage::ReAlloc().
 
static void Dealloc(void *ptr)
De-allocate block of memory, that was allocated via TStorage::Alloc().
 
static void * ReAlloc(void *vp, size_t size, size_t oldsize)
Reallocate (i.e.
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
const char * GetLineStyleString(Int_t i=1) const
Return line style string (used by PostScript).
 
void Beep(Int_t freq=-1, Int_t duration=-1, Bool_t setDefault=kFALSE)
Beep for duration milliseconds with a tone of frequency freq.
 
virtual void AddTimer(TTimer *t)
Add timer to list of system timers.
 
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
 
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
 
virtual TTimer * RemoveTimer(TTimer *t)
Remove timer from list of system timers.
 
TTF helper class containing glyphs description.
 
static Bool_t IsInitialized()
 
static void PrepareString(const char *string)
Put the characters in "string" in the "glyphs" array.
 
static void Init()
Initialise the TrueType fonts interface.
 
static void LayoutGlyphs()
Compute the glyphs positions, fgAscent and fgWidth (needed for alignment).
 
static void SetSmoothing(Bool_t state)
Set smoothing (anti-aliasing) flag.
 
static void SetRotationMatrix(Float_t angle)
Set the rotation matrix used to rotate the font outlines.
 
static void SetTextFont(Font_t fontnumber)
Set specified font.
 
static void GetTextExtent(UInt_t &w, UInt_t &h, char *text)
Get width (w) and height (h) when text is horizontal.
 
static TTGlyph * GetGlyphs()
 
static Int_t GetNumGlyphs()
 
static const FT_BBox & GetBox()
 
static Bool_t GetSmoothing()
 
static void SetTextSize(Float_t textsize)
Set current text size.
 
static FT_Matrix * GetRotMatrix()
 
Handles synchronous and a-synchronous timer events.
 
Semi-Abstract base class defining a generic interface to the underlying, low level,...
 
Double_t ACos(Double_t)
Returns the principal value of the arc cosine of x, expressed in radians.
 
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
 
Double_t Floor(Double_t x)
Rounds x downward, returning the largest integral value that is not greater than x.
 
Double_t Sqrt(Double_t x)
Returns the square root of x.
 
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.
 
ULong_t fPixel
color pixel value (index in color table)
 
UShort_t fRed
red component (0..65535)
 
UShort_t fGreen
green component (0..65535)
 
UShort_t fBlue
blue component (0..65535)
 
UInt_t fCode
key or button code
 
Graphics context structure.
 
Point structure (maps to the X11 XPoint structure)
 
Rectangle structure (maps to the X11 XRectangle structure)
 
Used for drawing line segments (maps to the X11 XSegments structure)
 
Attributes that can be used when creating or changing a window.
 
Window attributes that can be inquired.
 
Description of a X11 color.
 
Bool_t fDefined
true if pixel value is defined
 
Description of a X11 window.
 
int GIFdecode(byte *GIFarr, byte *PIXarr, int *Width, int *Height, int *Ncols, byte *R, byte *G, byte *B)
 
int GIFinfo(byte *GIFarr, int *Width, int *Height, int *Ncols)
 
long GIFencode(int Width, int Height, int Ncol, R, G, B, ScLine, void *get_scline, pb)