Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGX11.cxx File Reference
#include "TROOT.h"
#include "TColor.h"
#include "TGX11.h"
#include "TPoint.h"
#include "TMath.h"
#include "TStorage.h"
#include "TStyle.h"
#include "TExMap.h"
#include "TEnv.h"
#include "TString.h"
#include "TObjString.h"
#include "TObjArray.h"
#include "RStipples.h"
#include "strlcpy.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include <X11/xpm.h>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <unistd.h>
#include "gifencode.h"
#include "gifdecode.h"
#include "rotated.h"
Include dependency graph for TGX11.cxx:

Classes

struct  RVisual
 
struct  RXColor
 
struct  RXGCValues
 
struct  RXImage
 
struct  RXPoint
 
struct  RXVisualInfo
 
class  TX11GifEncode
 Helper class to extract pixel information from XImage for store in the GIF. More...
 
struct  XWindow_t
 Description of a X11 window. More...
 

Functions

static Int_t DummyX11ErrorHandler (Display *, XErrorEvent *)
 Dummy error handler for X11. Used by FindUsableVisual().
 

Variables

static int gCapStyle = CapButt
 
static Int_t gCurrentFontNumber = 0
 
static XWindow_tgCws
 
struct { 
 
   XFontStruct *   id 
 
   char   name [80] 
 
gFont [kMAXFONT
 
static GC gGCecho
 
static int gJoinStyle = JoinMiter
 
static ULong_t gKeybdMask
 
static int gMarkerCapStyle = CapRound
 
static int gMarkerJoinStyle = JoinRound
 
static int gMarkerLineStyle = LineSolid
 
static ULong_t gMouseMask
 
static Cursor gNullCursor = 0
 
static XFontStructgTextFont
 
static XWindow_tgTws
 
const int kAlignNone = 0
 
const int kBCenter = 8
 
const Int_t kBIGGEST_RGB_VALUE = 65535
 
const int kBLeft = 7
 
const int kBRight = 9
 
const int kGCdash = 5
 
const int kGCfill = 2
 
const int kGCinvt = 4
 
const int kGCline = 0
 
const int kGCmark = 1
 
const int kGCpxmp = 6
 
const int kGCtext = 3
 
const Int_t kMAXFONT = 4
 
const int kMAXGC = 7
 
const int kMCenter = 5
 
const int kMLeft = 4
 
const int kMRight = 6
 
const int kTCenter = 2
 
const int kTLeft = 1
 
const int kTRight = 3
 
const char null_cursor_bits []
 

Function Documentation

◆ DummyX11ErrorHandler()

static Int_t DummyX11ErrorHandler ( Display * ,
XErrorEvent *  )
static

Dummy error handler for X11. Used by FindUsableVisual().

Definition at line 935 of file TGX11.cxx.

Variable Documentation

◆ gCapStyle

int gCapStyle = CapButt
static

Definition at line 155 of file TGX11.cxx.

◆ gCurrentFontNumber

Int_t gCurrentFontNumber = 0
static

Definition at line 146 of file TGX11.cxx.

◆ gCws

XWindow_t* gCws
static

Definition at line 130 of file TGX11.cxx.

◆ [struct]

struct { ... } gFont[kMAXFONT]

◆ gGCecho

GC gGCecho
static

Definition at line 74 of file TGX11.cxx.

◆ gJoinStyle

int gJoinStyle = JoinMiter
static

Definition at line 156 of file TGX11.cxx.

◆ gKeybdMask

ULong_t gKeybdMask
static

◆ gMarkerCapStyle

int gMarkerCapStyle = CapRound
static

Definition at line 149 of file TGX11.cxx.

◆ gMarkerJoinStyle

int gMarkerJoinStyle = JoinRound
static

Definition at line 150 of file TGX11.cxx.

◆ gMarkerLineStyle

int gMarkerLineStyle = LineSolid
static

Definition at line 148 of file TGX11.cxx.

◆ gMouseMask

ULong_t gMouseMask
static

◆ gNullCursor

Cursor gNullCursor = 0
static

Definition at line 175 of file TGX11.cxx.

◆ gTextFont

XFontStruct* gTextFont
static

Definition at line 145 of file TGX11.cxx.

◆ gTws

XWindow_t* gTws
static

Definition at line 131 of file TGX11.cxx.

◆ id

Definition at line 141 of file TGX11.cxx.

◆ kAlignNone

const int kAlignNone = 0

Definition at line 76 of file TGX11.cxx.

◆ kBCenter

const int kBCenter = 8

Definition at line 84 of file TGX11.cxx.

◆ kBIGGEST_RGB_VALUE

const Int_t kBIGGEST_RGB_VALUE = 65535

Definition at line 133 of file TGX11.cxx.

◆ kBLeft

const int kBLeft = 7

Definition at line 83 of file TGX11.cxx.

◆ kBRight

const int kBRight = 9

Definition at line 85 of file TGX11.cxx.

◆ kGCdash

const int kGCdash = 5

Definition at line 72 of file TGX11.cxx.

◆ kGCfill

const int kGCfill = 2

Definition at line 71 of file TGX11.cxx.

◆ kGCinvt

const int kGCinvt = 4

Definition at line 72 of file TGX11.cxx.

◆ kGCline

const int kGCline = 0

Definition at line 71 of file TGX11.cxx.

◆ kGCmark

const int kGCmark = 1

Definition at line 71 of file TGX11.cxx.

◆ kGCpxmp

const int kGCpxmp = 6

Definition at line 72 of file TGX11.cxx.

◆ kGCtext

const int kGCtext = 3

Definition at line 72 of file TGX11.cxx.

◆ kMAXFONT

const Int_t kMAXFONT = 4

Definition at line 139 of file TGX11.cxx.

◆ kMAXGC

const int kMAXGC = 7

Definition at line 70 of file TGX11.cxx.

◆ kMCenter

const int kMCenter = 5

Definition at line 81 of file TGX11.cxx.

◆ kMLeft

const int kMLeft = 4

Definition at line 80 of file TGX11.cxx.

◆ kMRight

const int kMRight = 6

Definition at line 82 of file TGX11.cxx.

◆ kTCenter

const int kTCenter = 2

Definition at line 78 of file TGX11.cxx.

◆ kTLeft

const int kTLeft = 1

Definition at line 77 of file TGX11.cxx.

◆ kTRight

const int kTRight = 3

Definition at line 79 of file TGX11.cxx.

◆ name

char name[80]

Definition at line 142 of file TGX11.cxx.

◆ null_cursor_bits

const char null_cursor_bits[]
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

Definition at line 171 of file TGX11.cxx.