4 * Copyright 1998,1999 Patrik Stridvall
12 /***********************************************************************
13 * TTYDRV_DESKTOP_Initialize
15 void TTYDRV_DESKTOP_Initialize(DESKTOP
*pDesktop
)
19 /***********************************************************************
20 * TTYDRV_DESKTOP_Finalize
22 void TTYDRV_DESKTOP_Finalize(DESKTOP
*pDesktop
)
26 /***********************************************************************
27 * TTYDRV_DESKTOP_GetScreenWidth
29 * Return the width of the screen associated to the desktop.
31 int TTYDRV_DESKTOP_GetScreenWidth(DESKTOP
*pDesktop
)
33 return MONITOR_GetWidth(pDesktop
->pPrimaryMonitor
);
36 /***********************************************************************
37 * TTYDRV_DESKTOP_GetScreenHeight
39 * Return the width of the screen associated to the desktop.
41 int TTYDRV_DESKTOP_GetScreenHeight(DESKTOP
*pDesktop
)
43 return MONITOR_GetHeight(pDesktop
->pPrimaryMonitor
);
46 /***********************************************************************
47 * TTYDRV_DESKTOP_GetScreenDepth
49 * Return the depth of the screen associated to the desktop.
51 int TTYDRV_DESKTOP_GetScreenDepth(DESKTOP
*pDesktop
)
53 return MONITOR_GetDepth(pDesktop
->pPrimaryMonitor
);