hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=cbfe14c87ce690569039543ff7729fcf5ea18f87

commit cbfe14c87ce690569039543ff7729fcf5ea18f87
Author: ChunEon Park <[email protected]>
Date:   Wed Jul 30 17:02:08 2014 +0900

    refactoring code.
    
    renamed the edc file, group names to be more clear.
---
 data/themes/default/Makefile.am                    |   4 +-
 data/themes/default/enventor.edc                   |   4 +-
 data/themes/default/images/Makefile.am             |   2 +-
 .../images/{menu_layout.png => frame_bg.png}       | Bin
 data/themes/default/layout.edc                     | 677 ----------------
 .../themes/default/{menu.edc => layout_common.edc} | 897 +++++++++++++--------
 data/themes/default/layout_setting.edc             | 497 ++++++++++++
 src/bin/goto.c                                     |   2 +-
 src/bin/search.c                                   |   2 +-
 9 files changed, 1044 insertions(+), 1041 deletions(-)

diff --git a/data/themes/default/Makefile.am b/data/themes/default/Makefile.am
index b039dab..b205f2f 100644
--- a/data/themes/default/Makefile.am
+++ b/data/themes/default/Makefile.am
@@ -11,8 +11,8 @@ files_DATA = enventor.edj
 EXTRA_DIST = enventor.edc \
              content.edc \
              images.edc \
-             layout.edc \
-             menu.edc \
+             layout_common.edc \
+             layout_setting.edc \
              theme_ext.edc
 
 enventor.edj: Makefile $(EXTRA_DIST)
diff --git a/data/themes/default/enventor.edc b/data/themes/default/enventor.edc
index b522e04..09e2853 100644
--- a/data/themes/default/enventor.edc
+++ b/data/themes/default/enventor.edc
@@ -6,6 +6,6 @@ collections {
    #include "content.edc"
    #include "images.edc"
    #include "theme_ext.edc"
-   #include "layout.edc"
-   #include "menu.edc"
+   #include "layout_common.edc"
+   #include "layout_setting.edc"
 }
diff --git a/data/themes/default/images/Makefile.am 
b/data/themes/default/images/Makefile.am
index 7988609..474bb67 100644
--- a/data/themes/default/images/Makefile.am
+++ b/data/themes/default/images/Makefile.am
@@ -21,7 +21,7 @@ EXTRA_DIST = \
    holes_vert.png \
    inset_shadow.png \
    logo.png \
-   menu_layout.png \
+   frame_bg.png \
    minus.png \
    part_highlight.png \
    plus.png \
diff --git a/data/themes/default/images/menu_layout.png 
b/data/themes/default/images/frame_bg.png
similarity index 100%
rename from data/themes/default/images/menu_layout.png
rename to data/themes/default/images/frame_bg.png
diff --git a/data/themes/default/layout.edc b/data/themes/default/layout.edc
deleted file mode 100644
index 1427867..0000000
--- a/data/themes/default/layout.edc
+++ /dev/null
@@ -1,677 +0,0 @@
-styles {
-     style { name: "entry_statusbar_style";
-        base: "font="FN" font_size=11 text_class=entry color=#ffffff 
style=shadow,bottom shadow_color=#00000080 glow_color=#3399ff18 valign=1 
ellipsis=1.0 wrap=none";
-     }
-}
-group { name: "goto";
-   parts {
-      part { name: "base";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            min: 300 67;
-         }
-      }
-      part { name: "left_top_padding";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 0 0;
-            rel2.relative: 0 0;
-            fixed: 1 1;
-            align: 0 0;
-            min: 5 5;
-         }
-      }
-      part { name: "elm.text.goto";
-         type: TEXT;
-         scale: 1;
-         effect: SHADOW BOTTOM;
-         description { state: "default" 0.0;
-            align: 0 0;
-            rel1.to: "left_top_padding";
-            rel2.to: "left_top_padding";
-            rel1.relative: 1 1;
-            rel2.relative: 1 1;
-            text {
-               font: FN;
-               size: 11;
-               align: 0 0;
-            }
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            min: 180 20;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.entry";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to: "elm.text.goto";
-            rel2.to_y: "elm.text.goto";
-            rel2.offset: -5 -1;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.text.msg";
-         type: TEXT;
-         scale: 1;
-         effect: GLOW;
-         description { state: "default" 0.0;
-            align: 0 0;
-            rel1.to: "elm.text.goto";
-            rel2.to: "elm.text.goto";
-            rel1.relative: 0 1;
-            rel2.relative: 0 1;
-            rel1.offset: 0 10;
-            text {
-               font: FN;
-               size: 10;
-               align: 0 0.5;
-            }
-            color: 51 153 255 255;
-            color2: 51 153 255 16;
-            color3: 51 153 255 8;
-            min: 180 30;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.btn";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to_y: "elm.text.msg";
-            rel1.offset: 5 0;
-            rel2.offset: -3 -3;
-            min: 75 0;
-            align: 1 0;
-            fixed: 1 1;
-         }
-      }
-   }
-}
-group { name: "search";
-   parts {
-      part { name: "base";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            min: 330 90;
-         }
-      }
-      part { name: "left_top_padding";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 0 0;
-            rel2.relative: 0 0;
-            fixed: 1 1;
-            align: 0 0;
-            min: 5 5;
-         }
-      }
-      part { name: "elm.text.find";
-         type: TEXT;
-         scale: 1;
-         effect: SHADOW BOTTOM;
-         description { state: "default" 0.0;
-            align: 0 0;
-            rel1.to: "left_top_padding";
-            rel2.to: "left_top_padding";
-            rel1.relative: 1 1;
-            rel2.relative: 1 1;
-            text {
-               font: FN;
-               size: 11;
-               align: 0 0;
-               text: "Find:";
-            }
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            min: 80 20;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.text.replace";
-         type: TEXT;
-         scale: 1;
-         effect: SHADOW BOTTOM;
-         description { state: "default" 0.0;
-            align: 0 0;
-            rel1.to: "elm.text.find";
-            rel2.to: "elm.text.find";
-            rel1.relative: 0 1;
-            rel2.relative: 0 1;
-            rel1.offset: 0 5;
-            text {
-               font: FN;
-               size: 11;
-               align: 0 0;
-               text: "Replace with:";
-            }
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            min: 80 20;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.text.dir";
-         type: TEXT;
-         scale: 1;
-         effect: GLOW;
-         description { state: "default" 0.0;
-            align: 0 0;
-            rel1.to: "elm.text.replace";
-            rel2.to: "elm.text.replace";
-            rel1.relative: 0 1;
-            rel2.relative: 0 1;
-            rel1.offset: 0 10;
-            text {
-               font: FN;
-               size: 10;
-               align: 0 0.5;
-               text: "Forward";
-            }
-            color: 51 153 255 255;
-            color2: 51 153 255 16;
-            color3: 51 153 255 8;
-            min: 80 30;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.find_entry";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to: "elm.text.find";
-            rel2.to_y: "elm.text.find";
-            rel2.offset: -5 -1;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.replace_entry";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to: "elm.text.replace";
-            rel2.to_y: "elm.text.replace";
-            rel2.offset: -5 -1;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.forward";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 0 1;
-            rel2.relative: 0 1;
-            rel1.to_x: "elm.swallow.replace_entry";
-            rel1.to_y: "elm.swallow.replace_entry";
-            rel2.to_x: "elm.swallow.replace_entry";
-            rel2.to_y: "elm.swallow.replace_entry";
-            rel1.offset: 0 10;
-            min: 50 25;
-            align: 0 0;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.backward";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to: "elm.swallow.forward";
-            rel2.to: "elm.swallow.forward";
-            rel1.offset: 5 0;
-            min: 50 25;
-            align: 0 0;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.replace";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to: "elm.swallow.backward";
-            rel2.to: "elm.swallow.backward";
-            rel1.offset: 5 0;
-            min: 50 25;
-            align: 0 0;
-            fixed: 1 1;
-         }
-      }
-      part { name: "elm.swallow.replace_all";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 1 0;
-            rel2.relative: 1 1;
-            rel1.to: "elm.swallow.replace";
-            rel2.to: "elm.swallow.replace";
-            rel1.offset: 5 0;
-            min: 50 25;
-            align: 0 0;
-            fixed: 1 1;
-         }
-      }
-   }
-}
-
-group { name: "viewer_layout";
-   parts {
-      part { name: "prev_clipper";
-         type: RECT;
-         description { state: "default" 0.0;
-         }
-         description { state: "switched" 0.0;
-            color: 255 255 255 0;
-         }
-      }
-      part { name: "cur_clipper";
-         type: RECT;
-         description { state: "default" 0.0;
-            rel1.relative: -1 0;
-            rel2.relative: 0 1;
-            color: 255 255 255 0;
-         }
-         description { state: "switched" 0.0;
-            rel1.relative: 0 0;
-            rel2.relative: 1 1;
-            color: 255 255 255 255;
-         }
-      }
-      part { name: "elm.swallow.prev";
-         type: SWALLOW;
-         clip_to: "prev_clipper";
-         description { state: "default" 0.0;
-         }
-      }
-      part { name: "elm.swallow.content";
-         type: SWALLOW;
-         clip_to: "cur_clipper";
-         description { state: "default" 0.0;
-            rel1.to: "cur_clipper";
-            rel2.to: "cur_clipper";
-         }
-      }
-   }
-   programs {
-      program { name: "switch_instant";
-         signal: "elm,view,switch,instant";
-         source: "";
-         action: STATE_SET "switched" 0.0;
-         target: "prev_clipper";
-         target: "cur_clipper";
-      }
-      program { name: "switch";
-         signal: "elm,view,switch";
-         source: "";
-         action: STATE_SET "default" 0.0;
-         target: "prev_clipper";
-         target: "cur_clipper";
-         after: "switched";
-      }
-      program { name: "switched";
-         action: STATE_SET "switched" 0.0;
-         target: "prev_clipper";
-         target: "cur_clipper";
-         transition: DECELERATE 0.25;
-      }
-   }
-}
-
-group { name: "preview_layout";
-   parts {
-      part { name: "bg";
-         type: RECT;
-         description { state: "default" 0.0;
-            min: 100 100;
-            color: 225 225 225 255;
-            rel1.offset: 2 2;
-            rel2.offset: -3 -3;
-         }
-      }
-      part { name: "elm.swallow.img";
-         type: SWALLOW;
-         description { state: "default" 0.0;
-            rel1.to: "bg";
-            rel2.to: "bg";
-         }
-      }
-   }
-}
-
-group { name: "slider_layout";
-   parts {
-      part { name: "elm.swallow.plus";
-         type: SWALLOW;
-         description { state: "default" 0.0;
-            min: 24 24;
-            fixed: 1 1;
-            align: 0 0.5;
-            rel1.relative: 0.0 0.5;
-            rel2.relative: 0.0 0.5;
-         }
-      }
-      part { name: "elm.swallow.minus";
-         type: SWALLOW;
-         description { state: "default" 0.0;
-            min: 24 24;
-            fixed: 1 1;
-            align: 0 0.5;
-            rel1.to: "elm.swallow.plus";
-            rel2.to: "elm.swallow.plus";
-            rel1.relative: 1.0 0.5;
-            rel2.relative: 1.0 0.5;
-         }
-      }
-      part { name: "elm.swallow.slider";
-         type: SWALLOW;
-         description { state: "default" 0.0;
-            rel1.to_x: "elm.swallow.minus";
-            rel1.relative: 1 0;
-            rel1.offset: 5 0;
-         }
-      }
-   }
-}
-
-group { name: "statusbar_layout";
-   parts {
-      part { name: "base_clip";
-         type: RECT;
-         description { state: "default" 0.0;
-            color: 255 255 255 255;
-         }
-         description { state: "hide" 0.0;
-            color: 0 0 0 0;
-         }
-      }
-      part { name: "elm.text.view_size";
-         type: TEXTBLOCK;
-         scale: 1;
-         clip_to: "base_clip";
-         description {
-            rel1.to: "base_clip";
-            rel2.to: "base_clip";
-            rel2.relative: 0.0 1.0;
-            align: 0 0.5;
-            min: 120 14;
-            fixed: 1 0;
-            rel1.offset: 0 -2;
-            rel2.offset: -1 -3;
-            text.style: "entry_statusbar_style";
-         }
-      }
-      part { name: "elm.text.cur_pos";
-         type: TEXTBLOCK;
-         scale: 1;
-         clip_to: "base_clip";
-         description {
-            rel1.to: "elm.text.view_size";
-            rel1.relative: 1 0.0;
-            rel2.to: "elm.text.view_size";
-            rel2.relative: 1 1.0;
-            min: 200 14;
-            fixed: 1 0;
-            align: 0 0.5;
-            text.style: "entry_statusbar_style";
-         }
-      }
-      part { name: "elm.text.group_name";
-         type: TEXTBLOCK;
-         scale: 1;
-         clip_to: "base_clip";
-         description {
-            rel1.to: "elm.text.cur_pos";
-            rel1.relative: 1 0.0;
-            rel2.to: "elm.text.line";
-            rel2.relative: 0 1.0;
-            min: 180 14;
-            align: 1 0.5;
-            fixed: 1 0;
-            text.style: "entry_statusbar_style";
-         }
-      }
-      part { name: "elm.text.group_name_bracket";
-         type: TEXT;
-         scale: 1;
-         effect: SHADOW BOTTOM;
-         clip_to: "base_clip";
-         description {
-            rel1.to_x: "elm.text.group_name";
-            rel1.relative: 1 0.0;
-            rel2.to_x: "elm.text.group_name";
-            rel2.relative: 1 1.0;
-            min: 6 14;
-            align: 0 0.5;
-            fixed: 1 0;
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            text {
-               text: "]";
-               size: 11;
-               align: 0 0.5;
-            }
-         }
-      }
-      part { name: "elm.text.line";
-         type: TEXTBLOCK;
-         scale: 1;
-         clip_to: "base_clip";
-         description {
-            rel1.relative: 1 0;
-            rel1.offset: 0 -2;
-            rel2.offset: -1 -3;
-            align: 1 0.5;
-            min: 100 14;
-            fixed: 1 0;
-            text.style: "entry_statusbar_style";
-         }
-      }
-      part { name: "elm.text.info_msg";
-         type: TEXT;
-         scale: 1;
-         effect: GLOW;
-         description { state: "default" 0.0;
-            align: 0 0.5;
-            rel1.offset: 0 -1;
-            rel2.offset: -1 -2;
-            text {
-               font: FN;
-               size: 11;
-               align: 0 0.5;
-            }
-            color: 51 153 255 0;
-            color2: 51 153 255 0;
-            color3: 51 153 255 0;
-         }
-         description { state: "show" 0.0;
-            inherit: "default" 0.0;
-            color: 51 153 255 255;
-            color2: 51 153 255 24;
-            color3: 51 153 255 18;
-         }
-      }
-      program { name: "info_msg_show";
-         signal: "elm,action,info_msg,show";
-         source: "";
-         action: STATE_SET "hide" 0.0;
-         target: "base_clip";
-         transition: DECELERATE 0.15;
-         after: "info_msg_show2";
-      }
-      program { name: "info_msg_show2";
-         action: STATE_SET "show" 0.0;
-         target: "elm.text.info_msg";
-         transition: DECELERATE 0.3;
-         after: "info_msg_idle";
-      }
-      program { name: "info_msg_idle";
-         action: STATE_SET "show" 0.0;
-         target: "elm.text.info_msg";
-         transition: LINEAR 2;
-         after: "info_msg_hide";
-      }
-      program { name: "info_msg_hide";
-         signal: "elm,action,info_msg,hide";
-         source: "";
-         action: STATE_SET "default" 0.0;
-         target: "elm.text.info_msg";
-         transition: DECELERATE 0.3;
-         after: "info_msg_hide2";
-      }
-      program { name: "info_msg_hide2";
-         action: STATE_SET "default" 0.0;
-         target: "base_clip";
-         transition: DECELERATE 0.3;
-      }
-   }
-}
-
-group { name: "main_layout";
-   parts {
-      part { name: "base";
-         type: SPACER;
-         scale: 1;
-         description {
-            min: 640 440;
-         }
-      }
-      part { name: "elm.swallow.tools";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 0 0;
-            rel2.relative: 1 0;
-            min: 0 26;
-            fixed: 0 1;
-            align: 0.5 1;
-         }
-         description { state: "visible" 0.0;
-            inherit: "default";
-            align: 0.5 0;
-         }
-      }
-      part { name: "elm.swallow.panes";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 0 1;
-            rel2.relative: 1 0;
-            rel1.to_y: "elm.swallow.tools";
-            rel2.to_y: "elm.swallow.statusbar";
-         }
-      }
-      part { name: "elm.swallow.statusbar";
-         type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            rel1.relative: 0 1;
-            rel2.relative: 1 1;
-            align: 0.5 0;
-            min: 0 15;
-            fixed: 0 1;
-         }
-         description { state: "visible" 0.0;
-            inherit: "default" 0.0;
-            align: 0.5 1;
-         }
-      }
-   }
-   programs {
-      program { name: "statusbar_show";
-         signal: "elm,state,statusbar,show";
-         action: STATE_SET "visible" 0.0;
-         target: "elm.swallow.statusbar";
-         transition: DECELERATE 0.35;
-      }
-      program { name: "statusbar_hide";
-         signal: "elm,state,statusbar,hide";
-         action: STATE_SET "default" 0.0;
-         target: "elm.swallow.statusbar";
-         transition: DECELERATE 0.35;
-      }
-      program { name: "tools_show";
-         signal: "elm,state,tools,show";
-         action: STATE_SET "visible" 0.0;
-         target: "elm.swallow.tools";
-         transition: DECELERATE 0.35;
-      }
-      program { name: "tools_hide";
-         signal: "elm,state,tools,hide";
-         action: STATE_SET "default" 0.0;
-         target: "elm.swallow.tools";
-         transition: DECELERATE 0.35;
-      }
-
-   }
-}
-
-group { name: "edit_layout";
-   parts {
-      part { name: "base_clip";
-         type: RECT;
-         description { state: "default" 0.0;
-            rel1.to: "elm.swallow.linenumber";
-            rel2.to: "elm.swallow.linenumber";
-            rel2.relative: 1 1;
-         }
-         description { state: "hide" 0.0;
-            rel1.to: "elm.swallow.linenumber";
-            rel2.to: "elm.swallow.linenumber";
-            rel2.relative: 0 1;
-         }
-      }
-      part { name: "elm.swallow.linenumber";
-         type: SWALLOW;
-         scale: 1;
-         clip_to: "base_clip";
-         mouse_events: 0;
-         description {
-            fixed: 1 0;
-            align: 0 0.5;
-            min: 15 0;
-            rel1.relative: 0 0;
-            rel1.offset: 3 0;
-            rel2.relative: 0 1;
-         }
-      }
-      part { name: "elm.swallow.edit";
-         type: SWALLOW;
-         scale: 1;
-         description {
-            align: 0 0.5;
-            rel1.relative: 1 0;
-            rel1.to: "base_clip";
-            fixed: 0 1;
-         }
-      }
-   }
-   programs {
-      program { name: "linenumber_show";
-         signal: "elm,state,linenumber,show";
-         action: STATE_SET "default" 0.0;
-         target: "base_clip";
-         transition: DECELERATE 0.35;
-      }
-      program { name: "linenumber_hide";
-         signal: "elm,state,linenumber,hide";
-         action: STATE_SET "hide" 0.0;
-         target: "base_clip";
-         transition: DECELERATE 0.35;
-      }
-   }
-}
diff --git a/data/themes/default/menu.edc 
b/data/themes/default/layout_common.edc
similarity index 70%
rename from data/themes/default/menu.edc
rename to data/themes/default/layout_common.edc
index 4e1819d..2bee26e 100644
--- a/data/themes/default/menu.edc
+++ b/data/themes/default/layout_common.edc
@@ -1,9 +1,6 @@
 images {
-   image: "menu_layout.png" COMP;
-   image: "folder.png" COMP;
-   image: "preference.png" COMP;
+   image: "frame_bg.png" COMP;
    image: "warning.png" COMP;
-   image: "setting_icon.png" COMP;
    image: "fileselect.png" COMP;
    image: "new.png" COMP;
    image: "logo.png" COMP;
@@ -11,6 +8,12 @@ images {
    image: "bub_over_bot.png" COMP;
 }
 
+styles {
+     style { name: "entry_statusbar_style";
+        base: "font="FN" font_size=11 text_class=entry color=#ffffff 
style=shadow,bottom shadow_color=#00000080 glow_color=#3399ff18 valign=1 
ellipsis=1.0 wrap=none";
+     }
+}
+
 group { name: "about_layout";
    parts {
       part { name: "clipper";
@@ -139,7 +142,7 @@ group { name: "fileselector_layout";
             min: 600 380;
             max: 600 380;
             fixed: 1 1;
-            image.normal: "menu_layout.png";
+            image.normal: "frame_bg.png";
             image.border: 10 10 10 10;
             image.border_scale: 1;
          }
@@ -339,7 +342,7 @@ group { name: "newfile_layout";
             min: 600 380;
             max: 600 380;
             fixed: 1 1;
-            image.normal: "menu_layout.png";
+            image.normal: "frame_bg.png";
             image.border: 10 10 10 10;
             image.border_scale: 1;
          }
@@ -527,7 +530,7 @@ group { name: "warning_layout";
             min: 300 135;
             max: 300 135;
             fixed: 1 1;
-            image.normal: "menu_layout.png";
+            image.normal: "frame_bg.png";
             image.border: 10 10 10 10;
             image.border_scale: 1;
          }
@@ -1015,495 +1018,675 @@ group { name: "menu_layout";
    }
 }
 
-group { name: "setting_layout";
+group { name: "goto_layout";
    parts {
-      part { name: "clipper";
-         type: RECT;
-         description { state: "default" 0.0;
-            color: 127 127 127 127;
-         }
-         description { state: "show" 0.0;
-            color: 255 255 255 255;
-         }
-      }
-      part { name: "bg";
-         type: RECT;
-         clip_to: "clipper";
+      part { name: "base";
+         type: SPACER;
+         scale: 1;
          description { state: "default" 0.0;
-            color: 0 0 0 175;
+            min: 300 67;
          }
       }
-      part { name: "base_frame_img";
-         type: IMAGE;
+      part { name: "left_top_padding";
+         type: SPACER;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            min: 600 380;
-            max: 600 380;
+         description { state: "default" 0.0;
+            rel1.relative: 0 0;
+            rel2.relative: 0 0;
             fixed: 1 1;
-            image.normal: "menu_layout.png";
-            image.border: 10 10 10 10;
-            image.border_scale: 1;
+            align: 0 0;
+            min: 5 5;
          }
       }
-      part { name: "shine_img";
-         type: IMAGE;
+      part { name: "elm.text.goto";
+         type: TEXT;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            rel1 { to: "base_frame_img"; relative: 0 0; }
-            rel2 { to: "base_frame_img"; relative: 1 0; }
-            align: 0.5 0;
-            min: 600 3;
+         effect: SHADOW BOTTOM;
+         description { state: "default" 0.0;
+            align: 0 0;
+            rel1.to: "left_top_padding";
+            rel2.to: "left_top_padding";
+            rel1.relative: 1 1;
+            rel2.relative: 1 1;
+            text {
+               font: FN;
+               size: 11;
+               align: 0 0;
+            }
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            min: 180 20;
             fixed: 1 1;
-            image.normal: "shine.png";
-         }
-      }
-      part { name: "base_frame";
-         type: SPACER;
-         description {
-            rel1 {to: "base_frame_img"; offset: 10 10;}
-            rel2 {to: "base_frame_img"; offset: -11 -11;}
-         }
-      }
-      part { name: "title_frame";
-         type: RECT;
-         clip_to: "clipper";
-         scale: 1;
-         description {
-            rel1 {to: "base_frame"; relative: 0 0;}
-            rel2 {to: "base_frame"; relative: 1 0;}
-            align: 0.5 0;
-            min: 0 23;
-            fixed: 0 1;
-            color: 0 0 0 255;
          }
       }
-      part { name: "title_icon";
-         type: IMAGE;
+      part { name: "elm.swallow.entry";
+         type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0.5;
-            min: 20 20;
-            max: 20 20;
+         description { state: "default" 0.0;
+            rel1.relative: 1 0;
+            rel2.relative: 1 1;
+            rel1.to: "elm.text.goto";
+            rel2.to_y: "elm.text.goto";
+            rel2.offset: -5 -1;
             fixed: 1 1;
-            rel1.to: "title_frame";
-            rel2.to: "title_frame";
-            image.normal: "setting_icon.png";
          }
       }
-      part { name: "title_name";
+      part { name: "elm.text.msg";
          type: TEXT;
          scale: 1;
-         clip_to: "clipper";
          effect: GLOW;
-         description {
-            rel1.to: "title_frame";
-            rel2.to: "title_frame";
-            align: 0.5 0.5;
-            fixed: 1 1;
+         description { state: "default" 0.0;
+            align: 0 0;
+            rel1.to: "elm.text.goto";
+            rel2.to: "elm.text.goto";
+            rel1.relative: 0 1;
+            rel2.relative: 0 1;
+            rel1.offset: 0 10;
             text {
                font: FN;
-               text: "Setting";
-               size: 12;
-               align: 0.5 0.5;
-               min: 1 0;
+               size: 10;
+               align: 0 0.5;
             }
             color: 51 153 255 255;
-            color2: 51 153 255 24;
-            color3: 51 153 255 18;
-         }
-      }
-      part { name: "img_path_frame";
-         type: SPACER;
-         description {
-            rel1 {to: "title_frame"; relative: 0 1;}
-            rel2 {to: "title_frame"; relative: 1 1;}
-            align: 0.5 0;
-            min: 0 30;
-            fixed: 0 1;
-         }
-      }
-      part { name: "snd_path_frame";
-         type: SPACER;
-         scale: 1;
-         description {
-            rel1 {to: "img_path_frame"; relative: 0 1;}
-            rel2 {to: "img_path_frame"; relative: 1 1;}
-            align: 0.5 0;
-            min: 0 30;
-            fixed: 0 1;
+            color2: 51 153 255 16;
+            color3: 51 153 255 8;
+            min: 180 30;
+            fixed: 1 1;
          }
       }
-      part { name: "fnt_path_frame";
-         type: SPACER;
+      part { name: "elm.swallow.btn";
+         type: SWALLOW;
          scale: 1;
-         description {
-            rel1 {to: "snd_path_frame"; relative: 0 1;}
-            rel2 {to: "snd_path_frame"; relative: 1 1;}
-            align: 0.5 0;
-            min: 0 30;
-            fixed: 0 1;
+         description { state: "default" 0.0;
+            rel1.relative: 1 0;
+            rel2.relative: 1 1;
+            rel1.to_y: "elm.text.msg";
+            rel1.offset: 5 0;
+            rel2.offset: -3 -3;
+            min: 75 0;
+            align: 1 0;
+            fixed: 1 1;
          }
       }
-      part { name: "data_path_frame";
+   }
+}
+group { name: "search_layout";
+   parts {
+      part { name: "base";
          type: SPACER;
          scale: 1;
-         description {
-            rel1 {to: "fnt_path_frame"; relative: 0 1;}
-            rel2 {to: "fnt_path_frame"; relative: 1 1;}
-            align: 0.5 0;
-            min: 0 30;
-            fixed: 0 1;
+         description { state: "default" 0.0;
+            min: 330 90;
          }
       }
-      part { name: "preference_frame";
+      part { name: "left_top_padding";
          type: SPACER;
          scale: 1;
-         description {
-            rel1 {to: "data_path_frame"; relative: 0 1;}
-            rel2 {to: "data_path_frame"; relative: 1 1;}
-            align: 0.5 0;
-            min: 0 185;
-            fixed: 0 1;
-         }
-      }
-      part { name: "img_path_icon";
-         type: IMAGE;
-         scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0.5;
-            min: 20 20;
-            max: 20 20;
+         description { state: "default" 0.0;
+            rel1.relative: 0 0;
+            rel2.relative: 0 0;
             fixed: 1 1;
-            rel1.to: "img_path_frame";
-            rel2.to: "img_path_frame";
-            image.normal: "folder.png";
+            align: 0 0;
+            min: 5 5;
          }
       }
-      part { name: "img_path_guide";
+      part { name: "elm.text.find";
          type: TEXT;
          scale: 1;
-         clip_to: "clipper";
          effect: SHADOW BOTTOM;
-         description {
-            rel1 {to: "img_path_icon"; relative: 1 0; offset: 5 1;}
-            rel2 {to: "img_path_icon"; relative: 1 1;}
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            align: 0 0.5;
-            fixed: 1 1;
+         description { state: "default" 0.0;
+            align: 0 0;
+            rel1.to: "left_top_padding";
+            rel2.to: "left_top_padding";
+            rel1.relative: 1 1;
+            rel2.relative: 1 1;
             text {
                font: FN;
-               text: "Image Paths:";
                size: 11;
-               align: 0 0.5;
-               min: 1 0;
+               align: 0 0;
+               text: "Find:";
             }
-         }
-      }
-      part { name: "elm.swallow.img_path_entry";
-         type: SWALLOW;
-         scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0;
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            min: 80 20;
             fixed: 1 1;
-            rel1.to_x: "img_path_guide";
-            rel1.to_y: "img_path_guide";
-            rel1.offset: 5 0;
-            rel1.relative: 1 0;
-            rel2.to: "img_path_frame";
          }
       }
-      part { name: "snd_path_icon";
-         type: IMAGE;
+      part { name: "elm.text.replace";
+         type: TEXT;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0.5;
-            min: 20 20;
-            max: 20 20;
+         effect: SHADOW BOTTOM;
+         description { state: "default" 0.0;
+            align: 0 0;
+            rel1.to: "elm.text.find";
+            rel2.to: "elm.text.find";
+            rel1.relative: 0 1;
+            rel2.relative: 0 1;
+            rel1.offset: 0 5;
+            text {
+               font: FN;
+               size: 11;
+               align: 0 0;
+               text: "Replace with:";
+            }
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            min: 80 20;
             fixed: 1 1;
-            rel1.to: "snd_path_frame";
-            rel2.to: "snd_path_frame";
-            image.normal: "folder.png";
          }
       }
-      part { name: "snd_path_guide";
+      part { name: "elm.text.dir";
          type: TEXT;
-         effect: SHADOW BOTTOM;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            rel1 {to: "snd_path_icon"; relative: 1 0; offset: 5 1;}
-            rel2 {to: "snd_path_icon"; relative: 1 1;}
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            align: 0 0.5;
-            fixed: 1 1;
+         effect: GLOW;
+         description { state: "default" 0.0;
+            align: 0 0;
+            rel1.to: "elm.text.replace";
+            rel2.to: "elm.text.replace";
+            rel1.relative: 0 1;
+            rel2.relative: 0 1;
+            rel1.offset: 0 10;
             text {
                font: FN;
-               text: "Sound Paths:";
-               size: 11;
+               size: 10;
                align: 0 0.5;
-               min: 1 0;
+               text: "Forward";
             }
+            color: 51 153 255 255;
+            color2: 51 153 255 16;
+            color3: 51 153 255 8;
+            min: 80 30;
+            fixed: 1 1;
          }
       }
-      part { name: "elm.swallow.snd_path_entry";
+      part { name: "elm.swallow.find_entry";
          type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0;
-            fixed: 1 1;
-            rel1.to_x: "snd_path_guide";
-            rel1.to_y: "snd_path_guide";
-            rel1.offset: 5 0;
+         description { state: "default" 0.0;
             rel1.relative: 1 0;
-            rel2.to: "snd_path_frame";
-         }
-      }
-      part { name: "fnt_path_icon";
-         type: IMAGE;
-         scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0.5;
-            min: 20 20;
-            max: 20 20;
+            rel2.relative: 1 1;
+            rel1.to: "elm.text.find";
+            rel2.to_y: "elm.text.find";
+            rel2.offset: -5 -1;
             fixed: 1 1;
-            rel1.to: "fnt_path_frame";
-            rel2.to: "fnt_path_frame";
-            image.normal: "folder.png";
          }
       }
-      part { name: "fnt_path_guide";
-         type: TEXT;
-         effect: SHADOW BOTTOM;
+      part { name: "elm.swallow.replace_entry";
+         type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            rel1 {to: "fnt_path_icon"; relative: 1 0; offset: 5 1;}
-            rel2 {to: "fnt_path_icon"; relative: 1 1;}
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            align: 0 0.5;
+         description { state: "default" 0.0;
+            rel1.relative: 1 0;
+            rel2.relative: 1 1;
+            rel1.to: "elm.text.replace";
+            rel2.to_y: "elm.text.replace";
+            rel2.offset: -5 -1;
             fixed: 1 1;
-            text {
-               font: FN;
-               text: "Font Paths:";
-               size: 11;
-               align: 0 0.5;
-               min: 1 0;
-            }
          }
       }
-      part { name: "elm.swallow.fnt_path_entry";
+      part { name: "elm.swallow.forward";
          type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
+         description { state: "default" 0.0;
+            rel1.relative: 0 1;
+            rel2.relative: 0 1;
+            rel1.to_x: "elm.swallow.replace_entry";
+            rel1.to_y: "elm.swallow.replace_entry";
+            rel2.to_x: "elm.swallow.replace_entry";
+            rel2.to_y: "elm.swallow.replace_entry";
+            rel1.offset: 0 10;
+            min: 50 25;
             align: 0 0;
             fixed: 1 1;
-            rel1.to_x: "fnt_path_guide";
-            rel1.to_y: "fnt_path_guide";
-            rel1.offset: 17 0;
-            rel1.relative: 1 0;
-            rel2.to: "fnt_path_frame";
          }
       }
-      part { name: "data_path_icon";
-         type: IMAGE;
+      part { name: "elm.swallow.backward";
+         type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0.5;
-            min: 20 20;
-            max: 20 20;
+         description { state: "default" 0.0;
+            rel1.relative: 1 0;
+            rel2.relative: 1 1;
+            rel1.to: "elm.swallow.forward";
+            rel2.to: "elm.swallow.forward";
+            rel1.offset: 5 0;
+            min: 50 25;
+            align: 0 0;
             fixed: 1 1;
-            rel1.to: "data_path_frame";
-            rel2.to: "data_path_frame";
-            image.normal: "folder.png";
          }
       }
-      part { name: "data_path_guide";
-         type: TEXT;
-         effect: SHADOW BOTTOM;
+      part { name: "elm.swallow.replace";
+         type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            rel1 {to: "data_path_icon"; relative: 1 0; offset: 5 1;}
-            rel2 {to: "data_path_icon"; relative: 1 1;}
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
-            align: 0 0.5;
+         description { state: "default" 0.0;
+            rel1.relative: 1 0;
+            rel2.relative: 1 1;
+            rel1.to: "elm.swallow.backward";
+            rel2.to: "elm.swallow.backward";
+            rel1.offset: 5 0;
+            min: 50 25;
+            align: 0 0;
             fixed: 1 1;
-            text {
-               font: FN;
-               text: "Data Paths:";
-               size: 11;
-               align: 0 0.5;
-               min: 1 0;
-            }
          }
       }
-      part { name: "elm.swallow.data_path_entry";
+      part { name: "elm.swallow.replace_all";
          type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
+         description { state: "default" 0.0;
+            rel1.relative: 1 0;
+            rel2.relative: 1 1;
+            rel1.to: "elm.swallow.replace";
+            rel2.to: "elm.swallow.replace";
+            rel1.offset: 5 0;
+            min: 50 25;
             align: 0 0;
             fixed: 1 1;
-            rel1.to_x: "data_path_guide";
-            rel1.to_y: "data_path_guide";
-            rel1.offset: 14 0;
+         }
+      }
+   }
+}
+
+group { name: "viewer_layout";
+   parts {
+      part { name: "prev_clipper";
+         type: RECT;
+         description { state: "default" 0.0;
+         }
+         description { state: "switched" 0.0;
+            color: 255 255 255 0;
+         }
+      }
+      part { name: "cur_clipper";
+         type: RECT;
+         description { state: "default" 0.0;
+            rel1.relative: -1 0;
+            rel2.relative: 0 1;
+            color: 255 255 255 0;
+         }
+         description { state: "switched" 0.0;
+            rel1.relative: 0 0;
+            rel2.relative: 1 1;
+            color: 255 255 255 255;
+         }
+      }
+      part { name: "elm.swallow.prev";
+         type: SWALLOW;
+         clip_to: "prev_clipper";
+         description { state: "default" 0.0;
+         }
+      }
+      part { name: "elm.swallow.content";
+         type: SWALLOW;
+         clip_to: "cur_clipper";
+         description { state: "default" 0.0;
+            rel1.to: "cur_clipper";
+            rel2.to: "cur_clipper";
+         }
+      }
+   }
+   programs {
+      program { name: "switch_instant";
+         signal: "elm,view,switch,instant";
+         source: "";
+         action: STATE_SET "switched" 0.0;
+         target: "prev_clipper";
+         target: "cur_clipper";
+      }
+      program { name: "switch";
+         signal: "elm,view,switch";
+         source: "";
+         action: STATE_SET "default" 0.0;
+         target: "prev_clipper";
+         target: "cur_clipper";
+         after: "switched";
+      }
+      program { name: "switched";
+         action: STATE_SET "switched" 0.0;
+         target: "prev_clipper";
+         target: "cur_clipper";
+         transition: DECELERATE 0.25;
+      }
+   }
+}
+
+group { name: "preview_layout";
+   parts {
+      part { name: "bg";
+         type: RECT;
+         description { state: "default" 0.0;
+            min: 100 100;
+            color: 225 225 225 255;
+            rel1.offset: 2 2;
+            rel2.offset: -3 -3;
+         }
+      }
+      part { name: "elm.swallow.img";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            rel1.to: "bg";
+            rel2.to: "bg";
+         }
+      }
+   }
+}
+
+group { name: "slider_layout";
+   parts {
+      part { name: "elm.swallow.plus";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            min: 24 24;
+            fixed: 1 1;
+            align: 0 0.5;
+            rel1.relative: 0.0 0.5;
+            rel2.relative: 0.0 0.5;
+         }
+      }
+      part { name: "elm.swallow.minus";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            min: 24 24;
+            fixed: 1 1;
+            align: 0 0.5;
+            rel1.to: "elm.swallow.plus";
+            rel2.to: "elm.swallow.plus";
+            rel1.relative: 1.0 0.5;
+            rel2.relative: 1.0 0.5;
+         }
+      }
+      part { name: "elm.swallow.slider";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            rel1.to_x: "elm.swallow.minus";
             rel1.relative: 1 0;
-            rel2.to: "data_path_frame";
+            rel1.offset: 5 0;
          }
       }
-      part { name: "preference_icon";
-         type: IMAGE;
+   }
+}
+
+group { name: "statusbar_layout";
+   parts {
+      part { name: "base_clip";
+         type: RECT;
+         description { state: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description { state: "hide" 0.0;
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "elm.text.view_size";
+         type: TEXTBLOCK;
          scale: 1;
-         clip_to: "clipper";
+         clip_to: "base_clip";
          description {
-            align: 0 0;
-            min: 20 20;
-            max: 20 20;
-            fixed: 1 1;
-            rel1.to: "preference_frame";
-            rel2.to: "preference_frame";
-            image.normal: "preference.png";
+            rel1.to: "base_clip";
+            rel2.to: "base_clip";
+            rel2.relative: 0.0 1.0;
+            align: 0 0.5;
+            min: 120 14;
+            fixed: 1 0;
+            rel1.offset: 0 -2;
+            rel2.offset: -1 -3;
+            text.style: "entry_statusbar_style";
          }
       }
-      part { name: "preference_guide";
+      part { name: "elm.text.cur_pos";
+         type: TEXTBLOCK;
+         scale: 1;
+         clip_to: "base_clip";
+         description {
+            rel1.to: "elm.text.view_size";
+            rel1.relative: 1 0.0;
+            rel2.to: "elm.text.view_size";
+            rel2.relative: 1 1.0;
+            min: 200 14;
+            fixed: 1 0;
+            align: 0 0.5;
+            text.style: "entry_statusbar_style";
+         }
+      }
+      part { name: "elm.text.group_name";
+         type: TEXTBLOCK;
+         scale: 1;
+         clip_to: "base_clip";
+         description {
+            rel1.to: "elm.text.cur_pos";
+            rel1.relative: 1 0.0;
+            rel2.to: "elm.text.line";
+            rel2.relative: 0 1.0;
+            min: 180 14;
+            align: 1 0.5;
+            fixed: 1 0;
+            text.style: "entry_statusbar_style";
+         }
+      }
+      part { name: "elm.text.group_name_bracket";
          type: TEXT;
-         effect: SHADOW BOTTOM;
          scale: 1;
-         clip_to: "clipper";
+         effect: SHADOW BOTTOM;
+         clip_to: "base_clip";
          description {
-            rel1 {to: "preference_icon"; relative: 1 0; offset: 5 1;}
-            rel2 {to: "preference_icon"; relative: 1 1;}
+            rel1.to_x: "elm.text.group_name";
+            rel1.relative: 1 0.0;
+            rel2.to_x: "elm.text.group_name";
+            rel2.relative: 1 1.0;
+            min: 6 14;
+            align: 0 0.5;
+            fixed: 1 0;
             color: 255 255 255 255;
             color3: 0 0 0 128;
-            align: 0 0;
-            fixed: 1 1;
+            text {
+               text: "]";
+               size: 11;
+               align: 0 0.5;
+            }
+         }
+      }
+      part { name: "elm.text.line";
+         type: TEXTBLOCK;
+         scale: 1;
+         clip_to: "base_clip";
+         description {
+            rel1.relative: 1 0;
+            rel1.offset: 0 -2;
+            rel2.offset: -1 -3;
+            align: 1 0.5;
+            min: 100 14;
+            fixed: 1 0;
+            text.style: "entry_statusbar_style";
+         }
+      }
+      part { name: "elm.text.info_msg";
+         type: TEXT;
+         scale: 1;
+         effect: GLOW;
+         description { state: "default" 0.0;
+            align: 0 0.5;
+            rel1.offset: 0 -1;
+            rel2.offset: -1 -2;
             text {
                font: FN;
-               text: "Preferences:";
                size: 11;
-               align: 0 0;
-               min: 1 0;
+               align: 0 0.5;
             }
+            color: 51 153 255 0;
+            color2: 51 153 255 0;
+            color3: 51 153 255 0;
+         }
+         description { state: "show" 0.0;
+            inherit: "default" 0.0;
+            color: 51 153 255 255;
+            color2: 51 153 255 24;
+            color3: 51 153 255 18;
          }
       }
-      part { name: "elm.swallow.preference";
-         type: SWALLOW;
+      program { name: "info_msg_show";
+         signal: "elm,action,info_msg,show";
+         source: "";
+         action: STATE_SET "hide" 0.0;
+         target: "base_clip";
+         transition: DECELERATE 0.15;
+         after: "info_msg_show2";
+      }
+      program { name: "info_msg_show2";
+         action: STATE_SET "show" 0.0;
+         target: "elm.text.info_msg";
+         transition: DECELERATE 0.3;
+         after: "info_msg_idle";
+      }
+      program { name: "info_msg_idle";
+         action: STATE_SET "show" 0.0;
+         target: "elm.text.info_msg";
+         transition: LINEAR 2;
+         after: "info_msg_hide";
+      }
+      program { name: "info_msg_hide";
+         signal: "elm,action,info_msg,hide";
+         source: "";
+         action: STATE_SET "default" 0.0;
+         target: "elm.text.info_msg";
+         transition: DECELERATE 0.3;
+         after: "info_msg_hide2";
+      }
+      program { name: "info_msg_hide2";
+         action: STATE_SET "default" 0.0;
+         target: "base_clip";
+         transition: DECELERATE 0.3;
+      }
+   }
+}
+
+group { name: "main_layout";
+   parts {
+      part { name: "base";
+         type: SPACER;
          scale: 1;
-         clip_to: "clipper";
          description {
-            rel1.to_x: "preference_guide";
-            rel1.to_y: "preference_guide";
-            rel1.offset: 0 10;
-            rel1.relative: 0 1;
-            rel2.to: "preference_frame";
+            min: 640 440;
          }
       }
-      part { name: "elm.swallow.apply_btn";
+      part { name: "elm.swallow.tools";
          type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 1 0.5;
-            min: 50 25;
-            fixed: 1 1;
-            rel1.to: "elm.swallow.reset_btn";
+         description { state: "default" 0.0;
             rel1.relative: 0 0;
-            rel2.to: "elm.swallow.reset_btn";
-            rel2.relative: 0 1;
+            rel2.relative: 1 0;
+            min: 0 26;
+            fixed: 0 1;
+            align: 0.5 1;
+         }
+         description { state: "visible" 0.0;
+            inherit: "default";
+            align: 0.5 0;
          }
       }
-      part { name: "elm.swallow.reset_btn";
+      part { name: "elm.swallow.panes";
          type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0.5 1;
-            min: 50 25;
-            fixed: 1 1;
-            rel1.to: "base_frame";
-            rel1.relative: 0.5 1;
-            rel2.to: "base_frame";
-            rel2.relative: 0.5 1;
+         description { state: "default" 0.0;
+            rel1.relative: 0 1;
+            rel2.relative: 1 0;
+            rel1.to_y: "elm.swallow.tools";
+            rel2.to_y: "elm.swallow.statusbar";
          }
       }
-      part { name: "elm.swallow.cancel_btn";
+      part { name: "elm.swallow.statusbar";
          type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
-         description {
-            align: 0 0.5;
-            min: 50 25;
-            fixed: 1 1;
-            rel1.to: "elm.swallow.reset_btn";
-            rel1.relative: 1 0;
-            rel2.to: "elm.swallow.reset_btn";
+         description { state: "default" 0.0;
+            rel1.relative: 0 1;
             rel2.relative: 1 1;
+            align: 0.5 0;
+            min: 0 15;
+            fixed: 0 1;
+         }
+         description { state: "visible" 0.0;
+            inherit: "default" 0.0;
+            align: 0.5 1;
          }
       }
-      part { name: "event_blocker";
+   }
+   programs {
+      program { name: "statusbar_show";
+         signal: "elm,state,statusbar,show";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.swallow.statusbar";
+         transition: DECELERATE 0.35;
+      }
+      program { name: "statusbar_hide";
+         signal: "elm,state,statusbar,hide";
+         action: STATE_SET "default" 0.0;
+         target: "elm.swallow.statusbar";
+         transition: DECELERATE 0.35;
+      }
+      program { name: "tools_show";
+         signal: "elm,state,tools,show";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.swallow.tools";
+         transition: DECELERATE 0.35;
+      }
+      program { name: "tools_hide";
+         signal: "elm,state,tools,hide";
+         action: STATE_SET "default" 0.0;
+         target: "elm.swallow.tools";
+         transition: DECELERATE 0.35;
+      }
+
+   }
+}
+
+group { name: "edit_layout";
+   parts {
+      part { name: "base_clip";
          type: RECT;
          description { state: "default" 0.0;
-            color: 0 0 0 0;
-            visible: 1;
+            rel1.to: "elm.swallow.linenumber";
+            rel2.to: "elm.swallow.linenumber";
+            rel2.relative: 1 1;
          }
          description { state: "hide" 0.0;
-            inherit: "default" 0.0;
-            visible: 0;
+            rel1.to: "elm.swallow.linenumber";
+            rel2.to: "elm.swallow.linenumber";
+            rel2.relative: 0 1;
          }
       }
-      part { name: "over_img";
-         type: IMAGE;
+      part { name: "elm.swallow.linenumber";
+         type: SWALLOW;
          scale: 1;
-         clip_to: "clipper";
+         clip_to: "base_clip";
          mouse_events: 0;
          description {
-            rel1 { to: "base_frame_img"; relative: 0 0; }
-            rel2 { to: "base_frame_img"; relative: 1 1; }
-            image.normal: "bub_over_bot.png";
+            fixed: 1 0;
+            align: 0 0.5;
+            min: 15 0;
+            rel1.relative: 0 0;
+            rel1.offset: 3 0;
+            rel2.relative: 0 1;
+         }
+      }
+      part { name: "elm.swallow.edit";
+         type: SWALLOW;
+         scale: 1;
+         description {
+            align: 0 0.5;
+            rel1.relative: 1 0;
+            rel1.to: "base_clip";
+            fixed: 0 1;
          }
       }
    }
    programs {
-      program { name: "load";
-         signal: "load";
-         action: STATE_SET "show" 0.0;
-         transition: "DECELERATE" 0.5;
-         target: "clipper";
-         after: "event_blocker_hide";
-      }
-      program { name: "dismiss";
-         signal: "elm,state,dismiss";
-         source: "";
+      program { name: "linenumber_show";
+         signal: "elm,state,linenumber,show";
          action: STATE_SET "default" 0.0;
-//         transition: "DECELERATE" 0.125;
-         target: "clipper";
-         target: "event_blocker";
-         after: "dismiss_done";
+         target: "base_clip";
+         transition: DECELERATE 0.35;
       }
-      program { name: "event_blocker_hide";
-         signal: "elm,state,event_blocker,hide";
-         source: "";
+      program { name: "linenumber_hide";
+         signal: "elm,state,linenumber,hide";
          action: STATE_SET "hide" 0.0;
-         target: "event_blocker";
-      }
-      program { name: "dismiss_done";
-         action: SIGNAL_EMIT "elm,state,dismiss,done" "";
+         target: "base_clip";
+         transition: DECELERATE 0.35;
       }
    }
 }
-
-
diff --git a/data/themes/default/layout_setting.edc 
b/data/themes/default/layout_setting.edc
new file mode 100644
index 0000000..acafb71
--- /dev/null
+++ b/data/themes/default/layout_setting.edc
@@ -0,0 +1,497 @@
+images {
+   image: "frame_bg.png" COMP;
+   image: "setting_icon.png" COMP;
+   image: "folder.png" COMP;
+   image: "preference.png" COMP;
+}
+
+group { name: "setting_layout";
+   parts {
+      part { name: "clipper";
+         type: RECT;
+         description { state: "default" 0.0;
+            color: 127 127 127 127;
+         }
+         description { state: "show" 0.0;
+            color: 255 255 255 255;
+         }
+      }
+      part { name: "bg";
+         type: RECT;
+         clip_to: "clipper";
+         description { state: "default" 0.0;
+            color: 0 0 0 175;
+         }
+      }
+      part { name: "base_frame_img";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            min: 600 380;
+            max: 600 380;
+            fixed: 1 1;
+            image.normal: "frame_bg.png";
+            image.border: 10 10 10 10;
+            image.border_scale: 1;
+         }
+      }
+      part { name: "shine_img";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            rel1 { to: "base_frame_img"; relative: 0 0; }
+            rel2 { to: "base_frame_img"; relative: 1 0; }
+            align: 0.5 0;
+            min: 600 3;
+            fixed: 1 1;
+            image.normal: "shine.png";
+         }
+      }
+      part { name: "base_frame";
+         type: SPACER;
+         description {
+            rel1 {to: "base_frame_img"; offset: 10 10;}
+            rel2 {to: "base_frame_img"; offset: -11 -11;}
+         }
+      }
+      part { name: "title_frame";
+         type: RECT;
+         clip_to: "clipper";
+         scale: 1;
+         description {
+            rel1 {to: "base_frame"; relative: 0 0;}
+            rel2 {to: "base_frame"; relative: 1 0;}
+            align: 0.5 0;
+            min: 0 23;
+            fixed: 0 1;
+            color: 0 0 0 255;
+         }
+      }
+      part { name: "title_icon";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0.5;
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+            rel1.to: "title_frame";
+            rel2.to: "title_frame";
+            image.normal: "setting_icon.png";
+         }
+      }
+      part { name: "title_name";
+         type: TEXT;
+         scale: 1;
+         clip_to: "clipper";
+         effect: GLOW;
+         description {
+            rel1.to: "title_frame";
+            rel2.to: "title_frame";
+            align: 0.5 0.5;
+            fixed: 1 1;
+            text {
+               font: FN;
+               text: "Setting";
+               size: 12;
+               align: 0.5 0.5;
+               min: 1 0;
+            }
+            color: 51 153 255 255;
+            color2: 51 153 255 24;
+            color3: 51 153 255 18;
+         }
+      }
+      part { name: "img_path_frame";
+         type: SPACER;
+         description {
+            rel1 {to: "title_frame"; relative: 0 1;}
+            rel2 {to: "title_frame"; relative: 1 1;}
+            align: 0.5 0;
+            min: 0 30;
+            fixed: 0 1;
+         }
+      }
+      part { name: "snd_path_frame";
+         type: SPACER;
+         scale: 1;
+         description {
+            rel1 {to: "img_path_frame"; relative: 0 1;}
+            rel2 {to: "img_path_frame"; relative: 1 1;}
+            align: 0.5 0;
+            min: 0 30;
+            fixed: 0 1;
+         }
+      }
+      part { name: "fnt_path_frame";
+         type: SPACER;
+         scale: 1;
+         description {
+            rel1 {to: "snd_path_frame"; relative: 0 1;}
+            rel2 {to: "snd_path_frame"; relative: 1 1;}
+            align: 0.5 0;
+            min: 0 30;
+            fixed: 0 1;
+         }
+      }
+      part { name: "data_path_frame";
+         type: SPACER;
+         scale: 1;
+         description {
+            rel1 {to: "fnt_path_frame"; relative: 0 1;}
+            rel2 {to: "fnt_path_frame"; relative: 1 1;}
+            align: 0.5 0;
+            min: 0 30;
+            fixed: 0 1;
+         }
+      }
+      part { name: "preference_frame";
+         type: SPACER;
+         scale: 1;
+         description {
+            rel1 {to: "data_path_frame"; relative: 0 1;}
+            rel2 {to: "data_path_frame"; relative: 1 1;}
+            align: 0.5 0;
+            min: 0 185;
+            fixed: 0 1;
+         }
+      }
+      part { name: "img_path_icon";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0.5;
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+            rel1.to: "img_path_frame";
+            rel2.to: "img_path_frame";
+            image.normal: "folder.png";
+         }
+      }
+      part { name: "img_path_guide";
+         type: TEXT;
+         scale: 1;
+         clip_to: "clipper";
+         effect: SHADOW BOTTOM;
+         description {
+            rel1 {to: "img_path_icon"; relative: 1 0; offset: 5 1;}
+            rel2 {to: "img_path_icon"; relative: 1 1;}
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            align: 0 0.5;
+            fixed: 1 1;
+            text {
+               font: FN;
+               text: "Image Paths:";
+               size: 11;
+               align: 0 0.5;
+               min: 1 0;
+            }
+         }
+      }
+      part { name: "elm.swallow.img_path_entry";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0;
+            fixed: 1 1;
+            rel1.to_x: "img_path_guide";
+            rel1.to_y: "img_path_guide";
+            rel1.offset: 5 0;
+            rel1.relative: 1 0;
+            rel2.to: "img_path_frame";
+         }
+      }
+      part { name: "snd_path_icon";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0.5;
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+            rel1.to: "snd_path_frame";
+            rel2.to: "snd_path_frame";
+            image.normal: "folder.png";
+         }
+      }
+      part { name: "snd_path_guide";
+         type: TEXT;
+         effect: SHADOW BOTTOM;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            rel1 {to: "snd_path_icon"; relative: 1 0; offset: 5 1;}
+            rel2 {to: "snd_path_icon"; relative: 1 1;}
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            align: 0 0.5;
+            fixed: 1 1;
+            text {
+               font: FN;
+               text: "Sound Paths:";
+               size: 11;
+               align: 0 0.5;
+               min: 1 0;
+            }
+         }
+      }
+      part { name: "elm.swallow.snd_path_entry";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0;
+            fixed: 1 1;
+            rel1.to_x: "snd_path_guide";
+            rel1.to_y: "snd_path_guide";
+            rel1.offset: 5 0;
+            rel1.relative: 1 0;
+            rel2.to: "snd_path_frame";
+         }
+      }
+      part { name: "fnt_path_icon";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0.5;
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+            rel1.to: "fnt_path_frame";
+            rel2.to: "fnt_path_frame";
+            image.normal: "folder.png";
+         }
+      }
+      part { name: "fnt_path_guide";
+         type: TEXT;
+         effect: SHADOW BOTTOM;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            rel1 {to: "fnt_path_icon"; relative: 1 0; offset: 5 1;}
+            rel2 {to: "fnt_path_icon"; relative: 1 1;}
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            align: 0 0.5;
+            fixed: 1 1;
+            text {
+               font: FN;
+               text: "Font Paths:";
+               size: 11;
+               align: 0 0.5;
+               min: 1 0;
+            }
+         }
+      }
+      part { name: "elm.swallow.fnt_path_entry";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0;
+            fixed: 1 1;
+            rel1.to_x: "fnt_path_guide";
+            rel1.to_y: "fnt_path_guide";
+            rel1.offset: 17 0;
+            rel1.relative: 1 0;
+            rel2.to: "fnt_path_frame";
+         }
+      }
+      part { name: "data_path_icon";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0.5;
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+            rel1.to: "data_path_frame";
+            rel2.to: "data_path_frame";
+            image.normal: "folder.png";
+         }
+      }
+      part { name: "data_path_guide";
+         type: TEXT;
+         effect: SHADOW BOTTOM;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            rel1 {to: "data_path_icon"; relative: 1 0; offset: 5 1;}
+            rel2 {to: "data_path_icon"; relative: 1 1;}
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            align: 0 0.5;
+            fixed: 1 1;
+            text {
+               font: FN;
+               text: "Data Paths:";
+               size: 11;
+               align: 0 0.5;
+               min: 1 0;
+            }
+         }
+      }
+      part { name: "elm.swallow.data_path_entry";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0;
+            fixed: 1 1;
+            rel1.to_x: "data_path_guide";
+            rel1.to_y: "data_path_guide";
+            rel1.offset: 14 0;
+            rel1.relative: 1 0;
+            rel2.to: "data_path_frame";
+         }
+      }
+      part { name: "preference_icon";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0;
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+            rel1.to: "preference_frame";
+            rel2.to: "preference_frame";
+            image.normal: "preference.png";
+         }
+      }
+      part { name: "preference_guide";
+         type: TEXT;
+         effect: SHADOW BOTTOM;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            rel1 {to: "preference_icon"; relative: 1 0; offset: 5 1;}
+            rel2 {to: "preference_icon"; relative: 1 1;}
+            color: 255 255 255 255;
+            color3: 0 0 0 128;
+            align: 0 0;
+            fixed: 1 1;
+            text {
+               font: FN;
+               text: "Preferences:";
+               size: 11;
+               align: 0 0;
+               min: 1 0;
+            }
+         }
+      }
+      part { name: "elm.swallow.preference";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            rel1.to_x: "preference_guide";
+            rel1.to_y: "preference_guide";
+            rel1.offset: 0 10;
+            rel1.relative: 0 1;
+            rel2.to: "preference_frame";
+         }
+      }
+      part { name: "elm.swallow.apply_btn";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 1 0.5;
+            min: 50 25;
+            fixed: 1 1;
+            rel1.to: "elm.swallow.reset_btn";
+            rel1.relative: 0 0;
+            rel2.to: "elm.swallow.reset_btn";
+            rel2.relative: 0 1;
+         }
+      }
+      part { name: "elm.swallow.reset_btn";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0.5 1;
+            min: 50 25;
+            fixed: 1 1;
+            rel1.to: "base_frame";
+            rel1.relative: 0.5 1;
+            rel2.to: "base_frame";
+            rel2.relative: 0.5 1;
+         }
+      }
+      part { name: "elm.swallow.cancel_btn";
+         type: SWALLOW;
+         scale: 1;
+         clip_to: "clipper";
+         description {
+            align: 0 0.5;
+            min: 50 25;
+            fixed: 1 1;
+            rel1.to: "elm.swallow.reset_btn";
+            rel1.relative: 1 0;
+            rel2.to: "elm.swallow.reset_btn";
+            rel2.relative: 1 1;
+         }
+      }
+      part { name: "event_blocker";
+         type: RECT;
+         description { state: "default" 0.0;
+            color: 0 0 0 0;
+            visible: 1;
+         }
+         description { state: "hide" 0.0;
+            inherit: "default" 0.0;
+            visible: 0;
+         }
+      }
+      part { name: "over_img";
+         type: IMAGE;
+         scale: 1;
+         clip_to: "clipper";
+         mouse_events: 0;
+         description {
+            rel1 { to: "base_frame_img"; relative: 0 0; }
+            rel2 { to: "base_frame_img"; relative: 1 1; }
+            image.normal: "bub_over_bot.png";
+         }
+      }
+   }
+   programs {
+      program { name: "load";
+         signal: "load";
+         action: STATE_SET "show" 0.0;
+         transition: "DECELERATE" 0.5;
+         target: "clipper";
+         after: "event_blocker_hide";
+      }
+      program { name: "dismiss";
+         signal: "elm,state,dismiss";
+         source: "";
+         action: STATE_SET "default" 0.0;
+//         transition: "DECELERATE" 0.125;
+         target: "clipper";
+         target: "event_blocker";
+         after: "dismiss_done";
+      }
+      program { name: "event_blocker_hide";
+         signal: "elm,state,event_blocker,hide";
+         source: "";
+         action: STATE_SET "hide" 0.0;
+         target: "event_blocker";
+      }
+      program { name: "dismiss_done";
+         action: SIGNAL_EMIT "elm,state,dismiss,done" "";
+      }
+   }
+}
diff --git a/src/bin/goto.c b/src/bin/goto.c
index 7a4cf05..49a4780 100644
--- a/src/bin/goto.c
+++ b/src/bin/goto.c
@@ -121,7 +121,7 @@ goto_open(edit_data *ed)
 
    //Layout
    Evas_Object *layout = elm_layout_add(win);
-   elm_layout_file_set(layout, EDJE_PATH, "goto");
+   elm_layout_file_set(layout, EDJE_PATH, "goto_layout");
    evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
    evas_object_show(layout);
    elm_win_resize_object_add(win, layout);
diff --git a/src/bin/search.c b/src/bin/search.c
index 32f0d1b..55196ae 100644
--- a/src/bin/search.c
+++ b/src/bin/search.c
@@ -342,7 +342,7 @@ search_open(edit_data *ed)
 
    //Layout
    Evas_Object *layout = elm_layout_add(win);
-   elm_layout_file_set(layout, EDJE_PATH, "search");
+   elm_layout_file_set(layout, EDJE_PATH, "search_layout");
    evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
    evas_object_show(layout);
    elm_win_resize_object_add(win, layout);

-- 


Reply via email to