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

XAP_Win32Dialog_FontChooser Class Reference

#include <xap_Win32Dlg_FontChooser.h>

Inheritance diagram for XAP_Win32Dialog_FontChooser:
XAP_Dialog_FontChooser XAP_Win32DialogBase XAP_Dialog_NonPersistent XAP_Dialog

List of all members.

Public Member Functions

 XAP_Win32Dialog_FontChooser (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~XAP_Win32Dialog_FontChooser (void)
virtual void runModal (XAP_Frame *pFrame)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)
static UINT CALLBACK s_hookProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)

Protected Member Functions

BOOL _onInitDialog (HWND hWnd, WPARAM wParam, LPARAM lParam)
BOOL _onCommand (HWND hWnd, WPARAM wParam, LPARAM lParam)
BOOL _callHelp ()

Protected Attributes

XAP_Framem_pWin32Frame
XAP_Win32PreviewWidgetm_pPreviewWidget
bool m_bWin32Overline
bool m_bWin32Hidden
bool m_bWin32SuperScript
bool m_bWin32SubScript
int m_iColorIndx
int m_iColorCount

Constructor & Destructor Documentation

XAP_Win32Dialog_FontChooser::XAP_Win32Dialog_FontChooser ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
)

Referenced by static_constructor().

XAP_Win32Dialog_FontChooser::~XAP_Win32Dialog_FontChooser ( void   )  [virtual]

References DELETEP, and m_pPreviewWidget.


Member Function Documentation

BOOL XAP_Win32Dialog_FontChooser::_callHelp (  )  [protected, virtual]
BOOL XAP_Win32Dialog_FontChooser::_onCommand ( HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]
void XAP_Win32Dialog_FontChooser::runModal ( XAP_Frame pFrame  )  [virtual]

References XAP_Dialog_FontChooser::a_OK, UT_Win32LocaleString::c_str(), UT_Win32LocaleString::fromLocale(), UT_Win32LocaleString::fromUTF8(), gchar, XAP_Dialog::getApp(), XAP_App::getEncodingManager(), XAP_Frame::getFrameImpl(), XAP_Win32App::getInstance(), XAP_Dialog_FontChooser::m_answer, XAP_Dialog_FontChooser::m_bChangedColor, XAP_Dialog_FontChooser::m_bChangedFontFamily, XAP_Dialog_FontChooser::m_bChangedFontSize, XAP_Dialog_FontChooser::m_bChangedFontStyle, XAP_Dialog_FontChooser::m_bChangedFontWeight, XAP_Dialog_FontChooser::m_bChangedHidden, XAP_Dialog_FontChooser::m_bChangedOverline, XAP_Dialog_FontChooser::m_bChangedStrikeOut, XAP_Dialog_FontChooser::m_bChangedSubScript, XAP_Dialog_FontChooser::m_bChangedSuperScript, XAP_Dialog_FontChooser::m_bChangedUnderline, XAP_Dialog_FontChooser::m_bHidden, UT_RGBColor::m_blu, XAP_Dialog_FontChooser::m_bOverline, XAP_Dialog_FontChooser::m_bStrikeout, XAP_Dialog_FontChooser::m_bSubScript, XAP_Dialog_FontChooser::m_bSuperScript, XAP_Dialog_FontChooser::m_bUnderline, m_bWin32Hidden, m_bWin32Overline, m_bWin32SubScript, m_bWin32SuperScript, UT_RGBColor::m_grn, m_pWin32Frame, UT_RGBColor::m_red, XAP_Dialog_FontChooser::m_sColor, XAP_Dialog_FontChooser::m_sFontFamily, XAP_Dialog_FontChooser::m_sFontSize, XAP_Dialog_FontChooser::m_sFontStyle, XAP_Dialog_FontChooser::m_sFontWeight, s_hookProc(), XAP_Dialog_FontChooser::setFontDecoration(), XAP_Dialog_FontChooser::setHidden(), XAP_Dialog_FontChooser::setSubScript(), XAP_Dialog_FontChooser::setSuperScript(), UT_ASSERT, UT_convertToPoints(), UT_DEBUGMSG, UT_parseColor(), UT_return_if_fail, UT_UTF8String::utf8_str(), and UT_Win32LocaleString::utf8_str().

UINT CALLBACK XAP_Win32Dialog_FontChooser::s_hookProc ( HWND  hwnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
) [static]

Referenced by runModal().

XAP_Dialog * XAP_Win32Dialog_FontChooser::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

Member Data Documentation


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