casa
$Rev:20696$
|
Implementation of DParameterChoice to store font selection parameters. More...
#include <DParameterFontChoice.h>
Public Member Functions | |
DParameterFontChoice (const String name, const String description, const String help, const String context="") | |
Constructor takes the name of the parameter, a short description and some help text. | |
DParameterFontChoice (const DParameterFontChoice &other) | |
Copy constructor using copy semantics. | |
virtual | ~DParameterFontChoice () |
Destructor. | |
DParameterFontChoice & | operator= (const DParameterFontChoice &other) |
Copy assignment. | |
Protected Member Functions | |
DParameterFontChoice () | |
(Required) default constructor. |
Implementation of DParameterChoice to store font selection parameters.
Public interface
DParameterFontChoice is an implementation of a DisplayParameter providing a choice parameter type tuned to selecting fonts.
It is common to have the user select a font for a particular element of the display, hence this class.
This class is basically a placeholder for several different representations of fonts. Currently avaiable fonts are hard-coded into this class. The class holds three representations - Their 'name', X-windows font description and post script font name. This class can be used in conjustion with DLFont to set the font on a number of different pixel canvases.
Definition at line 75 of file DParameterFontChoice.h.
casa::DParameterFontChoice::DParameterFontChoice | ( | const String | name, |
const String | description, | ||
const String | help, | ||
const String | context = "" |
||
) |
Constructor takes the name of the parameter, a short description and some help text.
The context of the parameter, and whether it is editable, can also be given.
casa::DParameterFontChoice::DParameterFontChoice | ( | const DParameterFontChoice & | other | ) |
Copy constructor using copy semantics.
virtual casa::DParameterFontChoice::~DParameterFontChoice | ( | ) | [virtual] |
Destructor.
casa::DParameterFontChoice::DParameterFontChoice | ( | ) | [protected] |
(Required) default constructor.
DParameterFontChoice& casa::DParameterFontChoice::operator= | ( | const DParameterFontChoice & | other | ) |
Copy assignment.