summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJinYong Park <j4939.park@samsung.com>2017-08-10 15:48:36 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-11-28 17:15:42 +0900
commitbccd97bd62a0a2a9d95ba7d87949d92302ef50d2 (patch)
tree8ffdba09e470bae3866d42706690a20645b860d3 /data
parent996a975506edbbc695ecf6ec5e6c4c58a1ac1a50 (diff)
efl_ui_popup: add bg_set and bg_repeat_events_set/get API
Summary: add bg_set and bg_repeat_events_set/get API bg_set enables user change popup's outside bg bg_repeat_events_set enables popup's outside bg repeat events Test Plan: 1. run elementary_test -to efluipopup 2. click outside area of popup 3. click button in popup Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, cedric, jpeg, singh.amitesh Reviewed By: Jaehyun_Cho Subscribers: jpeg Tags: #efl Differential Revision: https://phab.enlightenment.org/D5054
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/elm/popup.edc42
1 files changed, 40 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/elm/popup.edc b/data/elementary/themes/edc/elm/popup.edc
index ec79630716..7fb127b812 100644
--- a/data/elementary/themes/edc/elm/popup.edc
+++ b/data/elementary/themes/edc/elm/popup.edc
@@ -536,10 +536,48 @@ group { "elm/popup/base/view";
536group { "elm/popup/base/event_bg"; 536group { "elm/popup/base/event_bg";
537 parts { 537 parts {
538 rect { "base"; 538 rect { "base";
539 repeat;
540 desc { "default"; 539 desc { "default";
541 color: 0 255 0 128; 540 color: 0 0 0 64;
542 } 541 }
542 desc { "show_image";
543 inherit: "default";
544 hid;
545 }
546 }
547 swallow { "elm.swallow.image";
548 desc { "default";
549 rel.to: "base";
550 hid;
551 }
552 desc { "show_image";
553 inherit: "default";
554 vis;
555 }
556 }
557 rect { "block";
558 desc { "default";
559 rel.to: "base";
560 color: 0 0 0 0;
561 }
562 }
563 }
564
565 programs {
566 program {
567 signal: "elm,state,image,visible"; source: "elm";
568 action: STATE_SET "show_image" 0.0;
569 target: "base";
570 target: "elm.swallow.image";
571 }
572 program {
573 signal: "elm,state,image,hidden"; source: "elm";
574 action: STATE_SET "default" 0.0;
575 target: "base";
576 target: "elm.swallow.image";
577 }
578 program {
579 signal: "mouse,clicked,1"; source: "block";
580 action: SIGNAL_EMIT "elm,action,clicked" "elm";
543 } 581 }
544 } 582 }
545} 583}