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
56 #define SYSMETRICS_CXICONSPACING 75
57 #define SYSMETRICS_CYICONSPACING 75
59 #define SYSMETRICS_CXMINTRACK 100
60 #define SYSMETRICS_CYMINTRACK 28
61 #define SYSMETRICS_CXICONSPACING 20
62 #define SYSMETRICS_CYICONSPACING 20
65 /* Some non-constant system metrics */
66 #define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN]
67 #define SYSMETRICS_CYSCREEN sysMetrics[SM_CYSCREEN]
68 #define SYSMETRICS_CXFULLSCREEN sysMetrics[SM_CXFULLSCREEN]
69 #define SYSMETRICS_CYFULLSCREEN sysMetrics[SM_CYFULLSCREEN]
70 #define SYSMETRICS_SWAPBUTTON sysMetrics[SM_SWAPBUTTON]
71 #define SYSMETRICS_CXFRAME sysMetrics[SM_CXFRAME]
72 #define SYSMETRICS_CYFRAME sysMetrics[SM_CYFRAME]
73 #define SYSMETRICS_CXDOUBLECLK sysMetrics[SM_CXDOUBLECLK]
74 #define SYSMETRICS_CYDOUBLECLK sysMetrics[SM_CYDOUBLECLK]
75 #define SYSMETRICS_MENUDROPALIGNMENT sysMetrics[SM_MENUDROPALIGNMENT]
77 extern void SYSMETRICS_Init(void);
78 extern short sysMetrics
[SM_CMETRICS
+1];
80 #endif /* __WINE_SYSMETRICS_H */