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); }
#define ClassDef(name, id)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle dialog events.
virtual void AlignSelected(Int_t a)
Bool_t Build(char **fontList, Int_t cnt)
Build font dialog.
virtual void SetAlign(Int_t align)
Set align.
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 FontSelected(char *font)
virtual void UpdateStyleSize(const char *family)
Build font style and size list boxes.
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 EnableAlign(Bool_t on=kTRUE)
Enable/disable align combobox.
void GetFontName()
Sets fLName and other data members.
TGColorSelect * fColorSelect
virtual void SetColor(Pixel_t color)
Set color.
virtual void ColorSelected(Pixel_t c)
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.