aboutsummaryrefslogtreecommitdiffstats
path: root/data/elementary/themes/edc/elm/entry.edc
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2017-12-06 17:33:03 +0900
committerSungtaek Hong <sth253.hong@samsung.com>2017-12-08 16:02:24 +0900
commit300ded6c305459bc578c07a9905dfab8a48bfd63 (patch)
treeba9c0edbce688e7af093b81f3354056d571d5237 /data/elementary/themes/edc/elm/entry.edc
parentefl_ui_clock: Apply lazy edc. (diff)
downloadefl-300ded6c305459bc578c07a9905dfab8a48bfd63.tar.gz
efl_ui_text: apply new theme logic and use constructor/destructor
Summary: It removes legacy aliases from efl_ui_text's theme. And it also move all code from group add/del overriding functions to constructor/destructor. @fix Test Plan: N/A Reviewers: jpeg, taxi2se Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5601
Diffstat (limited to '')
-rw-r--r--data/elementary/themes/edc/elm/entry.edc106
1 files changed, 1 insertions, 105 deletions
diff --git a/data/elementary/themes/edc/elm/entry.edc b/data/elementary/themes/edc/elm/entry.edc
index bf881daf5b..189bf968d7 100644
--- a/data/elementary/themes/edc/elm/entry.edc
+++ b/data/elementary/themes/edc/elm/entry.edc
@@ -519,7 +519,7 @@ group { name: "elm/entry/anchor/default";
}
group { name: "elm/entry/base/default";
- sounds {
+ sounds {
sample { name: "key-tap1" LOSSY 64;
source: "kbd-tap.wav";
}
@@ -1194,110 +1194,6 @@ group { name: "elm/entry/handler/end/default";
}
}
-group { name: "elm/efl_ui_text/base/default";
- sounds {
- sample { name: "key-tap1" LOSSY 64;
- source: "kbd-tap.wav";
- }
- sample { name: "key-tap2" LOSSY 64;
- source: "kbd-tap2.wav";
- }
- sample { name: "key-tap3" LOSSY 64;
- source: "kbd-tap3.wav";
- }
- sample { name: "key-tap4" LOSSY 64;
- source: "kbd-tap4.wav";
- }
- sample { name: "key-tap5" LOSSY 64;
- source: "kbd-tap5.wav";
- }
- }
-
-// data.item: "context_menu_orientation" "horizontal";
- parts {
- part { name: "elm.swallow.background"; type: SWALLOW;
- description { state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- }
- part { name: "elm.text"; type: SWALLOW;
- scale: 1;
- entry_mode: EDITABLE;
- select_mode: DEFAULT;
-// select_mode: EXPLICIT;
- cursor_mode: BEFORE;
- multiline: 1;
- source: "elm/entry/selection/default"; // selection under
-// source2: "X"; // selection over
-// source3: "X"; // cursor under
- source4: "elm/entry/cursor/default"; // cursorover
-// source5: "elm/entry/anchor/default"; // anchor under
- source6: "elm/entry/anchor/default"; // anchor over
- description { state: "default" 0.0;
- /* we gotta use 0 0 here, because of scrolled entries */
- fixed: 0 0;
- rel1.offset: 2 2;
- rel2.offset: -3 -3;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- }
- programs {
- program {
- signal: "load"; source: "";
- action: FOCUS_SET;
- target: "elm.text";
- }
- program {
- signal: "elm,state,disabled"; source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "elm.text";
- }
- program {
- signal: "elm,state,enabled"; source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- #if 0
- program {
- signal: "elm,guide,disabled"; source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.guide";
- }
- program {
- signal: "elm,guide,enabled"; source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.guide";
- }
- #endif
- program { name: "key-down";
- signal: "entry,keydown"; source: "elm.text";
- script {
- new buf[32];
- snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
- run_program(get_program_id(buf));
- }
- }
- program { name: "key-down1";
- action: PLAY_SAMPLE "key-tap1" 1.0 INPUT;
- }
- program { name: "key-down2";
- action: PLAY_SAMPLE "key-tap2" 1.0 INPUT;
- }
- program { name: "key-down3";
- action: PLAY_SAMPLE "key-tap3" 1.0 INPUT;
- }
- program { name: "key-down4";
- action: PLAY_SAMPLE "key-tap4" 1.0 INPUT;
- }
- program { name: "key-down5";
- action: PLAY_SAMPLE "key-tap5" 1.0 INPUT;
- }
- }
-}
///////////////////////////////////////////////////////////////////////////////
// emoticon images from:
// Tanya - Latvia