/* * call-seq: * Screen.open? * * True if there is an open Rubygame window. * See Screen.new and Screen.close. * */ VALUE rbgm_screen_openp(VALUE module) { return (SDL_GetVideoSurface() == NULL) ? Qfalse : Qtrue; }