aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-12 03:42:09 +1000
committerDavid Walter Seikel2014-05-12 03:42:09 +1000
commit03ac0f66bb61fb5b27ea997bc1c60730e2b61671 (patch)
tree66a13212e7e6e61387e79f310019ff5d2edc665a /src/extantz
parentA little more clean up of winFang move / resize. (diff)
downloadSledjHamr-03ac0f66bb61fb5b27ea997bc1c60730e2b61671.zip
SledjHamr-03ac0f66bb61fb5b27ea997bc1c60730e2b61671.tar.gz
SledjHamr-03ac0f66bb61fb5b27ea997bc1c60730e2b61671.tar.bz2
SledjHamr-03ac0f66bb61fb5b27ea997bc1c60730e2b61671.tar.xz
Internal and external windows now both use the layout.
Diffstat (limited to 'src/extantz')
-rw-r--r--src/extantz/extantz.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index 5e79597..ed3a78f 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -494,11 +494,22 @@ EAPI_MAIN int elm_main(int argc, char **argv)
494 */ 494 */
495 495
496 // Override the background image 496 // Override the background image
497#if 1
498 snprintf(buf, sizeof(buf), "%s/sky_03.jpg", elm_app_data_dir_get());
499 ourGlobals.mainWindow->bg = eo_add(ELM_OBJ_IMAGE_CLASS, ourGlobals.mainWindow->win,
500 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND),
501 elm_obj_image_fill_outside_set(EINA_TRUE),
502 elm_obj_image_file_set(buf, NULL),
503 evas_obj_visibility_set(EINA_TRUE)
504 );
505 elm_win_resize_object_add(ourGlobals.mainWindow->win, ourGlobals.mainWindow->bg);
506#else
497 snprintf(buf, sizeof(buf), "%s/sky_03.jpg", elm_app_data_dir_get()); 507 snprintf(buf, sizeof(buf), "%s/sky_03.jpg", elm_app_data_dir_get());
498 eo_do(ourGlobals.mainWindow->bg, 508 eo_do(ourGlobals.mainWindow->bg,
499 elm_obj_image_file_set(buf, NULL), 509 elm_obj_image_file_set(buf, NULL),
500 evas_obj_color_set(255, 255, 255, 255) 510 evas_obj_color_set(255, 255, 255, 255)
501 ); 511 );
512#endif
502 513
503 init_evas_gl(&ourGlobals); 514 init_evas_gl(&ourGlobals);
504 515