Cleaned up a few USER dependencies.
[wine] / include / monitor.h
1 /*
2  * Monitor definitions
3  *
4  */
5
6 #ifndef __WINE_MONITOR_H
7 #define __WINE_MONITOR_H
8
9 #include "windef.h"
10
11 typedef struct tagMONITOR 
12 {
13     RECT rect;
14     int  depth;
15 } MONITOR;
16
17 extern MONITOR MONITOR_PrimaryMonitor;
18
19 static int inline MONITOR_GetWidth(MONITOR *pMonitor)
20 {
21     return pMonitor->rect.right - pMonitor->rect.left;
22 }
23
24 static int inline MONITOR_GetHeight(MONITOR *pMonitor)
25 {
26     return pMonitor->rect.bottom - pMonitor->rect.top;
27 }
28
29 static int inline MONITOR_GetDepth(MONITOR *pMonitor)
30 {
31     return pMonitor->depth;
32 }
33
34 #endif /* __WINE_MONITOR_H */