* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716

svn path=/trunk/; revision=61692
This commit is contained in:
Amine Khaldi 2014-01-19 10:21:10 +00:00
parent 8dc54b14e9
commit 034d812701
9 changed files with 21 additions and 13 deletions

View file

@ -1,3 +1,5 @@
#pragma once
/* Some definitions for theme */ /* Some definitions for theme */
#define SIZE_BORDER_WIDTH 0 #define SIZE_BORDER_WIDTH 0
#define SIZE_SCROLL_WIDTH 1 #define SIZE_SCROLL_WIDTH 1

View file

@ -10,6 +10,8 @@
#include "desk.h" #include "desk.h"
#include <shellapi.h>
#define MAX_BACKGROUNDS 100 #define MAX_BACKGROUNDS 100
#define PLACEMENT_CENTER 0 #define PLACEMENT_CENTER 0

View file

@ -9,6 +9,8 @@
#include "desk.h" #include "desk.h"
#include <cplext.h>
#define NUM_APPLETS (1) #define NUM_APPLETS (1)
static LONG APIENTRY DisplayApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam); static LONG APIENTRY DisplayApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);

View file

@ -1,30 +1,24 @@
#define COBJMACROS #include <stdarg.h>
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#define _INC_WINDOWS #define _INC_WINDOWS
#define COM_NO_WINDOWS_H #define COM_NO_WINDOWS_H
#include <stdarg.h>
#define COBJMACROS
#include <windef.h> #include <windef.h>
#include <winbase.h> #include <winbase.h>
#include <winreg.h> #include <winreg.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#include <wincon.h> #include <wincon.h>
#include <shellapi.h>
#include <commdlg.h> #include <commdlg.h>
#include <cpl.h> #include <cpl.h>
#include <tchar.h> #include <tchar.h>
#include <setupapi.h> #include <setupapi.h>
#include <assert.h>
#include <shlwapi.h>
#include <shlobj.h> #include <shlobj.h>
#include <regstr.h> #include <regstr.h>
#include <cplext.h>
#include <dll/desk/deskcplx.h> #include <dll/desk/deskcplx.h>
#include <cfgmgr32.h>
#include <uxtheme.h>
#include <uxundoc.h>
#include <vssym32.h>
#include "appearance.h" #include "appearance.h"
#include "preview.h" #include "preview.h"

View file

@ -7,6 +7,8 @@
#include "desk.h" #include "desk.h"
#include <cfgmgr32.h>
#define NDEBUG #define NDEBUG
#include <debug.h> #include <debug.h>

View file

@ -1,3 +1,5 @@
#pragma once
BOOL BOOL
MyDrawFrameControl(HDC hDC, LPRECT rc, UINT uType, UINT uState, COLOR_SCHEME *scheme); MyDrawFrameControl(HDC hDC, LPRECT rc, UINT uType, UINT uState, COLOR_SCHEME *scheme);
BOOL BOOL
@ -13,4 +15,3 @@ MyDrawMenuBarTemp(HWND Wnd, HDC DC, LPRECT Rect, HMENU Menu, HFONT Font, COLOR_S
#define MY_BF_ACTIVEBORDER 0x1000000 #define MY_BF_ACTIVEBORDER 0x1000000
#define MY_BF_INACTIVEBORDER 0x2000000 #define MY_BF_INACTIVEBORDER 0x2000000

View file

@ -1,4 +1,3 @@
#include "desk.h" #include "desk.h"
static const TCHAR szMonitorSelWndClass[] = TEXT("MONITORSELWNDCLASS"); static const TCHAR szMonitorSelWndClass[] = TEXT("MONITORSELWNDCLASS");

View file

@ -6,6 +6,8 @@
* COPYRIGHT: Copyright 2006, 2007 Eric Kohl * COPYRIGHT: Copyright 2006, 2007 Eric Kohl
*/ */
#pragma once
#define IDX_DESKTOP 0 #define IDX_DESKTOP 0
#define IDX_INACTIVE_CAPTION 1 #define IDX_INACTIVE_CAPTION 1
#define IDX_INACTIVE_BORDER 2 #define IDX_INACTIVE_BORDER 2

View file

@ -9,6 +9,11 @@
#include "desk.h" #include "desk.h"
#include <shlwapi.h>
#include <uxtheme.h>
#include <uxundoc.h>
#include <vssym32.h>
static const WCHAR g_CPColors[] = L"Control Panel\\Colors"; static const WCHAR g_CPColors[] = L"Control Panel\\Colors";
static const WCHAR g_CPANewSchemes[] = L"Control Panel\\Appearance\\New Schemes"; static const WCHAR g_CPANewSchemes[] = L"Control Panel\\Appearance\\New Schemes";
static const WCHAR g_CPMetrics[] = L"Control Panel\\Desktop\\WindowMetrics"; static const WCHAR g_CPMetrics[] = L"Control Panel\\Desktop\\WindowMetrics";
@ -890,4 +895,3 @@ DrawThemePreview(IN HDC hdcMem, IN PCOLOR_SCHEME scheme, IN PTHEME_SELECTION pSe
return SUCCEEDED(hres); return SUCCEEDED(hres);
} }