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())
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
const TGPicture * fDefaultBackPicture
static const TString & GetIconPath()
Get the icon path in the installation. Static utility function.
virtual ~TGResourcePool()
Cleanup the resource pool...
TGPicturePool * fPicturePool
virtual const char * HomeDirectory(const char *userName=0)
Return the user's home directory.
Pixel_t GetShadow(Pixel_t base_color) const
Return pixel value of shadow color based on base_color.
Bool_t GetColorByName(const char *name, Pixel_t &pixel) const
Get a color by name.
TGResourcePool(TGClient *client)
Create the global GUI resource pool manager.
static unsigned char gray_bits[]
const Mask_t kGCLineWidth
virtual const char * PrependPathName(const char *dir, TString &name)
Concatenate a directory and a file name.
const Mask_t kGCGraphicsExposures
TGMimeTypes * fMimeTypeList
Bool_t fGraphicsExposures
Pixmap_t fCheckeredBitmap
R__EXTERN TSystem * gSystem
const TGPicture * fDefaultDocBackPicture
const TGPicture * GetPicture(const char *name)
Get a picture from the picture pool.
TGFont * GetFont(const char *font, Bool_t fixedDefault=kTRUE)
Get the specified font.
Pixel_t GetHilite(Pixel_t base_color) const
Return pixel value of hilite color based on base_color.
const Mask_t kGCFillStyle
static const TString & GetEtcDir()
Get the sysconfig directory in the installation. Static utility function.
const Mask_t kGCForeground
const Mask_t kGCSubwindowMode
const Mask_t kGCBackground
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
Colormap_t fDefaultColormap
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
TGGC * GetGC(GCValues_t *values, Bool_t rw=kFALSE)
Get the best matching graphics context depending on values.
const char * Data() const
FontH_t GetFontHandle() const