From 864346e57e3ba52251f20bc770728d987a2f4acf Mon Sep 17 00:00:00 2001 From: "moon87.park" Date: Tue, 20 Oct 2015 22:32:15 +0900 Subject: [PATCH] [Telegram] Modify the contact list image Change-Id: Iab184a32a6351f0690eeb6244ec3c4ab24ce0d19 --- TelegramTizen/res/edje/telegram_init_screen.edc | 19 +++++++++++-------- .../res/images/telegram_list_thumb_image_bg.png | Bin 0 -> 2557 bytes .../res/images/telegram_list_thumb_image_multi.png | Bin 4443 -> 5259 bytes .../res/images/telegram_list_thumb_image_single.png | Bin 4163 -> 4843 bytes .../images/telegram_list_thumb_image_telegram.png | Bin 0 -> 3120 bytes TelegramTizen/src/tg_search_peer_view.c | 9 +++++---- TelegramTizen/tg_utils/tg_common.h | 1 + 7 files changed, 17 insertions(+), 12 deletions(-) create mode 100755 TelegramTizen/res/images/telegram_list_thumb_image_bg.png mode change 100644 => 100755 TelegramTizen/res/images/telegram_list_thumb_image_multi.png mode change 100644 => 100755 TelegramTizen/res/images/telegram_list_thumb_image_single.png create mode 100755 TelegramTizen/res/images/telegram_list_thumb_image_telegram.png diff --git a/TelegramTizen/res/edje/telegram_init_screen.edc b/TelegramTizen/res/edje/telegram_init_screen.edc index 578f629..45f6f72 100644 --- a/TelegramTizen/res/edje/telegram_init_screen.edc +++ b/TelegramTizen/res/edje/telegram_init_screen.edc @@ -116,6 +116,7 @@ collections { images { image: "camera_btn_gallery_mask.png" COMP; image: "telegram_date_divider.#.png" COMP; + image: "telegram_list_thumb_image_bg.png" COMP; } group { @@ -888,8 +889,8 @@ collections { precise_is_inside: 1; description { state: default 0.0; - rel1.relative: 0.0 0.05; - rel2.relative: 1.0 0.95; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; color: 250 250 250 0; } } @@ -899,20 +900,21 @@ collections { precise_is_inside: 1; description { state: default 0.0; - rel1.relative: 0.0 0.05; - rel2.relative: 1.0 0.95; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; image.normal: camera_btn_gallery_mask.png; } } part { name: content_bg; - type: RECT; + type: IMAGE; clip_to: masking; description { state: default 0.0; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; - color: 45 165 224 255; + image.normal: "telegram_list_thumb_image_bg.png"; + color: 250 250 250 255; } } part { @@ -3020,13 +3022,14 @@ group } part { name: content_bg; - type: RECT; + type: IMAGE; clip_to: masking; description { state: default 0.0; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; - color: 250 250 250 0; + image.normal: "telegram_list_thumb_image_bg.png"; + color: 250 250 250 255; } } part { diff --git a/TelegramTizen/res/images/telegram_list_thumb_image_bg.png b/TelegramTizen/res/images/telegram_list_thumb_image_bg.png new file mode 100755 index 0000000000000000000000000000000000000000..eb1e100ce546b575b11292636b7690702a332fcd GIT binary patch literal 2557 zcmbVOX;c$g7LE-H0s?6eL_|WO$eukUX#)+ZM0Np#L^cUYAdze)K>~Ioi%3{SP(eUO za5#zz-74+IuHXVHhL%M@OhY5BII`&2h+b-aCe&4K zl6K$WZiYa#V)+cFoaygJW{ZU`ERBzgLMQ>z5XfeCg@nb9=gMI*+&I370-tVdg~Rw9 z3Op3=kMfsLxjepCvXr|mIe@`Vj%SlNaCbM@W(64}5OU=#m_jHJ$;b){{39laRjp=ZkcJ3(DYuBT$K$C62FQ@pKxRM#SI<7!n4J zrr}9cR}z&*B@nS51T-CwTf%yaWO9~>&0UJi2jhOmV*eIPrb@Xixmd~&iv>#^5XckD z#WJ2)0;6st!0bZ#B91swX0O?vPt^ikDSr=_Lzjw$u#ftZ`Co}o!vI826aj-J;i;Os zJ&7c`Ckao-0YoeYg`>kiV>$niW=Jp@q^3Fkr&*RvUWrL8b=LKOD~SF%3lAoZLE_X?@eqp(RE+mT_W^ z{ourg6rNX}s=+!Zo6dOnP{;bTY9@`I;mJU4Y&Z8p*g4dEf8TQ2d{ zkJJnaW>Bv{Cmfd{fsCwr3EA6L7k&9@ti&!`Oei^FrqZs|x&KXE`sCEsM(_74>z5Ct zTBns4^}-`84{0HnO{Ti0nmD<;hu@7?>&;}*aWMu&qbB`|qC&H`nS_ZD$-e%4A~Zt# z{_-uG*m)ekP42^H)XADhBJJLcql*m_ltq$DBBvFxq!umk_??+ zdDTK+1~0?$?!5=L?vWr;GL+;Ir>}DBGpVe<}@Mfrmsho$@g!tedrn`?;pnR-uc#3bwLzy(xNtg?9J0eHB+V1 zy=0GckB12c8UR0(UVXod!7#j3ID68khrTbY&EODW!dJhpA8wYt^1PZT@u+i7e`Gcs z@^&QHo8>M+713MNoW1zC%6Jb~xct;ryARN^` zoplp=>VbfE`DWsbMI+t%xzS7}!q#U|#|G~Zhy4dSb zQQhNSHDyAn_${#&`W;{tH{U1jAgFFwB)_K%R#PfixlfcLaCxm$slB#+j`t2QdH48R zTUm1of_W+W_#ZJ=@wq$a2g=-_k>|$8VF)+l$a7tNXubEgd$IsMk5GtQ^#pC#4%&jmmbki+TpE#1#JUyqY9r5c7yNyoQ_!$@LndPS3oGCn0_|G8cb^&Sr7?0^X z8WPe!x68i%c9HQDJ9|sh)q4+zM(mDzuIsP+LiI@`_53ceYMzMU1sID-;l9TWA{t@)yw3@Auas_=Y5k_zl!g75QKdg=yKeM z+YnZ=yfZF;z?t>IuIsJtXfCWop`Ed~xx1sz=v`Kj(HTk53`@0$k{B%nOblmTVrkDF zCX5#*7Ar> zDdqNSXjJBda=4bFt=M<)T;iH{T^FBOj-IWe9ke!bh&*MNriQ#Xn7`1Qr5XnwI%4uE zt#kbxMI^;n^mJYBUq2PR*`7M>h;;2MFfPcSVHXtuBF5bZdUdylDYIy=Qd#e*j#g BBwGLg literal 0 HcmV?d00001 diff --git a/TelegramTizen/res/images/telegram_list_thumb_image_multi.png b/TelegramTizen/res/images/telegram_list_thumb_image_multi.png old mode 100644 new mode 100755 index 5fd92eb5fd869ff1a4c05192f6ff59fc0b37563f..33749f6e59e04d6ba1bcc885e943f9b5a1d5fce7 GIT binary patch delta 2570 zcmV+l3ib8dB8w>@iBL{Q4GJ0x0000DNk~Le0001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76YV&pY!o`Ab$;{fQ!I+U<#Ot;(=zB={`-sBA^+VFQ0}Y=Z^!! zz~8_i@Eb4$g!<+ZAzDT&umZRVn5Qt_Ip7rVgOHP}bTVpymB1>XF~pac1-=Ik2uT%1 zMlEm$&<)g=ahgv9hk&nviAo@&19%XaOLUk7_5j}nnLa_ts0W?|mQgwA1Ajgj=UX;1 zZUCN&*czO00oVl`D+d|fz(YWi%Eo@+3op~g3mFMuEpQL9j$ zC(CC_`Jv{@L*3;NtW5yl0Dl?atTOqJ180CSuMTvB1X^0C6I1Q8_=&v$WGv>8=sK`9#tfw9oX!X2xOYREKX1h4@iVvl8oiR z0>zxhMy0Vf0M{vv)gY;cqGTi#m(d2`1!d>^ocJCM+-YANk_7}xqkrPf(glwH6JX4= zM+aQ$WpxxIW2MrK8ZpV9LUG6B%=W#Y#6>!ZnIM zt*Hz+VN=8!%H`pUn;DCo~eiiAy7u1lWp6LbuD3dX>n4UGiOH1%Lb<*fz_eF@jq89g{>vv_0yVU%p_&)CST@>f2mS3{`=ilGBQNevmG%qg~*t|RH&;7r>(NWE?5p#85x&l z;p}9bj36fw6-Iy`i;CZ%3F}skuFwOd{m|o6$Aub_)XHq`n5=)$rV5=7?^n{5-g#WBkark!thz&!v U$`3~&p8x;=07*qoM6N<$f*_KsRR910 diff --git a/TelegramTizen/res/images/telegram_list_thumb_image_telegram.png b/TelegramTizen/res/images/telegram_list_thumb_image_telegram.png new file mode 100755 index 0000000000000000000000000000000000000000..67e1015938dc7ca4d746164ea6b266feb3686c74 GIT binary patch literal 3120 zcmbVOc{o&iAD=8`$uf#8#h9^-bv851GzMd4Buiq55@yW7WEN&dM#~^%iLzc@iF;K_ zij*tLmL-iysaxqL_m-x`T9S%x@95Tj-#_ki|9H=H&iO6p^Z9(2-}n1GC)>~0Lqp9_ z4Fm#dcy6Nj%SYz&qq0)|u06F~f_=ORk$kQ_V;N&F=Elj{AP~_-9LI=^1w;@g5Y6T}LuambKp||FGjto) z2k8^%4#coG?GX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Wkgh6V&Z3t?*MJxAQ1v9F w;gqIB4LdD`B$Dq%;>*jV0rI%UpKBsOBL(v&-NVndmjB^BslJpta>RlE0H1OeO#lD@ literal 0 HcmV?d00001 diff --git a/TelegramTizen/src/tg_search_peer_view.c b/TelegramTizen/src/tg_search_peer_view.c index a3ad69a..df6d224 100755 --- a/TelegramTizen/src/tg_search_peer_view.c +++ b/TelegramTizen/src/tg_search_peer_view.c @@ -26,8 +26,8 @@ static void on_group_chat_clicked(void *data, Evas_Object *obj, void *event_info static void on_secret_chat_clicked(void *data, Evas_Object *obj, void *event_info); static _command_item_info contact_screen_command_item_list[COMMAND_MENU_ITEM_COUNT] = { - {"invites friends", TELEGRAM_BUTTON_ADD_ICON, on_invite_friends_clicked, NULL}, - {"group chat", DEFAULT_LIST_THUMB_MULTI_PIC, on_group_chat_clicked, NULL}, + {"IDS_TGRAM_MBODY_INVITE_FRIENDS", TELEGRAM_CONTACT_ADD_ICON, on_invite_friends_clicked, NULL}, + {"IDS_TGRAM_MBODY_GROUP_CHAT", DEFAULT_LIST_THUMB_MULTI_PIC, on_group_chat_clicked, NULL}, /*{"secret chat", "telegram_list_thumb_image_secrete.png", on_secret_chat_clicked, NULL},*/ }; @@ -109,7 +109,7 @@ char* _on_command_name_requested(void *data, Evas_Object *obj, const char *part) if (!strcmp(part,"elm.text.main.left.top") || !strcmp(part,"elm.text")){ char buf[512] = {'\0'}; - snprintf(buf, 512, "%s", contact_screen_command_item_list[row].string); + snprintf(buf, 512, "%s", _(contact_screen_command_item_list[row].string)); return strdup(buf); } @@ -127,7 +127,7 @@ Evas_Object* _on_command_name_image_requested(void *data, Evas_Object *obj, cons Evas_Object *profile_pic = NULL; profile_pic = create_image_object_from_file(ui_utils_get_resource(contact_screen_command_item_list[row].image_path), obj); - //evas_object_color_set(profile_pic, 45, 165, 224, 255); + evas_object_color_set(profile_pic, 45, 165, 224, 255); char edj_path[PATH_MAX] = {0, }; app_get_resource(TELEGRAM_INIT_VIEW_EDJ, edj_path, (int)PATH_MAX); @@ -175,6 +175,7 @@ Evas_Object* on_peer_list_image_requested(void *data, Evas_Object *obj, const ch if (user->photo_path && strcmp(user->photo_path, "") != 0) { profile_pic = create_image_object_from_file(user->photo_path, obj); } else { + profile_pic = create_image_object_from_file(ui_utils_get_resource(DEFAULT_LIST_THUMB_SINGLE_PIC), obj); evas_object_color_set(profile_pic, 45, 165, 224, 255); } diff --git a/TelegramTizen/tg_utils/tg_common.h b/TelegramTizen/tg_utils/tg_common.h index 3a1a797..e160e53 100644 --- a/TelegramTizen/tg_utils/tg_common.h +++ b/TelegramTizen/tg_utils/tg_common.h @@ -79,6 +79,7 @@ #define DEFAULT_TELEGRAM_ICON FM_ICON_PATH"/tg_icon.png" #define TELEGRAM_BUTTON_ADD_ICON FM_ICON_PATH"/telegram_button_add.png" +#define TELEGRAM_CONTACT_ADD_ICON FM_ICON_PATH"/telegram_list_thumb_image_add.png" #define TELEGRAM_THUMB_ADD_ICON FM_ICON_PATH"/telegram_thumb_add.png" #define FM_ICON_CAMERA FM_ICON_PATH"floating_camera.png" -- 2.7.4