33#include "RConfigure.h"
50 0x55, 0xaa, 0x55, 0xaa,
51 0x55, 0xaa, 0x55, 0xaa
66 TString default_font =
gEnv->
GetValue(
"Gui.DefaultFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
67 TString menu_font =
gEnv->
GetValue(
"Gui.MenuFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
68 TString menu_hi_font =
gEnv->
GetValue(
"Gui.MenuHiFont",
"-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
69 TString doc_fixed_font =
gEnv->
GetValue(
"Gui.DocFixedFont",
"-*-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
70 TString doc_prop_font =
gEnv->
GetValue(
"Gui.DocPropFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
71 TString icon_font =
gEnv->
GetValue(
"Gui.IconFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
72 TString status_font =
gEnv->
GetValue(
"Gui.StatusFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
96 TString mime_file =
".root.mimes";
102 mime_file =
"root.mimes";
148 if (!framebgpixmap.
IsNull())
150 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[]
R__EXTERN TSystem * gSystem
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
Bool_t GetColorByName(const char *name, Pixel_t &pixel) const
Get a color by name.
Pixel_t GetHilite(Pixel_t base_color) const
Return pixel value of hilite color based on base_color.
Pixel_t GetShadow(Pixel_t base_color) const
Return pixel value of shadow color based on base_color.
TGFont * GetFont(const char *font, Bool_t fixedDefault=kTRUE)
Get the specified font.
FontH_t GetFontHandle() const
TGGC * GetGC(GCValues_t *values, Bool_t rw=kFALSE)
Get the best matching graphics context depending on values.
const TGPicture * GetPicture(const char *name)
Get a picture from the picture pool.
virtual ~TGResourcePool()
Cleanup the resource pool...
const TGPicture * fDefaultBackPicture
TGPicturePool * fPicturePool
TGMimeTypes * fMimeTypeList
TGResourcePool(TGClient *client)
Create the global GUI resource pool manager.
Pixmap_t fCheckeredBitmap
Colormap_t fDefaultColormap
const TGPicture * fDefaultDocBackPicture
static const TString & GetIconPath()
Get the icon path in the installation. Static utility function.
static const TString & GetEtcDir()
Get the sysconfig directory in the installation. Static utility function.
const char * Data() const
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual const char * PrependPathName(const char *dir, TString &name)
Concatenate a directory and a file name.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
virtual const char * HomeDirectory(const char *userName=nullptr)
Return the user's home directory.
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