2 * System metrics definitions
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_SYSMETRICS_H
8 #define __WINE_SYSMETRICS_H
13 /* Constant system metrics */
15 #define SYSMETRICS_CXVSCROLL 14
16 #define SYSMETRICS_CYHSCROLL 14
18 #define SYSMETRICS_CXVSCROLL 16
19 #define SYSMETRICS_CYHSCROLL 16
21 #define SYSMETRICS_CYCAPTION 20
22 #define SYSMETRICS_CXBORDER 1
23 #define SYSMETRICS_CYBORDER 1
25 #define SYSMETRICS_CXDLGFRAME 2
26 #define SYSMETRICS_CYDLGFRAME 2
27 #define SYSMETRICS_CYVTHUMB 13
28 #define SYSMETRICS_CXHTHUMB 13
30 #define SYSMETRICS_CXDLGFRAME 4
31 #define SYSMETRICS_CYDLGFRAME 4
32 #define SYSMETRICS_CYVTHUMB 16
33 #define SYSMETRICS_CXHTHUMB 16
35 #define SYSMETRICS_CXICON 32
36 #define SYSMETRICS_CYICON 32
37 #define SYSMETRICS_CXCURSOR 32
38 #define SYSMETRICS_CYCURSOR 32
39 #define SYSMETRICS_CYMENU 18
41 #define SYSMETRICS_CYVSCROLL 14
42 #define SYSMETRICS_CXHSCROLL 14
43 #define SYSMETRICS_CXMIN 112
44 #define SYSMETRICS_CYMIN 27
46 #define SYSMETRICS_CYVSCROLL 16
47 #define SYSMETRICS_CXHSCROLL 16
48 #define SYSMETRICS_CXMIN 100
49 #define SYSMETRICS_CYMIN 28
51 #define SYSMETRICS_CXSIZE 18
52 #define SYSMETRICS_CYSIZE 18
54 #define SYSMETRICS_CXMINTRACK 112
55 #define SYSMETRICS_CYMINTRACK 27
57 #define SYSMETRICS_CXMINTRACK 100
58 #define SYSMETRICS_CYMINTRACK 28
61 /* Some non-constant system metrics */
62 #define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN]
63 #define SYSMETRICS_CYSCREEN sysMetrics[SM_CYSCREEN]
64 #define SYSMETRICS_CXFULLSCREEN sysMetrics[SM_CXFULLSCREEN]
65 #define SYSMETRICS_CYFULLSCREEN sysMetrics[SM_CYFULLSCREEN]
66 #define SYSMETRICS_SWAPBUTTON sysMetrics[SM_SWAPBUTTON]
67 #define SYSMETRICS_CXFRAME sysMetrics[SM_CXFRAME]
68 #define SYSMETRICS_CYFRAME sysMetrics[SM_CYFRAME]
69 #define SYSMETRICS_CXDOUBLECLK sysMetrics[SM_CXDOUBLECLK]
70 #define SYSMETRICS_CYDOUBLECLK sysMetrics[SM_CYDOUBLECLK]
71 #define SYSMETRICS_MENUDROPALIGNMENT sysMetrics[SM_MENUDROPALIGNMENT]
72 #define SYSMETRICS_CXICONSPACING sysMetrics[SM_CXICONSPACING]
73 #define SYSMETRICS_CYICONSPACING sysMetrics[SM_CYICONSPACING]
75 extern void SYSMETRICS_Init(void);
76 extern short sysMetrics
[SM_CMETRICS
+1];
78 #endif /* __WINE_SYSMETRICS_H */