mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00

- Create fonts only once - Remove possibility to get page height without drawing See issue #2260 for more details. svn path=/trunk/; revision=26871
20 lines
421 B
C
20 lines
421 B
C
#ifndef _DISPLAY_H
|
|
#define _DISPLAY_H
|
|
|
|
/* Messages for the display class */
|
|
#define FVM_SETTYPEFACE WM_USER
|
|
#define FVM_SETSTRING (WM_USER + 1)
|
|
|
|
/* Size restrictions */
|
|
#define MAX_STRING 100
|
|
#define MAX_TYPEFACENAME 32
|
|
#define MAX_FORMAT 20
|
|
|
|
#define MAX_SIZES 7
|
|
|
|
extern const WCHAR g_szFontDisplayClassName[];
|
|
|
|
/* Public function */
|
|
BOOL Display_InitClass(HINSTANCE hInstance);
|
|
|
|
#endif // _DISPLAY_H
|