32#include "RConfigure.h"
49 0x55, 0xaa, 0x55, 0xaa,
50 0x55, 0xaa, 0x55, 0xaa
65 TString default_font =
gEnv->GetValue(
"Gui.DefaultFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
66 TString menu_font =
gEnv->GetValue(
"Gui.MenuFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
67 TString menu_hi_font =
gEnv->GetValue(
"Gui.MenuHiFont",
"-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
68 TString doc_fixed_font =
gEnv->GetValue(
"Gui.DocFixedFont",
"-*-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
69 TString doc_prop_font =
gEnv->GetValue(
"Gui.DocPropFont",
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1");
70 TString icon_font =
gEnv->GetValue(
"Gui.IconFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
71 TString status_font =
gEnv->GetValue(
"Gui.StatusFont",
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1");
74 TString highlightcolor =
gEnv->GetValue(
"Gui.HighLightColor",
"#d0d0d0");
75 TString selbackcolor =
gEnv->GetValue(
"Gui.SelectBackgroundColor",
"#86abd9");
76 TString selforecolor =
gEnv->GetValue(
"Gui.SelectForegroundColor",
"white");
77 TString docbackcolor =
gEnv->GetValue(
"Gui.DocumentBackgroundColor",
"white");
78 TString docforecolor =
gEnv->GetValue(
"Gui.DocumentForegroundColor",
"black");
79 TString tipbackcolor =
gEnv->GetValue(
"Gui.TooltipBackgroundColor",
"LightYellow");
80 TString tipforecolor =
gEnv->GetValue(
"Gui.TooltipForegroundColor",
"black");
81 TString framebgpixmap =
gEnv->GetValue(
"Gui.FrameBackgroundPixmap",
"");
82 TString docbgpixmap =
gEnv->GetValue(
"Gui.DocumentBackgroundPixmap",
"");
84 TString icon_path =
gEnv->GetValue(
"Gui.IconPath",
"");
95 TString mime_file =
".root.mimes";
97 mime_file =
gEnv->GetValue(
"Gui.MimeTypeFile", mime_file.
Data());
98 gSystem->ExpandPathName(mime_file);
101 mime_file =
"root.mimes";
147 if (!framebgpixmap.
IsNull())
149 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[]
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char forecolor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char backcolor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t gval
R__EXTERN TSystem * gSystem
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.
This class implements a pool for the default GUI resource set, like GC's, colors, fonts,...
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 & 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
Graphics context structure.