コード例 #1
0
ファイル: sys_sfml_c.c プロジェクト: Chaduke/bah.mod
void TCOD_sys_get_current_resolution(int *w, int *h) {
	sfVideoMode mode = sfVideoMode_GetDesktopMode(); 
	*w=mode.Width;
	*h=mode.Height;	
}
コード例 #2
0
ファイル: window_wrapper.c プロジェクト: kearnh/haskell-csfml
void w_sfVideoMode_GetDesktopMode(sfVideoMode *Mode)
{
    *Mode = sfVideoMode_GetDesktopMode();
}