ECDB can scale now... Too bad it looks like crap with the current theme.

This commit is contained in:
Jaime Thomas
2009-01-16 03:30:54 +00:00
parent 8c9d88ff62
commit a4ef973a31
11 changed files with 39 additions and 0 deletions

View File

@ -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");