Ejemplo n.º 1
0
/* size of all screens (desktop), useful since the mouse is bound by this */
void wm_get_desktopsize(int *r_width, int *r_height)
{
    unsigned int uiwidth;
    unsigned int uiheight;

    GHOST_GetAllDisplayDimensions(g_system, &uiwidth, &uiheight);
    *r_width = uiwidth;
    *r_height = uiheight;
}
Ejemplo n.º 2
0
/* size of all screens (desktop), useful since the mouse is bound by this */
void wm_get_desktopsize(int *width_r, int *height_r)
{
	unsigned int uiwidth;
	unsigned int uiheight;

	GHOST_GetAllDisplayDimensions(g_system, &uiwidth, &uiheight);
	*width_r = uiwidth;
	*height_r = uiheight;
}