12 #ifndef ROOT_TGFontDialog 13 #define ROOT_TGFontDialog 91 {
Emit(
"FontSelected(char*)", font); }
93 {
Emit(
"AlignSelected(Int_t)", a); }
95 {
Emit(
"ColorSelected(Pixel_t)", c); }
virtual void SetFont(TGFont *font)
Set font.
virtual ~TGFontDialog()
Delete all widgets.
virtual void CloseWindow()
Called when window is closed via window manager.
virtual void UpdateStyleSize(const char *family)
Build font style and size list boxes.
virtual void EnableAlign(Bool_t on=kTRUE)
Enable/disable align combobox.
TGFontDialog(const TGWindow *parent=0, const TGWindow *t=0, FontProp_t *fontProp=0, const TString &sample="", char **fontList=0, Bool_t wait=kTRUE)
Create font dialog.
virtual void ColorSelected(Pixel_t c)
#define ClassDef(name, id)
Bool_t Build(char **fontList, Int_t cnt)
Build font dialog.
virtual void FontSelected(char *font)
virtual void SetColor(Pixel_t color)
Set color.
virtual void AlignSelected(Int_t a)
void GetFontName()
Sets fLName and other data members.
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle dialog events.
TGColorSelect * fColorSelect
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
virtual void SetAlign(Int_t align)
Set align.