DParameterFontChoice.h
Classes
- DParameterFontChoice -- Implementation of DParameterChoice to store font selection parameters. (full description)
Interface
- Public Members
- DParameterFontChoice(const String name, const String description, const String help, const String context = "")
- DParameterFontChoice(const DParameterFontChoice &other)
- virtual ~DParameterFontChoice()
- DParameterFontChoice &operator=(const DParameterFontChoice &other)
- Protected Members
- DParameterFontChoice()
Prerequisite
Etymology
DParameterFontChoice is an implementation of a DisplayParameter
providing a choice parameter type tuned to selecting fonts.
Motivation
It is common to have the user select a font for a particular
element of the display, hence this class.
Synopsis
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.
Thrown Exceptions
To Do
Member Description
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.
Copy constructor using copy semantics.
Destructor.
DParameterFontChoice &operator=(const DParameterFontChoice &other)
Copy assignment.
(Required) default constructor.