{ "wsvga", 1024, 600 },
{ "wsvga-p", 600 , 1024},
{ "s9", 1600, 900 },
+ { "fullscreen", 0, 0 },
{ NULL, 0, 0 }
};
profile = resolution;
}
+ if (fullscreen)
+ {
+ resolution_index = (sizeof(resolutions)/sizeof(resolutions[0])) - 2;
+ profile = resolutions[resolution_index].name;
+ }
+
if (!async)
setenv("ECORE_EVAS_FORCE_SYNC_RENDER", "1", 0);
evas_font_path_append(evas, datadir);
evas_font_hinting_set(evas, EVAS_FONT_HINTING_AUTO);
- ui_setup(resolutions[resolution_index].width,
- resolutions[resolution_index].height);
+ if(!strcmp(profile,"fullscreen"))
+ {
+ int screen_w, screen_h;
+ ecore_evas_screen_geometry_get(ee, NULL, NULL, &screen_w, &screen_h);
+ ui_setup(screen_w, screen_h);
+ }
+ else
+ ui_setup(resolutions[resolution_index].width,
+ resolutions[resolution_index].height);
if (tests_list)
{