mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 05:01:03 +00:00
[DESK]
* 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:
parent
8dc54b14e9
commit
034d812701
9 changed files with 21 additions and 13 deletions
|
@ -1,3 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
/* Some definitions for theme */
|
||||
#define SIZE_BORDER_WIDTH 0
|
||||
#define SIZE_SCROLL_WIDTH 1
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include "desk.h"
|
||||
|
||||
#include <shellapi.h>
|
||||
|
||||
#define MAX_BACKGROUNDS 100
|
||||
|
||||
#define PLACEMENT_CENTER 0
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include "desk.h"
|
||||
|
||||
#include <cfgmgr32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
#include "desk.h"
|
||||
|
||||
static const TCHAR szMonitorSelWndClass[] = TEXT("MONITORSELWNDCLASS");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue