Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/mplayerc/MainFrm.h')
-rw-r--r--src/apps/mplayerc/MainFrm.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/apps/mplayerc/MainFrm.h b/src/apps/mplayerc/MainFrm.h
index 98bab7749..54988b009 100644
--- a/src/apps/mplayerc/MainFrm.h
+++ b/src/apps/mplayerc/MainFrm.h
@@ -118,6 +118,7 @@ public :
ULONG FrequencyStart;
ULONG FrequencyStop;
ULONG Bandwidth;
+ LONG Offset;
HWND Hwnd;
};
@@ -240,7 +241,7 @@ class CMainFrame : public CFrameWnd, public CDropTarget
void SetDefaultWindowRect(int iMonitor = 0);
void RestoreDefaultWindowRect();
- void ZoomVideoWindow(double scale = -1);
+ void ZoomVideoWindow(bool snap = true, double scale = -1);
double GetZoomAutoFitScale();
void SetAlwaysOnTop(int i);
@@ -341,7 +342,7 @@ public:
void StopWebServer();
CString GetStatusMessage();
- int GetPlaybackMode()
+ int GetPlaybackMode() const
{
return m_iPlaybackMode;
}
@@ -370,15 +371,15 @@ public:
CComPtr<IBaseFilter> m_pRefClock; // Adjustable reference clock. GothSync
CComPtr<ISyncClock> m_pSyncClock;
- bool IsFrameLessWindow()
+ bool IsFrameLessWindow() const
{
- return(m_fFullScreen || AfxGetAppSettings().fHideCaptionMenu);
+ return(m_fFullScreen || AfxGetAppSettings().iCaptionMenuMode==MODE_BORDERLESS);
}
- bool IsCaptionMenuHidden()
+ bool IsCaptionMenuHidden() const
{
- return(!m_fFullScreen && AfxGetAppSettings().fHideCaptionMenu);
+ return(!m_fFullScreen && AfxGetAppSettings().iCaptionMenuMode!=MODE_SHOWCAPTIONMENU);
}
- bool IsSomethingLoaded()
+ bool IsSomethingLoaded() const
{
return((m_iMediaLoadState == MLS_LOADING || m_iMediaLoadState == MLS_LOADED) && !IsD3DFullScreenMode());
}
@@ -386,11 +387,11 @@ public:
{
return(m_wndPlaylistBar.GetCount() == 0);
}
- bool IsInteractiveVideo()
+ bool IsInteractiveVideo() const
{
return(AfxGetAppSettings().fIntRealMedia && m_fRealMediaGraph || m_fShockwaveGraph);
}
- bool IsD3DFullScreenMode();
+ bool IsD3DFullScreenMode() const;
CControlBar* m_pLastBar;
@@ -509,6 +510,7 @@ public:
// Dvb capture
void DisplayCurrentChannelOSD();
+ void DisplayCurrentChannelInfo();
// Implementation
public:
@@ -911,12 +913,12 @@ public:
void SetLoadState(MPC_LOADSTATE iState);
void SetPlayState(MPC_PLAYSTATE iState);
bool CreateFullScreenWindow();
- void SetVMR9ColorControl(float Brightness, float Contrast, float Hue, float Saturation);
- LPCTSTR GetDVDAudioFormatName (DVD_AudioAttributes& ATR);
+ void SetVMR9ColorControl(float dBrightness, float dContrast, float dHue, float dSaturation);
+ LPCTSTR GetDVDAudioFormatName (DVD_AudioAttributes& ATR) const;
void SetAudioDelay(REFERENCE_TIME rtShift);
void SetSubtitleDelay(int delay_ms);
// void AutoSelectTracks();
- bool IsRealEngineCompatible(CString strFilename);
+ bool IsRealEngineCompatible(CString strFilename) const;
void SetTimersPlay();
void KillTimersStop();