foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions | Private Attributes
CAltFontCtrl< TCtrl >

#include <GDIUtils.h>

+ Inheritance diagram for CAltFontCtrl< TCtrl >:

Public Member Functions

void Initialize (CWindow wnd, double scale, int weight)
 
void MakeHeader (CWindow wnd)
 
void MakeHeader2 (CWindow wnd)
 

Private Member Functions

void _initWnd (CWindow wnd)
 

Private Attributes

CFont m_font
 

Detailed Description

template<typename TCtrl>
class CAltFontCtrl< TCtrl >

Definition at line 74 of file GDIUtils.h.

Member Function Documentation

template<typename TCtrl >
void CAltFontCtrl< TCtrl >::_initWnd ( CWindow  wnd)
inlineprivate

Definition at line 89 of file GDIUtils.h.

89  {
90  SubclassWindow(wnd); SetFont(m_font);
91  }
CFont m_font
Definition: GDIUtils.h:92
template<typename TCtrl >
void CAltFontCtrl< TCtrl >::Initialize ( CWindow  wnd,
double  scale,
int  weight 
)
inline

Definition at line 76 of file GDIUtils.h.

76  {
77  CreateScaledFontEx(m_font, wnd.GetFont(), scale, weight);
78  _initWnd(wnd);
79  }
CFont m_font
Definition: GDIUtils.h:92
void SHARED_EXPORT scale(const audio_sample *p_source, t_size p_count, audio_sample *p_output, audio_sample p_scale)
p_source/p_output can point to same buffer
static void CreateScaledFontEx(CFont &out, CFontHandle in, double scale, int weight)
Definition: GDIUtils.h:55
void _initWnd(CWindow wnd)
Definition: GDIUtils.h:89
template<typename TCtrl >
void CAltFontCtrl< TCtrl >::MakeHeader ( CWindow  wnd)
inline

Definition at line 80 of file GDIUtils.h.

80  {
82  _initWnd(wnd);
83  }
CFont m_font
Definition: GDIUtils.h:92
static void CreatePreferencesHeaderFont(CFont &out, CWindow source)
Definition: GDIUtils.h:65
void _initWnd(CWindow wnd)
Definition: GDIUtils.h:89
template<typename TCtrl >
void CAltFontCtrl< TCtrl >::MakeHeader2 ( CWindow  wnd)
inline

Definition at line 84 of file GDIUtils.h.

84  {
86  _initWnd(wnd);
87  }
CFont m_font
Definition: GDIUtils.h:92
static void CreatePreferencesHeaderFont2(CFont &out, CWindow source)
Definition: GDIUtils.h:69
void _initWnd(CWindow wnd)
Definition: GDIUtils.h:89

Field Documentation

template<typename TCtrl >
CFont CAltFontCtrl< TCtrl >::m_font
private

Definition at line 92 of file GDIUtils.h.


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