rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=b618e9a59d87d8c61856f64e9ea5586619ec49f2
commit b618e9a59d87d8c61856f64e9ea5586619ec49f2 Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Mon Jul 13 16:37:31 2015 +0300 Styles: delete unused entry style 'style_editor' Change-Id: I7c4a440698bd670648969a3d3d079f8663148c4f --- data/themes/default/widgets/entry.edc | 403 ---------------------------------- 1 file changed, 403 deletions(-) diff --git a/data/themes/default/widgets/entry.edc b/data/themes/default/widgets/entry.edc index bd01579..c751189 100644 --- a/data/themes/default/widgets/entry.edc +++ b/data/themes/default/widgets/entry.edc @@ -1,405 +1,3 @@ -group { name: "elm/scroller/entry_single/style_editor"; - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0; - } - } - } - programs { - program { name: "reload_on_load"; - signal: "load"; - source: ""; - script { - emit("reload", "elm"); - } - } - } -} - -group { name: "elm/entry/base/style_editor"; - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style_editor"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: EXPLICIT; - multiline: 1; - source: "elm/entry/selection/style_editor"; // selection under - // source2: "X"; // selection over - // source3: "X"; // cursor under - source4: "elm/entry/cursor/style_editor"; // cursorover - source5: "elm/entry/anchor/style_editor"; // anchor under - // source6: "X"; // anchor over - description { state: "default" 0.0; - /* we gotta use 0 0 here, because of scrolled entries */ - fixed: 0 0; - text { - style: "entry_textblock_style_editor"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_editor"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } -} - -group { name: "elm/entry/base-single-noedit/style_editor"; - inherit: "elm/entry/base/style_editor"; - images { - image: "corner_top_left.png" COMP; - image: "corner_top_right.png" COMP; - image: "corner_bottom_left.png" COMP; - image: "corner_bottom_right.png" COMP; - } - parts { - part { name: "corner_top_left"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 75 75; - align: 0.0 0.0; - image { - normal: "corner_top_left.png"; - border: 0 2 0 2; - } - } - } - part { name: "corner_bottom_right"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 75 75; - align: 1.0 1.0; - image { - normal: "corner_bottom_right.png"; - border: 2 0 2 0; - } - } - } - part { name: "corner_top_right"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 75 75; - align: 1.0 0.0; - image { - normal: "corner_top_right.png"; - border: 2 0 0 2; - } - } - } - part { name: "corner_bottom_left"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 75 75; - align: 0.0 1.0; - image { - normal: "corner_bottom_left.png"; - border: 0 2 2 0; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - entry_mode: PLAIN; - multiline: 0; - source: "elm/entry/selection/style_editor"; // selection under - source4: ""; // cursorover - source5: "elm/entry/anchor/style_editor"; // anchor under - description { state: "default" 0.0; - rel1 { - to: "corner_top_left"; - relative: 1.0 1.0; - } - rel2 { - to: "corner_bottom_right"; - relative: 0.0 0.0; - } - text { - style: "entry_textblock_style_editor"; - min: 1 1; - max: 0 0; - ellipsis: -1; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_editor"; - } - } - } - } -} - -group { name: "elm/entry/cursor/style_editor"; - images { - image: "cur_box.png" COMP; - image: "cur_hi.png" COMP; - image: "cur_shine.png" COMP; - image: "cur_glow.png" COMP; - image: "cur_shad.png" COMP; - } - parts { - part { name: "clip2"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - visible: 0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clip"; - type: RECT; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.offset: -10 0; - rel2.offset: 9 9; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1 { - to: "base"; - offset: -2 0; - } - rel2 { - to: "base"; - offset: 1 1; - } - image { - border: 2 2 2 2; - normal: "cur_shad.png"; - } - } - } - part { name: "base"; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: 2 2; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image.normal: "cur_box.png"; - } - } - part { name: "hi"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2 { - to: "base"; - relative: 1.0 0.5; - } - image.normal: "cur_hi.png"; - } - } - part { name: "shine"; - mouse_events: 0; - clip_to: "clip"; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2 { - to: "base"; - relative: 1.0 0.75; - } - image { - border: 2 2 1 0; - normal: "cur_shine.png"; - } - fill.smooth: 0; - } - } - part { name: "glow"; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "base"; - relative: 0.0 -2.0; - offset: -2 0; - } - rel2 { - to: "base"; - relative: 1.0 0.0; - offset: 1 1; - } - image { - border: 2 2 0 4; - normal: "cur_glow.png"; - } - fill.smooth: 0; - color: 255 255 255 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 55; - visible: 1; - } - } - } - programs { - program { name: "blink"; - action: STATE_SET "visible" 0.0; - in: 0.2 0.0; - target: "clip"; - after: "blink2"; - } - program { name: "blink2"; - action: STATE_SET "visible" 0.0; - in: 0.2 0.0; - target: "glow"; - after: "blink3"; - } - program { name: "blink3"; - action: STATE_SET "default" 0.0; - in: 0.2 0.0; - target: "glow"; - after: "blink4"; - } - program { name: "blink4"; - action: STATE_SET "default" 0.0; - in: 0.2 0.0; - target: "clip"; - after: "blink"; - } - program { name: "noblink"; - action: ACTION_STOP; - target: "blink"; - target: "blink2"; - target: "blink3"; - target: "blink4"; - after: "noblink2"; - } - program { name: "noblink2"; - action: STATE_SET "default" 0.0; - target: "clip"; - target: "glow"; - } - program { name: "focused"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "clip2"; - after: "blink"; - } - program { name: "unfocused"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clip2"; - after: "noblink"; - } - } -} - -group { name: "elm/entry/anchor/style_editor"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 0 0 64; - } - } - } -} - group { name: "elm/entry/base/default"; parts { part { name: "elm.guide"; @@ -1080,7 +678,6 @@ group { name: "elm/entry/base-single/spinner/live_view"; } group { name: "elm/entry/selection/default"; - alias: "elm/entry/selection/style_editor"; parts { part { name: "bg"; type: RECT; --