source: trunk/testapp/gui/fontlist/XFont.h

Last change on this file was 21539, checked in by dmik, 15 years ago

testapp: Added fontlist testcase.

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1// XFont.h Version 1.1
2//
3// Copyright (C) 2003 Hans Dietrich
4//
5// This software is released into the public domain.
6// You are free to use it in any way you like.
7//
8// This software is provided "as is" with no expressed
9// or implied warranty. I accept no liability for any
10// damage or loss of business that this software may cause.
11//
12///////////////////////////////////////////////////////////////////////////////
13
14#ifndef XFONT_H
15#define XFONT_H
16
17typedef struct _tagFONT_PROPERTIES
18{
19 TCHAR csName[1024];
20 TCHAR csCopyright[1024];
21 TCHAR csTrademark[1024];
22 TCHAR csFamily[1024];
23} FONT_PROPERTIES, *LPFONT_PROPERTIES;
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29BOOL GetFontFile(LPCTSTR lpszFontName,
30 LPTSTR lpszDisplayName,
31 int nDisplayNameSize,
32 LPTSTR lpszFontFile,
33 int nFontFileSize);
34
35
36BOOL GetFontProperties(LPCTSTR lpszFilePath,
37 LPFONT_PROPERTIES lpFontProps);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif //XFONT_H
Note: See TracBrowser for help on using the repository browser.