32#include "RConfigure.h"
49 0x55, 0xaa, 0x55, 0xaa,
50 0x55, 0xaa, 0x55, 0xaa
64 TString default_font =
gEnv->GetValue(
"Gui.DefaultFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
65 TString menu_font =
gEnv->GetValue(
"Gui.MenuFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
66 TString menu_hi_font =
gEnv->GetValue(
"Gui.MenuHiFont",
"-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
67 TString doc_fixed_font =
gEnv->GetValue(
"Gui.DocFixedFont",
"-*-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
68 TString doc_prop_font =
gEnv->GetValue(
"Gui.DocPropFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
69 TString icon_font =
gEnv->GetValue(
"Gui.IconFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
70 TString status_font =
gEnv->GetValue(
"Gui.StatusFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
71 TString backcolor =
gEnv->GetValue(
"Gui.BackgroundColor",
"#e0e0e0");
72 TString forecolor =
gEnv->GetValue(
"Gui.ForegroundColor",
"black");
73 TString highlightcolor =
gEnv->GetValue(
"Gui.HighLightColor",
"#d0d0d0");
74 TString selbackcolor =
gEnv->GetValue(
"Gui.SelectBackgroundColor",
"#86abd9");
75 TString selforecolor =
gEnv->GetValue(
"Gui.SelectForegroundColor",
"white");
76 TString docbackcolor =
gEnv->GetValue(
"Gui.DocumentBackgroundColor",
"white");
77 TString docforecolor =
gEnv->GetValue(
"Gui.DocumentForegroundColor",
"black");
78 TString tipbackcolor =
gEnv->GetValue(
"Gui.TooltipBackgroundColor",
"LightYellow");
79 TString tipforecolor =
gEnv->GetValue(
"Gui.TooltipForegroundColor",
"black");
80 TString framebgpixmap =
gEnv->GetValue(
"Gui.FrameBackgroundPixmap",
"");
81 TString docbgpixmap =
gEnv->GetValue(
"Gui.DocumentBackgroundPixmap",
"");
83 TString icon_path =
gEnv->GetValue(
"Gui.IconPath",
"");
88 icon_path =
".:" + icon_path +
":" + TROOT::GetIconPath() +
":" + EXTRAICONPATH;
90 icon_path =
".;" + icon_path +
";" + TROOT::GetIconPath() +
";" + EXTRAICONPATH;
94 TString mime_file =
".root.mimes";
96 mime_file =
gEnv->GetValue(
"Gui.MimeTypeFile", mime_file.
Data());
97 gSystem->ExpandPathName(mime_file);
100 mime_file =
"root.mimes";
146 if (!framebgpixmap.
IsNull())
148 if (!docbgpixmap.
IsNull())
const Mask_t kGCBackground
const Mask_t kGCForeground
const Mask_t kGCSubwindowMode
const Mask_t kGCLineWidth
Handle_t FontH_t
Font handle (as opposed to Font_t which is an index).
const Mask_t kGCFillStyle
const Mask_t kGCGraphicsExposures
static unsigned char gray_bits[]
Provides a pool of fonts.
This class handles mime types, used by browsers to map file types to applications and icons.
TGClient * fClient
Connection to display server.
TGFont * fDocFixedFont
document fixed font
TGFont * fDefaultFont
default font
Pixel_t fDocForeColor
default document foreground color
Pixel_t fForeColor
default foreground color
Pixel_t fTipBackColor
default tip background color
Pixel_t fTipForeColor
default tip foreground color
Cursor_t fWaitCursor
wait cursor
Pixel_t fWhite
white color index
TGFont * fStatusFont
status bar font
TGGC * fHiliteGC
frame hilite gc
TGGC * fShadowGC
frame shadow gc
Pixel_t fHighLightColor
highlight color
const TGPicture * fDefaultBackPicture
default background picture
TGPicturePool * fPicturePool
picture pool manager
Pixel_t fBackColor
default background color
Cursor_t fTextCursor
text cursor
TGGC * fSelbgndGC
selection background gc
TGFont * fDocPropFont
document proportional font
TGGC * fFocusGC
frame focus gc
TGFont * fIconFont
icon font
TGFontPool * fFontPool
font pool manager
TGMimeTypes * fMimeTypeList
list of mime types
Cursor_t fGrabCursor
grab cursor
TGGC * fDocbgndGC
document background gc
Pixel_t fDocBackColor
default document background color
TGFont * fMenuFont
menu font
Pixmap_t fCheckered
checkered pixmap
TGFont * fMenuHiFont
menu highlight font
TGResourcePool(TGClient *client)
Create the global GUI resource pool manager.
~TGResourcePool() override
Cleanup the resource pool...
TGGCPool * fGCPool
graphics drawing context pool manager
Pixel_t fBlack
black color index
Atom_t fClipboardAtom
handle to clipboard
Pixel_t fSelForeColor
default selection foreground color
Pixel_t fShadow
default shadow color
Pixmap_t fCheckeredBitmap
checkered bitmap
Cursor_t fDefaultCursor
default cursor
Colormap_t fDefaultColormap
default colormap
const TGPicture * fDefaultDocBackPicture
default document background picture
TGGC * fSelGC
selection gc
Pixel_t fHilite
default highlight color
Pixel_t fSelBackColor
default selection background color
TGGC * fBckgndGC
frame background gc
static const TString & GetEtcDir()
Get the sysconfig directory in the installation. Static utility function.
const char * Data() const
Graphics context structure.
ULong_t fBackground
background pixel
Int_t fLineWidth
line width
Pixmap_t fStipple
stipple 1 plane pixmap for stippling
Mask_t fMask
bit mask specifying which fields are valid
Bool_t fGraphicsExposures
boolean, should exposures be generated
ULong_t fForeground
foreground pixel
Int_t fFillStyle
kFillSolid, kFillTiled, kFillStippled, kFillOpaeueStippled
FontH_t fFont
default text font for text operations
Int_t fSubwindowMode
kClipByChildren, kIncludeInferiors