Public Types | Public Member Functions | Protected Attributes

XAP_Preview_Zoom Class Reference

#include <xap_Preview_Zoom.h>

Inheritance diagram for XAP_Preview_Zoom:
XAP_Preview XAP_CustomWidget

List of all members.

Public Types

enum  tPos { pos_TOP, pos_CENTER, pos_BOTTOM }
enum  tFont { font_NORMAL }

Public Member Functions

 XAP_Preview_Zoom (GR_Graphics *gc)
virtual ~XAP_Preview_Zoom (void)
void setDrawAtPosition (XAP_Preview_Zoom::tPos pos)
void setFont (XAP_Preview_Zoom::tFont f)
void setZoomPercent (UT_uint32 percent)
bool setString (const char *string)
bool setString (UT_UCSChar *string)
void draw (const UT_Rect *clip=NULL)

Protected Attributes

XAP_Preview_Zoom::tPos m_pos
XAP_Preview_Zoom::tFont m_previewFont
UT_uint32 m_zoomPercent
UT_UCSCharm_string
GR_Fontm_pFont

Member Enumeration Documentation

Enumerator:
font_NORMAL 
Enumerator:
pos_TOP 
pos_CENTER 
pos_BOTTOM 

Constructor & Destructor Documentation

XAP_Preview_Zoom::XAP_Preview_Zoom ( GR_Graphics gc  ) 
XAP_Preview_Zoom::~XAP_Preview_Zoom ( void   )  [virtual]

References FREEP, and m_string.


Member Function Documentation

void XAP_Preview_Zoom::setDrawAtPosition ( XAP_Preview_Zoom::tPos  pos  ) 

References XAP_Preview::m_gc, m_pos, and UT_ASSERT.

Referenced by XAP_Preview_Zoom().

bool XAP_Preview_Zoom::setString ( const char *  string  ) 
bool XAP_Preview_Zoom::setString ( UT_UCSChar string  ) 
void XAP_Preview_Zoom::setZoomPercent ( UT_uint32  percent  ) 

Member Data Documentation


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