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
path: root/src
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-08-19 13:07:03 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-08-19 13:07:03 +0400
commitbec2f634b395c587a783c40bdee95cf179463175 (patch)
treeb3be6b5c6768fb66680ca648e23bbd7134e5c161 /src
parent0cc715e5d824484a0ba12f4def095682f39fbb2e (diff)
cosmetics
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2271 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src')
-rw-r--r--src/filters/renderer/VideoRenderers/VideoRenderers.vcxproj5
-rw-r--r--src/ui/CmdUI/stdafx.cpp7
-rw-r--r--src/ui/CmdUI/stdafx.h10
-rw-r--r--src/ui/ResizableLib/stdafx.cpp8
-rw-r--r--src/ui/ResizableLib/stdafx.h10
-rw-r--r--src/ui/TreePropSheet/stdafx.cpp7
-rw-r--r--src/ui/TreePropSheet/stdafx.h10
-rw-r--r--src/ui/sizecbar/sizecbar.h20
-rw-r--r--src/ui/sizecbar/stdafx.cpp7
-rw-r--r--src/ui/sizecbar/stdafx.h11
10 files changed, 20 insertions, 75 deletions
diff --git a/src/filters/renderer/VideoRenderers/VideoRenderers.vcxproj b/src/filters/renderer/VideoRenderers/VideoRenderers.vcxproj
index 0a7293f76..31dd405f7 100644
--- a/src/filters/renderer/VideoRenderers/VideoRenderers.vcxproj
+++ b/src/filters/renderer/VideoRenderers/VideoRenderers.vcxproj
@@ -35,15 +35,12 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
- <UseOfAtl>false</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
- <UseOfAtl>false</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Template|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
@@ -56,9 +53,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
- <UseOfAtl>false</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
diff --git a/src/ui/CmdUI/stdafx.cpp b/src/ui/CmdUI/stdafx.cpp
index ce9b31f47..a27b824da 100644
--- a/src/ui/CmdUI/stdafx.cpp
+++ b/src/ui/CmdUI/stdafx.cpp
@@ -1,8 +1 @@
-// stdafx.cpp : source file that includes just the standard includes
-// CmdUI.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/src/ui/CmdUI/stdafx.h b/src/ui/CmdUI/stdafx.h
index 3b566bf95..2dd78ef24 100644
--- a/src/ui/CmdUI/stdafx.h
+++ b/src/ui/CmdUI/stdafx.h
@@ -1,15 +1,11 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
#pragma once
+
#include "../../DSUtil/SharedInclude.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
-#define WINVER 0x0600
+#define WINVER 0x0600
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
@@ -17,5 +13,3 @@
#include <afx.h>
#include <afxwin.h> // MFC core and standard components
-
-// TODO: reference additional headers your program requires here
diff --git a/src/ui/ResizableLib/stdafx.cpp b/src/ui/ResizableLib/stdafx.cpp
index c317ca142..a27b824da 100644
--- a/src/ui/ResizableLib/stdafx.cpp
+++ b/src/ui/ResizableLib/stdafx.cpp
@@ -1,9 +1 @@
-// stdafx.cpp : source file that includes just the standard includes
-// ResizableLib.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
-
diff --git a/src/ui/ResizableLib/stdafx.h b/src/ui/ResizableLib/stdafx.h
index aa01b8175..84f645a05 100644
--- a/src/ui/ResizableLib/stdafx.h
+++ b/src/ui/ResizableLib/stdafx.h
@@ -1,14 +1,10 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
#pragma once
+
#include "../../dsutil/SharedInclude.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
-#define WINVER 0x0600
+#define WINVER 0x0600
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
@@ -18,5 +14,3 @@
#include <afxwin.h> // MFC core and standard components
#include <afxcmn.h>
#include <afxdlgs.h>
-
-// TODO: reference additional headers your program requires here
diff --git a/src/ui/TreePropSheet/stdafx.cpp b/src/ui/TreePropSheet/stdafx.cpp
index a3364a6bc..a27b824da 100644
--- a/src/ui/TreePropSheet/stdafx.cpp
+++ b/src/ui/TreePropSheet/stdafx.cpp
@@ -1,8 +1 @@
-// stdafx.cpp : source file that includes just the standard includes
-// TreePropSheet.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/src/ui/TreePropSheet/stdafx.h b/src/ui/TreePropSheet/stdafx.h
index f8ad3928c..ffbbcd778 100644
--- a/src/ui/TreePropSheet/stdafx.h
+++ b/src/ui/TreePropSheet/stdafx.h
@@ -1,14 +1,10 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
#pragma once
+
#include "../../DSUtil/SharedInclude.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
-#define WINVER 0x0600
+#define WINVER 0x0600
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
@@ -16,5 +12,3 @@
#include <afx.h>
#include <afxwin.h> // MFC core and standard components
-
-// TODO: reference additional headers your program requires here
diff --git a/src/ui/sizecbar/sizecbar.h b/src/ui/sizecbar/sizecbar.h
index 3bf4479d3..924ff60a7 100644
--- a/src/ui/sizecbar/sizecbar.h
+++ b/src/ui/sizecbar/sizecbar.h
@@ -101,11 +101,13 @@ public:
void SetSCBStyle(DWORD dwSCBStyle)
{m_dwSCBStyle = (dwSCBStyle & ~SCBS_EDGEALL);}
- void SetHeight(const int nHeight)
- {
- m_szFloat.cy = m_szHorz.cy = m_szVert.cy = nHeight;
- m_pDockSite->DelayRecalcLayout();
- }
+//mpc-hc custom code start
+ void SetHeight(const int nHeight)
+ {
+ m_szFloat.cy = m_szHorz.cy = m_szVert.cy = nHeight;
+ m_pDockSite->DelayRecalcLayout();
+ }
+//mpc-hc custom code end
// Overridables
virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
@@ -160,9 +162,11 @@ protected:
BOOL m_bDragShowContent;
UINT m_nDockBarID;
int m_cxEdge;
-
- BOOL m_bFixedFloat;
- CSize m_szFixedFloat;
+
+//mpc-hc custom code start
+ BOOL m_bFixedFloat;
+ CSize m_szFixedFloat;
+//mpc-hc custom code end
// Generated message map functions
protected:
diff --git a/src/ui/sizecbar/stdafx.cpp b/src/ui/sizecbar/stdafx.cpp
index a700e9aa4..a27b824da 100644
--- a/src/ui/sizecbar/stdafx.cpp
+++ b/src/ui/sizecbar/stdafx.cpp
@@ -1,8 +1 @@
-// stdafx.cpp : source file that includes just the standard includes
-// sizecbar.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/src/ui/sizecbar/stdafx.h b/src/ui/sizecbar/stdafx.h
index f8ad3928c..ac9cd9456 100644
--- a/src/ui/sizecbar/stdafx.h
+++ b/src/ui/sizecbar/stdafx.h
@@ -1,12 +1,7 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
#pragma once
#include "../../DSUtil/SharedInclude.h"
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
#define WINVER 0x0600
@@ -15,6 +10,4 @@
#endif
#include <afx.h>
-#include <afxwin.h> // MFC core and standard components
-
-// TODO: reference additional headers your program requires here
+#include <afxwin.h> // MFC core and standard components