Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

XAP_Preview_FontPreview Class Reference

#include <xap_Dlg_FontChooser.h>

Inheritance diagram for XAP_Preview_FontPreview:
XAP_Preview XAP_CustomWidget

List of all members.

Public Member Functions

 XAP_Preview_FontPreview (GR_Graphics *gc, const gchar *pszClrBackgound)
virtual ~XAP_Preview_FontPreview (void)
void setVecProperties (const XAP_Dialog_FontChooser::PropMap *vFontProps)
std::string getVal (const std::string &) const
void draw (const UT_Rect *clip=NULL)
void setDrawString (const UT_UCSChar *pszChars)
void clearScreen (void)

Protected Attributes

const
XAP_Dialog_FontChooser::PropMap
m_mapProps
UT_RGBColor m_clrBackground
const UT_UCSCharm_pszChars

Private Member Functions

 XAP_Preview_FontPreview ()
 XAP_Preview_FontPreview (const XAP_Preview_FontPreview &other)
XAP_Preview_FontPreviewoperator= (const XAP_Preview_FontPreview &other)

Private Attributes

GR_Fontm_pFont
UT_sint32 m_iAscent
UT_sint32 m_iDescent
UT_sint32 m_iHeight

Constructor & Destructor Documentation

XAP_Preview_FontPreview::XAP_Preview_FontPreview ( GR_Graphics gc,
const gchar *  pszClrBackgound 
) [explicit]
XAP_Preview_FontPreview::~XAP_Preview_FontPreview ( void   )  [virtual]
XAP_Preview_FontPreview::XAP_Preview_FontPreview (  )  [private]
XAP_Preview_FontPreview::XAP_Preview_FontPreview ( const XAP_Preview_FontPreview other  )  [private]

Member Function Documentation

std::string XAP_Preview_FontPreview::getVal ( const std::string &  sProp  )  const

This method returns a pointer to the const char * value associated with the the property szProp. Stolen from ap_Dialog_Lists.

References m_mapProps.

Referenced by draw().

XAP_Preview_FontPreview& XAP_Preview_FontPreview::operator= ( const XAP_Preview_FontPreview other  )  [private]

Member Data Documentation

Referenced by draw().

Referenced by draw().


The documentation for this class was generated from the following files: