Release 961215
[wine/multimedia.git] / include / sysmetrics.h
blob52ffa6c92d2f3f87555c78997902b9fbee62afc2
1 /*
2 * System metrics definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef SYSMETRICS_H
8 #define SYSMETRICS_H
10 #include "windows.h"
13 /* Constant system metrics */
14 #ifdef WIN_95_LOOK
15 #define SYSMETRICS_CXVSCROLL 14
16 #define SYSMETRICS_CYHSCROLL 14
17 #else
18 #define SYSMETRICS_CXVSCROLL 16
19 #define SYSMETRICS_CYHSCROLL 16
20 #endif
21 #define SYSMETRICS_CYCAPTION 20
22 #define SYSMETRICS_CXBORDER 1
23 #define SYSMETRICS_CYBORDER 1
24 #ifdef WIN_95_LOOK
25 #define SYSMETRICS_CXDLGFRAME 2
26 #define SYSMETRICS_CYDLGFRAME 2
27 #define SYSMETRICS_CYVTHUMB 13
28 #define SYSMETRICS_CXHTHUMB 13
29 #else
30 #define SYSMETRICS_CXDLGFRAME 4
31 #define SYSMETRICS_CYDLGFRAME 4
32 #define SYSMETRICS_CYVTHUMB 16
33 #define SYSMETRICS_CXHTHUMB 16
34 #endif
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
40 #ifdef WIN_95_LOOK
41 #define SYSMETRICS_CYVSCROLL 14
42 #define SYSMETRICS_CXHSCROLL 14
43 #define SYSMETRICS_CXMIN 112
44 #define SYSMETRICS_CYMIN 27
45 #else
46 #define SYSMETRICS_CYVSCROLL 16
47 #define SYSMETRICS_CXHSCROLL 16
48 #define SYSMETRICS_CXMIN 100
49 #define SYSMETRICS_CYMIN 28
50 #endif
51 #define SYSMETRICS_CXSIZE 18
52 #define SYSMETRICS_CYSIZE 18
53 #ifdef WIN_95_LOOK
54 #define SYSMETRICS_CXMINTRACK 112
55 #define SYSMETRICS_CYMINTRACK 27
56 #define SYSMETRICS_CXICONSPACING 75
57 #define SYSMETRICS_CYICONSPACING 75
58 #else
59 #define SYSMETRICS_CXMINTRACK 100
60 #define SYSMETRICS_CYMINTRACK 28
61 #define SYSMETRICS_CXICONSPACING 20
62 #define SYSMETRICS_CYICONSPACING 20
63 #endif
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