Esempio n. 1
0
void gfx_set_picasso_modeinfo (uae_u32 w, uae_u32 h, uae_u32 depth, RGBFTYPE rgbfmt)
{
	printf("gfx_set_picasso_modeinfo %d %d %d %d\n", w, h, depth, rgbfmt);
	exit(1);
#if 0
	int need;
	if (!screen_is_picasso)
		return;
	clearscreen ();
#endif
	gfx_set_picasso_colors (rgbfmt);
#if 0
	updatemodes ();
	need = modeswitchneeded (currentmode);
	update_gfxparams ();
	if (need > 0) {
		open_screen ();
	} else if (need < 0) {
		open_windows (0);
	}
#endif
#ifdef RETROPLATFORM
	rp_set_hwnd (hAmigaWnd);
#endif
}
Esempio n. 2
0
static void
nemo_main_application_open (GApplication *app,
                            GFile       **files,
                            gint          n_files,
                            const gchar  *geometry)
{
	NemoMainApplication *self = NEMO_MAIN_APPLICATION (app);

	DEBUG ("Open called on the GApplication instance; %d files", n_files);

	open_windows (self, files, n_files, gdk_screen_get_default (), geometry);
}
static void
athena_application_open (GApplication *app,
			   GFile **files,
			   gint n_files,
			   const gchar *hint)
{
	AthenaApplication *self = ATHENA_APPLICATION (app);

	DEBUG ("Open called on the GApplication instance; %d files", n_files);

	open_windows (self, files, n_files,
		      gdk_screen_get_default (),
		      self->priv->geometry);
}
Esempio n. 4
0
static void
nautilus_application_open (GApplication *app,
			   GFile **files,
			   gint n_files,
			   const gchar *hint)
{
	NautilusApplication *self = NAUTILUS_APPLICATION (app);

	DEBUG ("Open called on the GApplication instance; %d files", n_files);

	gboolean force_new = (g_strcmp0 (hint, "new-window") == 0);

	open_windows (self, force_new, files, n_files,
		      gdk_screen_get_default (),
		      self->priv->geometry);
}
Esempio n. 5
0
void gfx_set_picasso_state (int on)
{
	printf("gfx_set_picasso_state %d\n", on);
#if 0

	//struct winuae_currentmode wc;
	int mode;

	if (screen_is_picasso == on)
		return;
	screen_is_picasso = on;
	//rp_rtg_switch ();
	//memcpy (&wc, currentmode, sizeof (wc));

	//updatemodes ();
	//update_gfxparams ();
	//clearscreen ();
	if (currprefs.gfx_apmode[0].gfx_fullscreen != currprefs.gfx_apmode[1].gfx_fullscreen || (currprefs.gfx_apmode[0].gfx_fullscreen == GFX_FULLSCREEN && currprefs.gfx_api)) {
		mode = 1;
	} else {
		mode = modeswitchneeded (&wc);
		if (!mode)
			goto end;
	}
	if (mode < 0) {
		open_windows (0);
	} else {
		open_screen (); // reopen everything
	}
	if (on && isvsync_rtg () < 0)
		vblank_calibrate (0, false);
end:
#ifdef RETROPLATFORM
	rp_set_hwnd (hAmigaWnd);
#endif
#endif
}
Esempio n. 6
0
static bool open_filedev(void)
{
	return winpart ? open_windows() : open_linux();
}