#include <ap_Win32Toolbar_FontCombo.h>
Public Member Functions | |
AP_Win32Toolbar_FontCombo (EV_Toolbar *pToolbar, XAP_Toolbar_Id id) | |
virtual | ~AP_Win32Toolbar_FontCombo (void) |
virtual bool | populate (void) |
virtual UT_uint32 | getDroppedWidth () const |
UT_Vector * | getFontsCharset () |
Static Public Member Functions | |
static EV_Toolbar_Control * | static_constructor (EV_Toolbar *, XAP_Toolbar_Id id) |
Static Protected Member Functions | |
static int CALLBACK | _EnumFontsProc (LPLOGFONTW lplf, LPTEXTMETRICW lptm, DWORD dwStyle, LONG lParam) |
Protected Attributes | |
UT_Vector | m_vecFontCharSet |
AP_Win32Toolbar_FontCombo::AP_Win32Toolbar_FontCombo | ( | EV_Toolbar * | pToolbar, | |
XAP_Toolbar_Id | id | |||
) |
References EV_Toolbar_Control::m_bSort, EV_Toolbar_Control::m_nLimit, EV_Toolbar_Control::m_nPixels, and UT_return_if_fail.
Referenced by static_constructor().
AP_Win32Toolbar_FontCombo::~AP_Win32Toolbar_FontCombo | ( | void | ) | [virtual] |
References EV_Toolbar_Control::m_vecContents, and UT_VECTOR_FREEALL.
int CALLBACK AP_Win32Toolbar_FontCombo::_EnumFontsProc | ( | LPLOGFONTW | lplf, | |
LPTEXTMETRICW | lptm, | |||
DWORD | dwStyle, | |||
LONG | lParam | |||
) | [static, protected] |
UT_uint32 AP_Win32Toolbar_FontCombo::getDroppedWidth | ( | void | ) | const [virtual] |
Reimplemented from EV_Toolbar_Control.
References EV_Toolbar_Control::getPixelWidth().
UT_Vector* AP_Win32Toolbar_FontCombo::getFontsCharset | ( | ) | [inline] |
bool AP_Win32Toolbar_FontCombo::populate | ( | void | ) | [virtual] |
Implements EV_Toolbar_Control.
References _EnumFontsProc(), UT_GenericVector< T >::clear(), EV_Toolbar_Control::m_vecContents, m_vecFontCharSet, and seenFonts.
Referenced by EV_Win32Toolbar::_ComboWndProc().
EV_Toolbar_Control * AP_Win32Toolbar_FontCombo::static_constructor | ( | EV_Toolbar * | pToolbar, | |
XAP_Toolbar_Id | id | |||
) | [static] |
References AP_Win32Toolbar_FontCombo().
UT_Vector AP_Win32Toolbar_FontCombo::m_vecFontCharSet [protected] |
Referenced by _EnumFontsProc(), and populate().