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:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-07-05 16:58:42 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-07-05 16:58:42 +0400
commitf6883a2c09507d0acb9ccbf0156e5948211dc480 (patch)
tree7789b4fecd6b2e846f070e2e0bdb1e16ea7555e9 /src/apps/mplayerc/MultiMonitor.h
parente9b446380bc3bc122e3e3a1d0622163a5f1920a3 (diff)
astyle formatting
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2103 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/MultiMonitor.h')
-rw-r--r--src/apps/mplayerc/MultiMonitor.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/apps/mplayerc/MultiMonitor.h b/src/apps/mplayerc/MultiMonitor.h
index d2604f7cb..e23ca57cb 100644
--- a/src/apps/mplayerc/MultiMonitor.h
+++ b/src/apps/mplayerc/MultiMonitor.h
@@ -37,59 +37,59 @@ class CMonitor : public CObject
{
public:
//construction destruction
- CMonitor();
- CMonitor( const CMonitor& monitor );
- virtual ~CMonitor();
+ CMonitor();
+ CMonitor( const CMonitor& monitor );
+ virtual ~CMonitor();
//operations
- void Attach( const HMONITOR hMonitor );
- HMONITOR Detach();
+ void Attach( const HMONITOR hMonitor );
+ HMONITOR Detach();
- void ClipRectToMonitor( LPRECT lprc, const BOOL UseWorkAreaRect = FALSE ) const;
- void CenterRectToMonitor( LPRECT lprc, const BOOL UseWorkAreaRect = FALSE ) const;
- void CenterWindowToMonitor( CWnd* const pWnd, const BOOL UseWorkAreaRect = FALSE ) const;
+ void ClipRectToMonitor( LPRECT lprc, const BOOL UseWorkAreaRect = FALSE ) const;
+ void CenterRectToMonitor( LPRECT lprc, const BOOL UseWorkAreaRect = FALSE ) const;
+ void CenterWindowToMonitor( CWnd* const pWnd, const BOOL UseWorkAreaRect = FALSE ) const;
- HDC CreateDC() const;
+ HDC CreateDC() const;
//properties
- void GetMonitorRect( LPRECT lprc ) const;
- void GetWorkAreaRect( LPRECT lprc ) const;
+ void GetMonitorRect( LPRECT lprc ) const;
+ void GetWorkAreaRect( LPRECT lprc ) const;
- void GetName( CString& string ) const;
+ void GetName( CString& string ) const;
- int GetBitsPerPixel() const;
+ int GetBitsPerPixel() const;
- BOOL IsOnMonitor( const POINT pt ) const;
- BOOL IsOnMonitor( const CWnd* pWnd ) const;
- BOOL IsOnMonitor( const LPRECT lprc ) const;
+ BOOL IsOnMonitor( const POINT pt ) const;
+ BOOL IsOnMonitor( const CWnd* pWnd ) const;
+ BOOL IsOnMonitor( const LPRECT lprc ) const;
- BOOL IsPrimaryMonitor() const;
- BOOL IsMonitor() const;
+ BOOL IsPrimaryMonitor() const;
+ BOOL IsMonitor() const;
//operators
- operator HMONITOR() const
- {
- return this == NULL ? NULL : m_hMonitor;
- }
+ operator HMONITOR() const
+ {
+ return this == NULL ? NULL : m_hMonitor;
+ }
- BOOL operator ==( const CMonitor& monitor ) const
- {
- return m_hMonitor == (HMONITOR)monitor;
- }
+ BOOL operator ==( const CMonitor& monitor ) const
+ {
+ return m_hMonitor == (HMONITOR)monitor;
+ }
- BOOL operator !=( const CMonitor& monitor ) const
- {
- return !( *this == monitor );
- }
+ BOOL operator !=( const CMonitor& monitor ) const
+ {
+ return !( *this == monitor );
+ }
- void operator =( const CMonitor& monitor )
- {
- m_hMonitor = (HMONITOR)monitor;
- }
+ void operator =( const CMonitor& monitor )
+ {
+ m_hMonitor = (HMONITOR)monitor;
+ }
private:
- HMONITOR m_hMonitor;
+ HMONITOR m_hMonitor;
};