* 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 */
#define SIZE_BORDER_WIDTH 0
#define SIZE_SCROLL_WIDTH 1

View file

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

View file

@ -9,6 +9,8 @@
#include "desk.h"
#include <cplext.h>
#define NUM_APPLETS (1)
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 _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wingdi.h>
#include <winuser.h>
#include <wincon.h>
#include <shellapi.h>
#include <commdlg.h>
#include <cpl.h>
#include <tchar.h>
#include <setupapi.h>
#include <assert.h>
#include <shlwapi.h>
#include <shlobj.h>
#include <regstr.h>
#include <cplext.h>
#include <dll/desk/deskcplx.h>
#include <cfgmgr32.h>
#include <uxtheme.h>
#include <uxundoc.h>
#include <vssym32.h>
#include "appearance.h"
#include "preview.h"

View file

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

View file

@ -1,3 +1,5 @@
#pragma once
BOOL
MyDrawFrameControl(HDC hDC, LPRECT rc, UINT uType, UINT uState, COLOR_SCHEME *scheme);
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_INACTIVEBORDER 0x2000000

View file

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

View file

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

View file

@ -9,6 +9,11 @@
#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_CPANewSchemes[] = L"Control Panel\\Appearance\\New Schemes";
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);
}