Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

XAP_Dialog_Zoom Class Reference

#include <xap_Dlg_Zoom.h>

Inheritance diagram for XAP_Dialog_Zoom:
XAP_Dialog_NonPersistent XAP_Dialog XAP_CocoaDialog_Zoom XAP_UnixDialog_Zoom XAP_Win32Dialog_Zoom

List of all members.

Public Types

enum  tAnswer { a_OK, a_CANCEL }

Public Member Functions

 XAP_Dialog_Zoom (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~XAP_Dialog_Zoom (void)
virtual void runModal (XAP_Frame *pFrame)=0
XAP_Dialog_Zoom::tAnswer getAnswer (void) const
void setZoomPercent (UT_uint32 zoom)
void setZoomType (XAP_Frame::tZoomType zoomType)
XAP_Frame::tZoomType getZoomType (void)
UT_uint32 getZoomPercent (void)

Protected Member Functions

void _updatePreviewZoomPercent (UT_uint32 percent)
void _createPreviewFromGC (GR_Graphics *gc, UT_uint32 width, UT_uint32 height)

Protected Attributes

XAP_Frame::tZoomType m_zoomType
UT_uint32 m_zoomPercent
XAP_Dialog_Zoom::tAnswer m_answer

Member Enumeration Documentation


Constructor & Destructor Documentation

XAP_Dialog_Zoom::XAP_Dialog_Zoom ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
XAP_Dialog_Zoom::~XAP_Dialog_Zoom ( void   )  [virtual]

References DELETEP, and m_zoomPreview.

Member Function Documentation

XAP_Dialog_Zoom::tAnswer XAP_Dialog_Zoom::getAnswer ( void   )  const

References m_answer.

virtual void XAP_Dialog_Zoom::runModal ( XAP_Frame pFrame  )  [pure virtual]
void XAP_Dialog_Zoom::setZoomPercent ( UT_uint32  zoom  ) 

Member Data Documentation

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