Remove remnants of the old code.
[wine/multimedia.git] / dlls / commdlg / fontdlg.h
blob7a0d25ab7ca51fdc3b20855f22a5f40affc2f0dc
1 /*
2 * COMMDLG - Font Dialog
4 * Copyright 1994 Martin Ayotte
5 * Copyright 1996 Albrecht Kleine
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 * DO NOT EXPORT TO APPLICATIONS -
22 * This file only defines the internal functions that are shared to
23 * implement the Win16 and Win32 font dialog support.
27 #ifndef _WINE_FONTDLG_H
28 #define _WINE_FONTDLG_H
30 #include "commdlg.h"
32 typedef struct
34 HWND hWnd1;
35 HWND hWnd2;
36 LPCHOOSEFONTA lpcf32a;
37 int added;
38 } CFn_ENUMSTRUCT, *LPCFn_ENUMSTRUCT;
40 INT AddFontFamily(const LOGFONTA *lplf, UINT nFontType, LPCHOOSEFONTA lpcf,
41 HWND hwnd, LPCFn_ENUMSTRUCT e);
42 INT AddFontStyle(const LOGFONTA *lplf, UINT nFontType, LPCHOOSEFONTA lpcf,
43 HWND hcmb2, HWND hcmb3, HWND hDlg);
44 void _dump_cf_flags(DWORD cflags);
46 LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
47 LPCHOOSEFONTA lpcf);
48 LRESULT CFn_WMMeasureItem(HWND hDlg, WPARAM wParam, LPARAM lParam);
49 LRESULT CFn_WMDrawItem(HWND hDlg, WPARAM wParam, LPARAM lParam);
50 LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam,
51 LPCHOOSEFONTA lpcf);
52 LRESULT CFn_WMDestroy(HWND hwnd, WPARAM wParam, LPARAM lParam);
54 #endif /* _WINE_FONTDLG_H */