library: libGui #include "TGFontDialog.h" |
TGFontDialog
class description - header file - source file - inheritance tree (.pdf)
protected:
Bool_t Build(char** fontList, Int_t cnt)
virtual void CloseWindow()
void GetFontName()
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
public:
TGFontDialog(const TGWindow* parent = 0, const TGWindow* t = 0, TGFontDialog::FontProp_t* fontProp = 0, const TString& sample = , char** fontList = "0", Bool_t wait = kTRUE)
TGFontDialog(const TGFontDialog&)
virtual ~TGFontDialog()
virtual void AlignSelected(Int_t a)
static TClass* Class()
virtual void ColorSelected(Pixel_t c)
virtual void EnableAlign(Bool_t on = kTRUE)
virtual void FontSelected(char* font)
virtual TClass* IsA() const
virtual void SetAlign(Int_t align)
virtual void SetColor(Pixel_t color)
virtual void SetFont(TGFont* font)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void UpdateStyleSize(const char* family)
protected:
TGListBox* fFontNames list of font names
TGListBox* fFontSizes list of font sizes
TGListBox* fFontStyles list of font styles
TGComboBox* fTextAligns font alignment selection
TGLabel* fSample sample of selected font
TGColorSelect* fColorSelect color selection dialog
TString fName font name
TString fLName logical font name
TGFontDialog::FontProp_t* fFontProp font info structure
Bool_t fItalic italic flag
Bool_t fBold bold flag
Int_t fSize font size
Int_t fTextAlign text aligment
Pixel_t fTextColor text color
Pixel_t fInitColor initial value of text color
Int_t fInitAlign initialvalue of text align
TGFont* fInitFont initial font
TString fSampleText string used for sample
TGGC* fSampleTextGC GC used for sample text
TGFont* fLabelFont TGFont used for sample text
Bool_t fHitOK flag = kTRUE if user press the Ok button
Int_t fNumberOfFonts total numbder of fonts
Bool_t fWaitFor if kTRUE WaitForUnmap is called in constructor.
TGFontDialog(const TGWindow *p, const TGWindow *t, FontProp_t *fontProp, const TString &sample, char **fontList, Bool_t wait)
Create font dialog. When closed via OK button fontProp is set to
the newly selected font. If closed via Cancel button or WM close box
fontProp->fName == "".
void CloseWindow()
Called when window is closed via window manager.
Author: Bertrand Bellenot + Fons Rademakers + Valeriy Onuchin 23/04/03
Last update: root/gui:$Name: $:$Id: TGFontDialog.cxx,v 1.19 2006/07/11 09:05:01 rdm Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.