foobar2000 SDK
2015-08-03
|
#include <shared.h>
Public Types | |
enum | { m_facename_length = LF_FACESIZE*2, m_height_dpi = 480 } |
Public Member Functions | |
HFONT SHARED_EXPORT | create () const |
void SHARED_EXPORT | from_font (HFONT p_font) |
template<typename t_stream , typename t_abort > | |
void | from_stream (t_stream p_stream, t_abort &p_abort) |
bool | operator!= (const t_font_description &other) const |
bool | operator== (const t_font_description &other) const |
bool SHARED_EXPORT | popup_dialog (HWND p_parent) |
template<typename t_stream , typename t_abort > | |
void | to_stream (t_stream p_stream, t_abort &p_abort) const |
Static Public Member Functions | |
static bool | g_equals (const t_font_description &v1, const t_font_description &v2) |
static t_font_description SHARED_EXPORT | g_from_font (HFONT p_font) |
static t_font_description SHARED_EXPORT | g_from_logfont (LOGFONT const &lf) |
static t_font_description SHARED_EXPORT | g_from_system (int id=TMT_MENUFONT) |
Data Fields | |
t_uint8 | m_charset |
char | m_facename [m_facename_length] |
t_uint32 | m_height |
t_uint8 | m_italic |
t_uint32 | m_weight |
anonymous enum |
Enumerator | |
---|---|
m_facename_length | |
m_height_dpi |
Definition at line 433 of file shared.h.
HFONT SHARED_EXPORT t_font_description::create | ( | ) | const |
void SHARED_EXPORT t_font_description::from_font | ( | HFONT | p_font | ) |
void t_font_description::from_stream | ( | t_stream | p_stream, |
t_abort & | p_abort | ||
) |
Definition at line 471 of file shared.h.
|
inlinestatic |
Definition at line 448 of file shared.h.
|
static |
|
static |
|
static |
|
inline |
Definition at line 446 of file shared.h.
|
inline |
Definition at line 445 of file shared.h.
bool SHARED_EXPORT t_font_description::popup_dialog | ( | HWND | p_parent | ) |
void t_font_description::to_stream | ( | t_stream | p_stream, |
t_abort & | p_abort | ||
) | const |
char t_font_description::m_facename[m_facename_length] |