Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes

XAP_Win32PreviewWidget Class Reference

#include <xap_Win32PreviewWidget.h>

List of all members.

Public Member Functions

 XAP_Win32PreviewWidget (XAP_Win32App *pWin32App, HWND hwndParent, UINT style)
virtual ~XAP_Win32PreviewWidget (void)
HWND getWindow (void) const
GR_Win32GraphicsgetGraphics (void) const
void getWindowSize (UT_uint32 *pWidth, UT_uint32 *pHeight) const
void setPreview (XAP_Preview *pPreview)
void setInsertSymbolParent (XAP_Win32Dialog_Insert_Symbol *pParent)
virtual LRESULT onPaint (HWND hwnd)
virtual LRESULT onLeftButtonDown (UT_sint32 x, UT_sint32 y)

Static Protected Member Functions

static LRESULT CALLBACK _wndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)

Protected Attributes

HWND m_hwndPreview

Static Protected Attributes

static ATOM m_atomPreviewWidgetClass = 0
static wchar_t m_bufClassName [100]
static UT_uint32 m_iInstanceCount = 0

Constructor & Destructor Documentation

XAP_Win32PreviewWidget::XAP_Win32PreviewWidget ( XAP_Win32App pWin32App,
HWND  hwndParent,
UINT  style 
XAP_Win32PreviewWidget::~XAP_Win32PreviewWidget ( void   )  [virtual]

Member Function Documentation

LRESULT CALLBACK XAP_Win32PreviewWidget::_wndProc ( HWND  hwnd,
UINT  iMsg,
WPARAM  wParam,
LPARAM  lParam 
) [static, protected]
GR_Win32Graphics* XAP_Win32PreviewWidget::getGraphics ( void   )  const [inline]
HWND XAP_Win32PreviewWidget::getWindow ( void   )  const [inline]
void XAP_Win32PreviewWidget::getWindowSize ( UT_uint32 pWidth,
UT_uint32 pHeight 
) const
LRESULT XAP_Win32PreviewWidget::onLeftButtonDown ( UT_sint32  x,
UT_sint32  y 
) [virtual]

References m_pPreview, and XAP_Preview::onLeftButtonDown().

Referenced by _wndProc().

LRESULT XAP_Win32PreviewWidget::onPaint ( HWND  hwnd  )  [virtual]
void XAP_Win32PreviewWidget::setInsertSymbolParent ( XAP_Win32Dialog_Insert_Symbol pParent  )  [inline]
void XAP_Win32PreviewWidget::setPreview ( XAP_Preview pPreview  )  [inline]

Member Data Documentation

wchar_t XAP_Win32PreviewWidget::m_bufClassName [static, protected]

Referenced by _wndProc(), and XAP_Win32PreviewWidget().

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