From aaf3549d2115e12b0b43b368e108ab8fcd79f052 Mon Sep 17 00:00:00 2001 From: Soohye Shin Date: Fri, 19 Jun 2015 19:55:32 +0900 Subject: [PATCH] add useredit edc Change-Id: I14b6103bf75bf426fd1932f59166bcf2e5d39112 Signed-off-by: Soohye Shin --- edje/home.edc | 1 + edje/images/btn_user_del.png | Bin 0 -> 1337 bytes edje/images/ic_user_require_01.png | Bin 0 -> 2995 bytes edje/images/ic_user_require_02.png | Bin 0 -> 2943 bytes edje/view/useredit.edc | 792 +++++++++++++++++++++++++++++++++++++ include/defs.h | 12 + 6 files changed, 805 insertions(+) create mode 100644 edje/images/btn_user_del.png create mode 100644 edje/images/ic_user_require_01.png create mode 100644 edje/images/ic_user_require_02.png create mode 100644 edje/view/useredit.edc diff --git a/edje/home.edc b/edje/home.edc index cf65362..c5304b9 100644 --- a/edje/home.edc +++ b/edje/home.edc @@ -20,4 +20,5 @@ collections { #include "view/home.edc" #include "view/recent.edc" #include "view/user.edc" + #include "view/useredit.edc" } diff --git a/edje/images/btn_user_del.png b/edje/images/btn_user_del.png new file mode 100644 index 0000000000000000000000000000000000000000..3c4fa041192b0ea8e12a2c77695aa094ea90e2d4 GIT binary patch literal 1337 zcmeAS@N?(olHy`uVBq!ia0vp^VLDSr z1<%~X^wgl##FWaylc_cg49sbnArU1JzCKpT`MG+DAT@dwxdlMo3=B5*6$OdO*{LN8 zNvY|XdA3ULckfqH$V{%1*XSQL?vFu&J;D8jzb> zlBiITo0C^;Rbi_HHrEQs1_|pcDS(xfWZNo192Makpx~Tel&WB=XRMoSU}&gdW~OIo zVrph)sH0$HU}&Uo07PcGh9*{~W>!Y#3Q(W~w5=#5%__*n4QdyVXRDM^Qc_^0uU}qX zu2*iXmtT~wZ)j<02{OaTNEfI=x41H|B(Xv_uUHvof=g;~a#3bMNoIbY0?5R~r2Ntn zTP2`NAzsKW@b!fooL3ADC}5E3S0onb8|oS8=jMX^1y)^L5|oN?23FO@A(aKG`a!A1 z`K3k4!1zd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-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z0002qNkl&W*a3WW_LPiJ| zS1KU>CAeTIdXW>^@4Z;bQc8Rh6F!XJ7nt5Vv=S;{1vK87{W}bDpj7;V2Udc!5{d`1 z3Y7*xHq3#QFb9sB?}3ft7FYs>`cVMUJ2Sg1kn4p~aU5~vLkH}D&N~ycTa#!dlt8N; zJ7D9T*}Y=oK)2ET{OMP)5*$zg;++xoVy&$17qAjmO1%d})3xGOy?Q7i0=0K00;u+Z p$+?u2($!kDhy2-m_Wut!4FFT6coX47+&usQ002ovPDHLkV1gdriirRK literal 0 HcmV?d00001 diff --git a/edje/images/ic_user_require_02.png b/edje/images/ic_user_require_02.png new file mode 100644 index 0000000000000000000000000000000000000000..9c26bc9f814782964c11843486048c38092b2a47 GIT binary patch literal 2943 zcmV-_3xM>AP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F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al 0 HcmV?d00001 diff --git a/edje/view/useredit.edc b/edje/view/useredit.edc new file mode 100644 index 0000000..a8d780f --- /dev/null +++ b/edje/view/useredit.edc @@ -0,0 +1,792 @@ +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "../../include/defs.h" +group { + name, GRP_USER_EDIT; + parts { + part { + name, "title"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel2.relative, 1.0 0.0; + min, 0 104; + fixed, 0 1; + align, 0.5 0.0; + } + } + part { + name, PART_USER_EDIT_TITLE; + type, TEXT; + scale, 1; + description { + rel1.to, "title"; + rel2.to, "title"; + fixed, 1 1; + text { + font, 46; + font, "TizenSans"; + } + color, 51 51 51 255; + } + } + part { + name, "divider.up"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "title"; + relative, 0.0 1.0; + } + rel2.to, "title"; + min, 0 1; + fixed, 0 1; + align, 0.5 0.0; + color, 210 219 230 255; + } + } + part { + name, "function.btn"; + type, RECT; + scale, 1; + description { + rel1 { + to, "divider.up"; + relative, 0.0 1.0; + } + rel2.to, "divider.up"; + min, 0 114; + fixed, 0 1; + align, 0.5 0.0; + color, 221 231 242 255; + } + } + part { + name, "divider.down"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "function.btn"; + relative, 0.0 1.0; + } + rel2.to, "function.btn"; + min, 0 1; + fixed, 0 1; + align, 0.5 0.0; + color, 210 219 230 255; + } + } + part { + name, "action.btn"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1.relative, 0.0 1.0; + min, 0 148; + fixed, 0 1; + align, 0.5 1.0; + } + } + part { + name, "pad.action.btn"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "action.btn"; + relative, 0.5 0.5; + } + rel2 { + to, "action.btn"; + relative, 0.5 0.5; + } + min, 24 64; + fixed, 1 1; + visible, 0; + } + } + part { + name, PART_USER_EDIT_BTN_CACEL; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1.to, "pad.action.btn"; + rel2 { + to, "pad.action.btn"; + relative, 0.0 1.0; + } + min, 308 0; + fixed, 1 0; + align, 1.0 0.5; + } + } + part { + name, PART_USER_EDIT_BTN_DONE; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.action.btn"; + relative, 1.0 0.0; + } + rel2.to, "pad.action.btn"; + min, 308 0; + fixed, 1 0; + align, 0.0 0.5; + } + } + part { + name, "contents"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "divider.down"; + relative, 0.0 1.0; + } + rel2 { + to, "action.btn"; + relative, 1.0 0.0; + } + fixed, 1 1; + color, 244 244 244 255; + } + } + part { + name, PART_USER_EDIT_CONTENTS; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "contents"; + relative, 0.5 0.5; + } + rel2 { + to, "contents"; + relative, 0.5 0.5; + } + min, 1036 552; + fixed, 1 1; + } + } + } +} + +group { + name, GRP_USER_EDIT_CONTENTS; + images { + image, "ic_user_require_01.png" COMP; + image, "ic_user_require_02.png" COMP; + image, "btn_user_del.png" COMP; + } + parts { + part { + name, "bg"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 1036 552; + visible, 0; + } + } + part { + name, "pad"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 138 0; + rel2.relative, 0.0 1.0; + fixed, 1 0; + align, 0.0 0.5; + visible, 0; + } + } + part { + name, "photo"; + type, TEXT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad"; + relative, 1.0 0.0; + } + rel2 { + to, "pad"; + relative, 1.0 0.0; + } + min, 90 32; + fixed, 1 1; + align, 0.0 0.0; + text { + font, "TizenSans"; + size, 32; + text, "Photo"; + align, 0.0 0.5; + } + color, 77 77 77 255; + } + } + part { + name, "pad.photo.require"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "photo"; + relative, 1.0 0.0; + } + rel2 { + to, "photo"; + relative, 1.0 0.0; + } + min, 6 0; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, "photo.require"; + type, IMAGE; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.photo.require"; + relative, 1.0 0.0; + } + rel2 { + to, "pad.photo.require"; + relative, 1.0 0.0; + } + min, 16 20; + fixed, 1 1; + align, 0.0 0.0; + image.normal, "ic_user_require_01.png"; + } + } + part { + name, "pad.photo"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "photo"; + relative, 0.0 1.0; + } + rel2 { + to, "photo"; + relative, 0.0 1.0; + } + min, 0 22; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, PART_USER_EDIT_CONTENTS_PHOTO; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.photo"; + relative, 0.0 1.0; + } + rel2 { + to, "pad.photo"; + relative, 0.0 1.0; + } + min, 294 294; + fixed, 1 1; + align, 0.0 0.0; + } + } + part { + name, "pad.profile"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, PART_USER_EDIT_CONTENTS_PHOTO; + relative, 1.0 0.0; + } + rel2 { + to, PART_USER_EDIT_CONTENTS_PHOTO; + relative, 1.0 0.0; + } + min, 72 54; + fixed, 1 1; + align, 0.0 1.0; + visible, 0; + } + } + part { + name, "information"; + type, TEXT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.profile"; + relative, 1.0 0.0; + } + rel2 { + to, "pad.profile"; + relative, 1.0 0.0; + } + min, 180 32; + fixed, 1 1; + align, 0.0 0.0; + text { + font, "TizenSans"; + size, 32; + text, "Information"; + align, 0.0 0.5; + } + color, 77 77 77 255; + } + } + part { + name, "information.require"; + type, IMAGE; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "information"; + relative, 1.0 0.0; + } + rel2 { + to, "information"; + relative, 1.0 0.0; + } + min, 16 20; + fixed, 1 1; + align, 0.0 0.0; + image.normal, "ic_user_require_01.png"; + } + } + part { + name, "pad.name"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "information"; + relative, 0.0 1.0; + } + rel2 { + to, "information"; + relative, 0.0 1.0; + } + min, 0 22; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, PART_USER_EDIT_CONTENTS_NAME; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.name"; + relative, 1.0 1.0; + } + rel2.to, "pad.name"; + min, 436 64; + fixed, 1 1; + align, 0.0 0.0; + fixed, 1 1; + } + } + part { + name, "pad.pin"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, PART_USER_EDIT_CONTENTS_NAME; + relative, 0.0 1.0; + } + rel2 { + to, PART_USER_EDIT_CONTENTS_NAME; + relative, 0.0 1.0; + } + min, 0 16; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, PART_USER_EDIT_CONTENTS_PIN; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.pin"; + relative, 1.0 1.0; + } + rel2.to, "pad.pin"; + min, 436 64; + fixed, 1 1; + align, 0.0 0.0; + } + } + part { + name, "pad.account"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, PART_USER_EDIT_CONTENTS_PIN; + relative, 0.0 1.0; + } + rel2 { + to, PART_USER_EDIT_CONTENTS_PIN; + relative, 0.0 1.0; + } + min, 0 32; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, "account"; + type, TEXT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.account"; + relative, 1.0 1.0; + } + rel2.to, "pad.account"; + min, 436 32; + fixed, 1 1; + align, 0.0 0.0; + text { + font, "TizenSans"; + size, 32; + text, "Account"; + align, 0.0 0.5; + } + color, 77 77 77 255; + } + } + part { + name, "pad.account.down"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "account"; + relative, 0.0 1.0; + } + rel2 { + to, "account"; + relative, 0.0 1.0; + } + min, 0 22; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, PART_USER_EDIT_CONTENTS_ACCOUNT; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.account.down"; + relative, 1.0 1.0; + } + rel2.to, "pad.account.down"; + min, 436 64; + fixed, 1 1; + align, 0.0 0.0; + } + } + part { + name, "pad.lock"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, PART_USER_EDIT_CONTENTS_ACCOUNT; + relative, 0.0 1.0; + } + rel2 { + to, PART_USER_EDIT_CONTENTS_ACCOUNT; + relative, 0.0 1.0; + } + min, 0 32; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, "lock"; + type, TEXT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.lock"; + relative, 1.0 1.0; + } + rel2.to, "pad.lock"; + min, 436 32; + fixed, 1 1; + align, 0.0 0.0; + text { + font, "TizenSans"; + size, 32; + text, "Privacy lock"; + align, 0.0 0.5; + } + color, 77 77 77 255; + } + } + part { + name, "pad.lock.down"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "lock"; + relative, 0.0 1.0; + } + rel2 { + to, "lock"; + relative, 0.0 1.0; + } + min, 0 22; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, PART_USER_EDIT_CONTENTS_LOCK; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.lock.down"; + relative, 1.0 1.0; + } + rel2.to, "pad.lock.down"; + min, 104 54; + fixed, 1 1; + align, 0.0 0.0; + } + } + part { + name, "pad.require"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, PART_USER_EDIT_CONTENTS_LOCK; + relative, 0.0 1.0; + } + rel2 { + to, PART_USER_EDIT_CONTENTS_LOCK; + relative, 0.0 1.0; + } + min, 0 22; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, "icon.require"; + type, IMAGE; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.require"; + relative, 1.0 1.0; + } + rel2.to, "pad.require"; + min, 12 24; + fixed, 1 1; + align, 0.0 0.0; + image.normal, "ic_user_require_02.png"; + } + } + part { + name, "pad.require.text"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "icon.require"; + relative, 1.0 0.0; + } + rel2 { + to, "icon.require"; + relative, 1.0 0.0; + } + min, 6 0; + align, 0.0 0.0; + fixed, 1 1; + visible, 0; + } + } + part { + name, "require"; + type, TEXT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, "pad.require.text"; + relative, 1.0 0.0; + } + rel2 { + to, "pad.require.text"; + relative, 1.0 0.0; + } + min, 418 24; + fixed, 1 1; + align, 0.0 0.0; + text { + font, "TizenSans"; + size, 24; + align, 0.0 0.5; + text, "Required fields"; + } + color, 64 136 211 255; + } + } + part { + name, "pad.delete"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + rel1 { + to, PART_USER_EDIT_CONTENTS_NAME; + relative, 1.0 0.0; + } + rel2 { + to, PART_USER_EDIT_CONTENTS_NAME; + relative, 1.0 0.0; + } + min, 10 0; + fixed, 1 1; + align, 0.0 0.0; + visible, 0; + } + } + part { + name, "bg.delete"; + type, RECT; + scale, 1; + description { + state, "default"; + rel1 { + to, "pad.delete"; + relative, 1.0 0.0; + } + rel2 { + to, "pad.delete"; + relative, 1.0 0.0; + } + min, 86 64; + fixed, 1 1; + align, 0.0 0.0; + color, 126 145 172 255; + } + description { + state, "focus"; + inherit, "default" 0.0; + color, 0 119 246 255; + } + } + part { + name, PART_USER_EDIT_CONTENTS_DELETE; + type, IMAGE; + scale, 1; + description { + state, "default" 0.0; + rel1.to, "bg.delete"; + rel2.to, "bg.delete"; + fixed, 1 1; + image.normal, "btn_user_del.png"; + } + } + } + programs { + program { + name, "sig,focus,delete"; + signal, SIG_FOCUS; + source, SRC_PROG; + action, STATE_SET "focus" 0.0; + transition, LINEAR 0.5; + target, "bg.delete"; + } + program { + name, "sig,unfocus,delete"; + signal, SIG_UNFOCUS; + source, SRC_PROG; + action, STATE_SET "unfocus" 0.0; + transition, LINEAR 0.5; + target, "bg.delete"; + } + } +} diff --git a/include/defs.h b/include/defs.h index 42f66ab..2060ef6 100644 --- a/include/defs.h +++ b/include/defs.h @@ -32,6 +32,8 @@ #define GRP_RECENT_ICON "group.recent.icon" #define GRP_RECENT_PREVIEW "group.recent.preview" #define GRP_USER "group.user" +#define GRP_USER_EDIT "group.user.edit" +#define GRP_USER_EDIT_CONTENTS "group.user.edit.contents" #define PART_HOME_MENU_BAR "part.home.menu.bar" #define PART_HOME_UP_ARROW "part.home.up.arrow" @@ -51,6 +53,16 @@ #define PART_RECENT_THUMBNAIL "part.recent.thumbnail" #define PART_RECENT_ICON "part.recent.icon" #define PART_RECENT_FAVORITE "part.recent.favorite" +#define PART_USER_EDIT_TITLE "part.user.edit.title" +#define PART_USER_EDIT_BTN_DONE "part.user.edit.btn.done" +#define PART_USER_EDIT_BTN_CANCEL "part.user.edit.btn.cancel" +#define PART_USER_EDIT_CONTENTS "part.user.edit.contents" +#define PART_USER_EDIT_CONTENTS_PHOTO "part.user.edit.contents.photo" +#define PART_USER_EDIT_CONTENTS_NAME "part.user.edit.contents.name" +#define PART_USER_EDIT_CONTENTS_PIN "part.user.edit.contents.pin" +#define PART_USER_EDIT_CONTENTS_ACCOUNT "part.user.edit.contents.account" +#define PART_USER_EDIT_CONTENTS_LOCK "part.user.edit.contents.lock" +#define PART_USER_EDIT_CONTETNS_DELETE "part.user.edit.contents.delete" #define SIG_SHOW_NAVIGATION "sig.show.navigation" #define SIG_HIDE_NAVIGATION "sig.hide.navigation" -- 2.7.4