From fd240531ff000ac72fb352bb43f51569a519f330 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Sat, 27 Feb 2016 13:48:07 +0900 Subject: [PATCH] statusbar: improve ui. replace a cursor icon instead of a guide text. --- data/themes/default/images/Makefile.am | 3 +- data/themes/default/images/cursor_arrow.png | Bin 0 -> 325 bytes data/themes/default/images/expand.png | Bin 345 -> 292 bytes data/themes/default/layout_common.edc | 62 ++++++-------------- 4 files changed, 19 insertions(+), 46 deletions(-) create mode 100644 data/themes/default/images/cursor_arrow.png diff --git a/data/themes/default/images/Makefile.am b/data/themes/default/images/Makefile.am index d9e49e8..ae6658e 100644 --- a/data/themes/default/images/Makefile.am +++ b/data/themes/default/images/Makefile.am @@ -70,4 +70,5 @@ EXTRA_DIST = \ expand.png \ invert.png \ icon_close.png \ - edc_navigator.png + edc_navigator.png \ + cursor_arrow.png diff --git a/data/themes/default/images/cursor_arrow.png b/data/themes/default/images/cursor_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..d02f5b08169c0582c143f3a4eb681775d37b2861 GIT binary patch literal 325 zcmeAS@N?(olHy`uVBq!ia0vp^{2rT7Ihzw?jdt()3^xNRO33q;&r z_j%iolE`m0adY0@6JF<4;Oic@w(c`yc3|ne=%mkm#{;+b{`vIlnx$m3{Y0MG%bix} R6asz6;OXk;vd$@?2>?z&gL?n~ literal 0 HcmV?d00001 diff --git a/data/themes/default/images/expand.png b/data/themes/default/images/expand.png index b5335f3fe42be4c0e93c807fc8f90bf59a506ad8..19230efc60a2d4a349966707255e8cf9af44d48e 100644 GIT binary patch delta 181 zcmV;m080Pa0;B?vQwSRb3O8aC*M*T=D1VGeL_t(2&z;h{4TCTgM&bWTv?-VckzJS} zOQaw}q>jWE3=qTuS%U#`Qh@Uiu`%~+Tv*4J>?{2N2&jRJJb*j1a!(|n;-k+Fmv!P- z74}lG0S#+Y?(H${R(K|@^xPWUVqph7GY+WVkGFiyfqakepAj&!&nbjQ93-ibG$NSU j)iJ)Z&B;k9B)RJs_*;+D)a9Og00000NkvXXu0mjfT-H!Q delta 234 zcmVmFN$inZD1X68L_t(2&z;gSN&`_81<*SoL}WJLDzp@| zva-|0!op%UFj%-33kx@3nLg8630XwSScxDa$HIsvW|A3C^Wnqge*Sw&3zQh+EPdg` zmnZBX*cu9kc<|%2PwT#A&x`wFW9#C4^w)Kl;Gy*UtAw^ua| zFtOSE`{%LLdWjd?-C>j@gQ6&cGRb+8vcn_~lI*Q+(}(V^P^{agE@l`7$NuMLSXI@u kX`0(4uRYdxx325^Pf2Fo(i2#w7XSbN07*qoM6N<$f>j)Hi2wiq diff --git a/data/themes/default/layout_common.edc b/data/themes/default/layout_common.edc index e343789..452d08b 100644 --- a/data/themes/default/layout_common.edc +++ b/data/themes/default/layout_common.edc @@ -9,6 +9,7 @@ images { image: "bevel_out.png" COMP; image: "pm_fill.png" COMP; image: "full_logo.png" COMP; + image: "cursor_arrow.png" COMP; } group { name: "about_layout"; @@ -2141,26 +2142,19 @@ group { name: "statusbar_layout"; } } } - part { name: "elm.text.cursor_px["; - type: TEXT; + image { "cursor_arrow"; clip_to: "base_clip"; scale: 1; - effect: SHADOW BOTTOM; - description { state: "default" 0.0; - rel1.to: "size_spacer"; - rel1.relative: 1 0.0; - rel2.to: "size_spacer"; - rel2.relative: 1 1.0; + desc { + rel1.to_x: "size_spacer"; + rel2.to_x: "size_spacer"; + rel1.relative: 1.0 0.5; + rel2.relative: 1.0 0.5; + rel1.offset: 3 0; align: 0 0.5; fixed: 1 0; - color: COL_NM; - text { - text: "Cursor ["; - size: 11; - align: 0 0.5; - min: 1 0; - ellipsis: -1; - } + min: 12 12; + image.normal: "cursor_arrow.png"; } } part { name: "elm.text.cursor_pxx"; @@ -2169,8 +2163,8 @@ group { name: "statusbar_layout"; scale: 1; effect: GLOW; description { state: "default" 0.0; - rel1.to_x: "elm.text.cursor_px["; - rel2.to_x: "elm.text.cursor_px["; + rel1.to_x: "cursor_arrow"; + rel2.to_x: "cursor_arrow"; rel1.relative: 1.0 0.0; rel2.relative: 1.0 1.0; align: 0 0.5; @@ -2227,7 +2221,7 @@ group { name: "statusbar_layout"; } } } - part { name: "elm.text.cursor_px]["; + part { name: "elm.text.cursor_sep"; type: TEXT; clip_to: "base_clip"; scale: 1; @@ -2241,9 +2235,9 @@ group { name: "statusbar_layout"; fixed: 1 0; color: COL_NM; text { - text: "]["; + text: " | "; size: 11; - align: 0 0.5; + align: 0 1; min: 1 0; ellipsis: -1; } @@ -2255,8 +2249,8 @@ group { name: "statusbar_layout"; scale: 1; effect: GLOW; description { state: "default" 0.0; - rel1.to_x: "elm.text.cursor_px]["; - rel2.to_x: "elm.text.cursor_px]["; + rel1.to_x: "elm.text.cursor_sep"; + rel2.to_x: "elm.text.cursor_sep"; rel1.relative: 1.0 0.0; rel2.relative: 1.0 1.0; align: 0 0.5; @@ -2313,28 +2307,6 @@ group { name: "statusbar_layout"; } } } - part { name: "elm.text.cursor_rel]"; - type: TEXT; - clip_to: "base_clip"; - scale: 1; - effect: SHADOW BOTTOM; - description { state: "default" 0.0; - rel1.to_x: "elm.text.cursor_rely"; - rel2.to_x: "elm.text.cursor_rely"; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 0 0.5; - fixed: 1 0; - color: COL_NM; - text { - text: "]"; - size: 11; - align: 0 0.5; - min: 1 0; - ellipsis: -1; - } - } - } part { name: "cursor_spacer"; type: SPACER; scale: 1;