Added DebugBreak.
[wine] / windows / ttydrv / desktop.c
1 /*
2  * TTY desktop driver
3  *
4  * Copyright 1998,1999 Patrik Stridvall
5  *
6  */
7
8 #include "desktop.h"
9 #include "monitor.h"
10 #include "ttydrv.h"
11
12 /***********************************************************************
13  *              TTYDRV_DESKTOP_Initialize
14  */
15 void TTYDRV_DESKTOP_Initialize(DESKTOP *pDesktop)
16 {
17 }
18
19 /***********************************************************************
20  *              TTYDRV_DESKTOP_Finalize
21  */
22 void TTYDRV_DESKTOP_Finalize(DESKTOP *pDesktop)
23 {
24 }
25
26 /***********************************************************************
27  *              TTYDRV_DESKTOP_GetScreenWidth
28  *
29  * Return the width of the screen associated to the desktop.
30  */
31 int TTYDRV_DESKTOP_GetScreenWidth(DESKTOP *pDesktop)
32 {
33   return MONITOR_GetWidth(pDesktop->pPrimaryMonitor);
34 }
35
36 /***********************************************************************
37  *              TTYDRV_DESKTOP_GetScreenHeight
38  *
39  * Return the width of the screen associated to the desktop.
40  */
41 int TTYDRV_DESKTOP_GetScreenHeight(DESKTOP *pDesktop)
42 {
43   return MONITOR_GetHeight(pDesktop->pPrimaryMonitor);
44 }
45
46 /***********************************************************************
47  *              TTYDRV_DESKTOP_GetScreenDepth
48  *
49  * Return the depth of the screen associated to the desktop.
50  */
51 int TTYDRV_DESKTOP_GetScreenDepth(DESKTOP *pDesktop)
52 {
53   return MONITOR_GetDepth(pDesktop->pPrimaryMonitor);
54 }