ROOT  6.06/09
Reference Guide
Enumerations | Functions | Variables
TGFontDialog.cxx File Reference
#include "TGFontDialog.h"
#include "TString.h"
#include "TError.h"
#include "TGColorSelect.h"
#include "TGButton.h"
#include "TGLabel.h"
#include "TGListBox.h"
#include "TGComboBox.h"
#include <stdlib.h>
+ Include dependency graph for TGFontDialog.cxx:

Go to the source code of this file.

Enumerations

enum  EFontDialog {
  kFDLG_OK = 1, kFDLG_CANCEL, kFDLG_FONTNAMES = 21, kFDLG_FONTSIZES,
  kFDLG_FONTSTYLES, kFDLG_FONTALIGNS, kFDLG_COLORSEL = 31
}
 

Functions

 ClassImp (TGFontDialog) TGFontDialog
 Create font dialog. More...
 

Variables

static const char * gFDLG_DEFAULTSAMPLE = "AaBbCcYyZz 1234567890"
 
static const char * gFontSizes []
 
static const char * gFontStyles []
 
static TString gFontStylesReal [4]
 
static const char * gAlignTypes []
 
static const Int_t gAlignValues []
 

Enumeration Type Documentation

Enumerator
kFDLG_OK 
kFDLG_CANCEL 
kFDLG_FONTNAMES 
kFDLG_FONTSIZES 
kFDLG_FONTSTYLES 
kFDLG_FONTALIGNS 
kFDLG_COLORSEL 

Definition at line 35 of file TGFontDialog.cxx.

Function Documentation

ClassImp ( TGFontDialog  )

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 == "".

Definition at line 117 of file TGFontDialog.cxx.

Variable Documentation

const char* gAlignTypes[]
static
Initial value:
= {
"top left", "top center", "top right",
"middle left", "middle center", "middle right",
"bottom left", "bottom center", "bottom right",
0
}

Definition at line 63 of file TGFontDialog.cxx.

Referenced by ClassImp().

const Int_t gAlignValues[]
static
const char* gFDLG_DEFAULTSAMPLE = "AaBbCcYyZz 1234567890"
static

Definition at line 47 of file TGFontDialog.cxx.

Referenced by ClassImp().

const char* gFontSizes[]
static
Initial value:
= {
"8", "9", "10", "11", "12", "13", "14", "16",
"18", "20", "22", "24", "26", "28", "30", "32",
"34", "36", "48", "72", 0
}

Definition at line 50 of file TGFontDialog.cxx.

Referenced by ClassImp(), and TGFontDialog::UpdateStyleSize().

const char* gFontStyles[]
static
Initial value:
= {
"Normal", "Bold", "Italic", "Bold Italic", 0
}

Definition at line 56 of file TGFontDialog.cxx.

Referenced by TGFontDialog::UpdateStyleSize().

TString gFontStylesReal[4]
static

Definition at line 60 of file TGFontDialog.cxx.