email.list email.outbox genlist changes to support unread email messages
authorSathwick Mahadeva <sathwick.m@samsung.com>
Wed, 29 May 2013 10:13:54 +0000 (15:43 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:36:10 +0000 (20:36 +0900)
Change-Id: If945ae4527561c1b3f1f9e589616899854cf5a8c

themes/inc/tizen-hd-inc.edc [changed mode: 0644->0755]
themes/widgets/genlist/genlist_email.edc [changed mode: 0644->0755]
themes/widgets/genlist/genlist_macro.edc [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 54bdaeb..c92ea8c
 #define GENLIST_LIST_CENTERLINE1_COLOR              206 205 202 255
 #define GENLIST_SELECT_ALL_BG_COLOR                 220 218 211 255
 
+
 // Group Index
 #define GENLIST_GROUPINDEX_LIST_SIZE                     32
 #define GENLIST_GROUPINDEX_LIST_COLOR                    59 115 182 255
old mode 100644 (file)
new mode 100755 (executable)
index f4face7..24ea72d
@@ -58,6 +58,9 @@
  // 19 130 255
 #define GENLIST_EMAIL_MATCH_TAG_COLOR                       "+ color=#1382FF"
 
+#define GENLIST_LIST_READ_BG_COLOR                   223 221 215 255
+#define GENLIST_LIST_UNREAD_BG_COLOR                248 246 239 255
+
 #define STYLE_TAG \
       tag:  "br" "\n";\
       tag:  "ps" "ps";\
       } \
       program { name: "go_read_target"; \
          action: STATE_SET "read" 0.0; \
+         target: "bg"; \
          TARGET \
       } \
       program { name: "go_unread_target"; \
          action: STATE_SET "unread" 0.0; \
+         target: "bg"; \
          TARGET \
       } \
    }
 
+
+#define GENLIST_PART_BG_EMAIL_NORMAL \
+      GENLIST_PART_RECT("bg_clip", \
+         mouse_events: 0; \
+         description { state: "default" 0.0; \
+            visible: 1; \
+            color: 255 255 255 255; \
+         } \
+         description { state: "decorate" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+         description { state: "reorder" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+         description { state: "decorate_reorder" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+      ) \
+      GENLIST_PART_RECT("bg_reorder_clip", \
+         mouse_events: 0; \
+         description { state: "default" 0.0; \
+            visible: 0; \
+         } \
+         description { state: "reorder" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 1; \
+            color: 255 255 255 255; \
+         } \
+         description { state: "decorate_reorder" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+         description { state: "decorate" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+         description { state: "reorder_flip" 0.0; \
+            inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+      ) \
+      GENLIST_PART_RECT("bg",  \
+         clip_to: "bg_clip"; \
+         description { state: "default" 0.0; \
+            color: GENLIST_LIST_BG_COLOR; \
+         } \
+         description { state: "selected" 0.0; \
+            inherit: "default" 0.0; \
+            color: GENLIST_LIST_PRESS_COLOR; \
+         } \
+         description { state: "disabled" 0.0; \
+            inherit: "default" 0.0; \
+            color: GENLIST_LIST_DIM_COLOR; \
+         } \
+          description { state: "read" 0.0; \
+            inherit: "default" 0.0; \
+            color: GENLIST_LIST_READ_BG_COLOR; \
+         } \
+          description { state: "unread" 0.0; \
+            inherit: "default" 0.0; \
+            color: GENLIST_LIST_UNREAD_BG_COLOR; \
+         } \
+      ) \
+      GENLIST_PART_SPACER("bg_reorder_left", \
+         description { state: "default" 0.0; \
+            min: 16 0; \
+            max: 16 -1; \
+            fixed: 1 0; \
+            align: 0 0.5; \
+            rel2.relative: 0 1; \
+         } \
+      ) \
+      GENLIST_PART_SPACER("bg_reorder_right", \
+         description { state: "default" 0.0; \
+            min: 16 0; \
+            max: 16 -1; \
+            fixed: 1 0; \
+            align: 1.0 0.5; \
+            rel1.relative: 1 0; \
+         } \
+      ) \
+      GENLIST_PART_IMAGE("bg_reorder", \
+         clip_to: "bg_reorder_clip"; \
+         GENLIST_DESCRIPTION_LR("bg_reorder_left", "bg_reorder_right", \
+            image { \
+               normal: "00_list_group_bg.png"; \
+               border: 17 17 8 8; \
+               border_scale: 1; \
+            } \
+         ) \
+         description { state: "selected" 0.0; \
+            inherit: "default"; \
+            image { \
+               normal: "00_list_group_bg_press.png"; \
+               border: 17 17 8 8; \
+               border_scale: 1; \
+            } \
+         } \
+         description { state: "flipped" 0.0; \
+            inherit: "default"; \
+            visible: 0; \
+         } \
+      )
+
 // 2.2.3.5 (Email Style)
    group { GENLIST_NAME("email.list/default")
       GENLIST_PROLOG_NORMAL
          public readed = 0;
       }
       parts {
-         GENLIST_PART_BG_NORMAL
+         GENLIST_PART_BG_EMAIL_NORMAL
          GENLIST_PART_BASE
          GENLIST_PART_BOTTOM_LINE
          GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
          public readed = 0;
       }
       parts {
-         GENLIST_PART_BG_NORMAL
+         GENLIST_PART_BG_EMAIL_NORMAL
          GENLIST_PART_BASE
          GENLIST_PART_BOTTOM_LINE
          GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
old mode 100644 (file)
new mode 100755 (executable)
index 4e573d5..03b3f8e
 //****************************************************************************//
 // ****************************** BG Image **********************************//
 //****************************************************************************//
+
 #define GENLIST_PART_BG_NORMAL \
       GENLIST_PART_RECT("bg_clip", \
          mouse_events: 0; \
          } \
       )
 
+
 #define GENLIST_PART_BG_NORMAL_OFF \
    GENLIST_PART_RECT("bg_clip", \
       mouse_events: 0; \