diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2010-03-08 03:05:01 +0300 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2010-03-08 03:05:01 +0300 |
commit | 2c1c0eb2923da7c43b8ebd6c4fb6bfb8857eaace (patch) | |
tree | 8e95dbd2702661cf8e28122eeafb879b04de5c06 /src/apps/mplayerc/VMROSD.h | |
parent | 35cac31290fafe6f4ea287ce3f9b68bd7ccf02c5 (diff) |
Add : select OSD font & size
Patch by X-Dron
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1739 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/VMROSD.h')
-rw-r--r-- | src/apps/mplayerc/VMROSD.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apps/mplayerc/VMROSD.h b/src/apps/mplayerc/VMROSD.h index 3ccdf231e..c5abf2c9c 100644 --- a/src/apps/mplayerc/VMROSD.h +++ b/src/apps/mplayerc/VMROSD.h @@ -57,7 +57,7 @@ public: void Start (CWnd* pWnd, CComPtr<IMFVideoMixerBitmap> pVMB);
void Stop();
- void DisplayMessage (OSD_MESSAGEPOS nPos, LPCTSTR strMsg, int nDuration = 5000);
+ void DisplayMessage (OSD_MESSAGEPOS nPos, LPCTSTR strMsg, int nDuration = 5000, int FontSize = 0, CString OSD_Font = _T(""));
void ClearMessage();
__int64 GetPos();
@@ -86,6 +86,8 @@ private : CPen m_penCursor;
CBrush m_brushBack;
CBrush m_brushBar;
+ int m_FontSize;
+ CString m_OSD_Font;
CRect m_rectWnd;
COLORREF m_Color[OSD_LAST];
|