From c32e4da12a6c7b475611d1bd45652caceea3475e Mon Sep 17 00:00:00 2001 From: Denis Dolzhenko Date: Wed, 31 Aug 2016 11:53:22 +0300 Subject: [PATCH] Fixed: colors in edc. Change-Id: Ia1f005f894dbcb386bfa9ace0fbe66d15e333e6d Signed-off-by: Denis Dolzhenko --- res/edje/colors_define.inl | 5 ++--- res/edje/conv_layout.edc | 3 ++- res/edje/conv_list.edc | 4 +++- res/edje/msg_input_panel.edc | 11 ++++++++++- res/edje/recipient_panel.edc | 7 ++++--- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/res/edje/colors_define.inl b/res/edje/colors_define.inl index 7fc0336..0dce279 100644 --- a/res/edje/colors_define.inl +++ b/res/edje/colors_define.inl @@ -1,8 +1,7 @@ +#define CONV_BG_COLOR 250 250 250 255 #define TITLE_BG_BLUE 61 185 204 255 -#define TITLE_BG_WHITE 250 250 250 255 +#define TITLE_BG_WHITE CONV_BG_COLOR -#define BUBBLE_NAVI_TITLE_HEIGHT_POTRAIT 120 -#define BUBBLE_NAVI_TITLE_HEIGHT_LANDSCAPE 120 #define BUBBLE_NAVI_TITLE_COLOR 250 250 250 255 #define BUBBLE_NAVI_TITLE_TEXT_COLOR 46 139 153 255 #define BUBBLE_NAVI_TITLE_ARROW_COLOR 61 185 204 255 diff --git a/res/edje/conv_layout.edc b/res/edje/conv_layout.edc index 6cdd398..380998b 100755 --- a/res/edje/conv_layout.edc +++ b/res/edje/conv_layout.edc @@ -1,4 +1,5 @@ #include "macros.inl" +#include "colors_define.inl" collections { BASE_SCALE; @@ -12,8 +13,8 @@ collections { scale: 1; mouse_events: 0; description { - //color_class: "B011"; state: "default" 0.0; + color: CONV_BG_COLOR; } } PADDING_TOP("conv_list.pad.top", 130); diff --git a/res/edje/conv_list.edc b/res/edje/conv_list.edc index 11c0174..c9325b9 100644 --- a/res/edje/conv_list.edc +++ b/res/edje/conv_list.edc @@ -1,6 +1,8 @@ +#include "macros.inl" + #define SELECT_ALL_HEIGHT 120 collections { - base_scale: 2.6; + BASE_SCALE; group { name: "conv_list_base"; parts { part { name: "rect"; diff --git a/res/edje/msg_input_panel.edc b/res/edje/msg_input_panel.edc index 4dce34a..27f6bfe 100644 --- a/res/edje/msg_input_panel.edc +++ b/res/edje/msg_input_panel.edc @@ -1,4 +1,5 @@ #include "macros.inl" +#include "colors_define.inl" #define BODY_ADDBUTTON_SIZE 72 72 #define BODY_SENDBUTTON_SIZE 72 68 @@ -9,6 +10,14 @@ collections { name: "conversation/msg_input_panel"; parts { part { + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: CONV_BG_COLOR; + } + } + part { name: "size"; type: SPACER; scale: 1; @@ -26,7 +35,7 @@ collections { description { state: "default" 0.0; fixed: 0 1; - min: 0 4; + min: 0 3; rel1{relative: 0.0 0.0;} rel2{relative: 1.0 0.0;} align: 0.0 0.0; diff --git a/res/edje/recipient_panel.edc b/res/edje/recipient_panel.edc index 9021a02..5d3d8c5 100755 --- a/res/edje/recipient_panel.edc +++ b/res/edje/recipient_panel.edc @@ -1,4 +1,5 @@ #include "macros.inl" +#include "colors_define.inl" #define MSG_COMPOSER_RECIPIENT_TO_FIELD_MIN_H 87 #define CONTACT_BUTTON_PADDING_TOP 10 @@ -30,19 +31,18 @@ group { rel2.to: "entry.main.bg"; } } - PADDING_TOP("padding_top", 0); PADDING_LEFT("padding_left", 0); PADDING_RIGHT("padding_right", 0); PADDING_BOTTOM("padding_bottom", 0); part { - name: "swl.mbe.bg"; + name: "mbe.bg"; type: RECT; scale: 1; description { rel1 { to: "swl.mbe";} rel2 { to: "swl.mbe";} - color_class: "B0211"; + color: CONV_BG_COLOR; } } part { @@ -80,6 +80,7 @@ group { fixed: 1 1; visible: 1; align: 0.0 0.0; + color: CONV_BG_COLOR; rel1 { to_y: "swl.mbe"; relative: 0.0 1.0; } rel2 { to_y: "swl.mbe"; relative: 1.0 1.0; } } -- 2.7.4