33#include "RConfigure.h"
51 0x55, 0xaa, 0x55, 0xaa,
52 0x55, 0xaa, 0x55, 0xaa
67 TString default_font =
gEnv->
GetValue(
"Gui.DefaultFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
68 TString menu_font =
gEnv->
GetValue(
"Gui.MenuFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
69 TString menu_hi_font =
gEnv->
GetValue(
"Gui.MenuHiFont",
"-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
70 TString doc_fixed_font =
gEnv->
GetValue(
"Gui.DocFixedFont",
"-*-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
71 TString doc_prop_font =
gEnv->
GetValue(
"Gui.DocPropFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
72 TString icon_font =
gEnv->
GetValue(
"Gui.IconFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
73 TString status_font =
gEnv->
GetValue(
"Gui.StatusFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
97 TString mime_file =
".root.mimes";
106 mime_file =
"root.mimes";
152 if (!framebgpixmap.
IsNull())
154 if (!docbgpixmap.
IsNull())
const Mask_t kGCBackground
const Mask_t kGCForeground
const Mask_t kGCSubwindowMode
const Mask_t kGCLineWidth
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 * HomeDirectory(const char *userName=0)
Return the user's home directory.
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.
Bool_t fGraphicsExposures