ECDB can scale now... Too bad it looks like crap with the current theme.
This commit is contained in:
@ -182,6 +182,7 @@ ecdb_create_main_gui(void)
|
||||
{
|
||||
Evas_Object *gui;
|
||||
Evas_Coord mw, mh;
|
||||
const char *scale;
|
||||
|
||||
/* This would be wonderful, but its a bit glitchy
|
||||
em->main_win_ee = ecore_evas_gl_x11_new(0, 0, 0, 0, 255, 255);
|
||||
@ -214,6 +215,9 @@ ecdb_create_main_gui(void)
|
||||
|
||||
/* Make this configurable at some point */
|
||||
ecdb_set_main_theme(NULL);
|
||||
scale = getenv("ECDB_SCALE");
|
||||
if (scale)
|
||||
edje_scale_set(atof(scale));
|
||||
|
||||
gui = edje_object_add(ecore_evas_get(em->main_win_ee));
|
||||
edje_object_file_set(gui, em->theme_path, "ecdb/window");
|
||||
|
Reference in New Issue
Block a user