[FONTVIEW]

* Create a main header and move some inclusions to it.
CORE-7716

svn path=/trunk/; revision=61547
This commit is contained in:
Amine Khaldi 2014-01-06 20:48:44 +00:00
parent e3dd09553c
commit 5f67c3b083
5 changed files with 25 additions and 17 deletions

View file

@ -20,7 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "display.h"
#include "precomp.h"
#include <stdio.h>
#include <malloc.h>
#define SPACING1 8
#define SPACING2 5

View file

@ -1,13 +1,5 @@
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <commdlg.h>
/* Messages for the display class */
#define FVM_SETTYPEFACE WM_USER
#define FVM_SETSTRING (WM_USER + 1)

View file

@ -20,7 +20,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "precomp.h"
#include <winnls.h>
#include <shellapi.h>
#include "fontview.h"
#include "resource.h"
HINSTANCE g_hInstance;
EXTLOGFONTW g_ExtLogFontW;

View file

@ -1,11 +1,4 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
#include <shellapi.h>
#include "resource.h"
#include "display.h"
#pragma once
#define MAX_LOADSTRING 50
#define MAX_BUTTONNAME 30

View file

@ -0,0 +1,14 @@
#ifndef _FONTVIEW_PCH_
#define _FONTVIEW_PCH_
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <commdlg.h>
#include "display.h"
#endif /* _FONTVIEW_PCH_ */