[UX 4.6] Implementation of Button and color picker UX.
authorAmit Kamboj <amit.kamboj@samsung.com>
Mon, 22 Apr 2013 10:33:55 +0000 (16:03 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Tue, 23 Apr 2013 08:47:43 +0000 (17:47 +0900)
Change-Id: Id80330114d648150020d097eb55565682ea7f552

Conflicts:

themes/images/tizen-hd/Controls/00_circle_button.png
themes/images/tizen-hd/Controls/00_circle_button_delete.png
themes/images/tizen-hd/Controls/00_circle_button_delete_dim.png
themes/images/tizen-hd/Controls/00_circle_button_dim.png
themes/images/tizen-hd/Controls/00_circle_button_press.png

25 files changed:
themes/images/tizen-hd/00_icon_SIP_close.png [changed mode: 0755->0644]
themes/images/tizen-hd/Controls/00_button_01.png
themes/images/tizen-hd/Controls/00_button_01_Delete.png
themes/images/tizen-hd/Controls/00_button_01_Delete_dim.png
themes/images/tizen-hd/Controls/00_button_01_dim.png
themes/images/tizen-hd/Controls/00_button_01_send.png
themes/images/tizen-hd/Controls/00_button_01_send_dim.png
themes/images/tizen-hd/Controls/00_button_01_send_press.png
themes/images/tizen-hd/Controls/00_button_off.png
themes/images/tizen-hd/Controls/00_button_off_dim.png
themes/images/tizen-hd/Controls/00_button_on.png
themes/images/tizen-hd/Controls/00_button_on_dim.png
themes/images/tizen-hd/Controls/00_button_on_off_handler_dim.png
themes/images/tizen-hd/Controls/00_circle_button.png
themes/images/tizen-hd/Controls/00_circle_button_delete.png
themes/images/tizen-hd/Controls/00_circle_button_delete_dim.png
themes/images/tizen-hd/Controls/00_circle_button_dim.png
themes/images/tizen-hd/Controls/00_circle_button_press.png
themes/images/tizen-hd/Controls/00_color_picker_handler.png [moved from themes/images/tizen-hd/Controls/00_color_picker_focus.png with 100% similarity]
themes/images/tizen-hd/Naviframe/00_toolbar_button.png
themes/images/tizen-hd/Naviframe/00_toolbar_button_dim.png
themes/images/tizen-hd/Naviframe/00_toolbar_button_press.png
themes/inc/tizen-hd-inc.edc
themes/widgets/button.edc
themes/widgets/colorselector.edc

old mode 100755 (executable)
new mode 100644 (file)
index fe39033..163bed6 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01.png and b/themes/images/tizen-hd/Controls/00_button_01.png differ
index 6ae4cf2..f381a57 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01_Delete.png and b/themes/images/tizen-hd/Controls/00_button_01_Delete.png differ
index 8f9c53d..f381a57 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01_Delete_dim.png and b/themes/images/tizen-hd/Controls/00_button_01_Delete_dim.png differ
index fe39033..163bed6 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01_dim.png and b/themes/images/tizen-hd/Controls/00_button_01_dim.png differ
index edc82c1..bc58cb5 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01_send.png and b/themes/images/tizen-hd/Controls/00_button_01_send.png differ
index edc82c1..bc58cb5 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01_send_dim.png and b/themes/images/tizen-hd/Controls/00_button_01_send_dim.png differ
index 7a99f6c..6e80527 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_01_send_press.png and b/themes/images/tizen-hd/Controls/00_button_01_send_press.png differ
index ad2bd67..e58e522 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_off.png and b/themes/images/tizen-hd/Controls/00_button_off.png differ
index 99e90d4..340ee9d 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_off_dim.png and b/themes/images/tizen-hd/Controls/00_button_off_dim.png differ
index e366b46..af8cdc5 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_on.png and b/themes/images/tizen-hd/Controls/00_button_on.png differ
index d72d257..202898a 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_on_dim.png and b/themes/images/tizen-hd/Controls/00_button_on_dim.png differ
index f23fc4a..e87a16e 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_button_on_off_handler_dim.png and b/themes/images/tizen-hd/Controls/00_button_on_off_handler_dim.png differ
index cb91a99..fefde0f 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_circle_button.png and b/themes/images/tizen-hd/Controls/00_circle_button.png differ
index 794397c..314757d 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_circle_button_delete.png and b/themes/images/tizen-hd/Controls/00_circle_button_delete.png differ
index 794397c..6659671 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_circle_button_delete_dim.png and b/themes/images/tizen-hd/Controls/00_circle_button_delete_dim.png differ
index cb91a99..fefde0f 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_circle_button_dim.png and b/themes/images/tizen-hd/Controls/00_circle_button_dim.png differ
index cb12641..5699f86 100644 (file)
Binary files a/themes/images/tizen-hd/Controls/00_circle_button_press.png and b/themes/images/tizen-hd/Controls/00_circle_button_press.png differ
index 9349f2a..269c1cc 100644 (file)
Binary files a/themes/images/tizen-hd/Naviframe/00_toolbar_button.png and b/themes/images/tizen-hd/Naviframe/00_toolbar_button.png differ
index 9349f2a..269c1cc 100644 (file)
Binary files a/themes/images/tizen-hd/Naviframe/00_toolbar_button_dim.png and b/themes/images/tizen-hd/Naviframe/00_toolbar_button_dim.png differ
index 2458078..17251d8 100644 (file)
Binary files a/themes/images/tizen-hd/Naviframe/00_toolbar_button_press.png and b/themes/images/tizen-hd/Naviframe/00_toolbar_button_press.png differ
index 3ca9386..7dec94b 100644 (file)
 #define BUTTON_BUBBLE_CIRCLE_SENT_ICON_PRESSED_COLOR_INC 255 255 255 255
 #define BUTTON_BUBBLE_CIRCLE_SENT_ICON_DISABLED_COLOR_INC 101 101 101 76
 
-#define BUTTON_DATETIME_AMPM_BG_MIN_INC 106 56
+#define BUTTON_DATETIME_AMPM_BG_MIN_INC 95 60
+#define BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC 34
 
 #define BUTTON_SEARCH_BUTTON_BG_BORDER_INC 13 13 13 13
 #define BUTTON_SEARCH_BUTTON_BG_MIN_INC 100 66
 #define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 72 72
 #define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45
 #define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45
+#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13
+#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14
 
 #define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 72
 #define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 72
index 9ef64b6..cf30280 100644 (file)
                fixed: 1 1;
                color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
                color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+               text.size: BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC;
                text.min: 1 1;
             }
             description { state: "visible" 0.0;
                image.normal: "00_circle_button_dim.png"; \
             } \
          } \
+         part { name: "left_top_padding"; \
+            scale: 1; \
+            type: SPACER; \
+            description { state: "default" 0.0; \
+               min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \
+               max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \
+               fixed: 1 1; \
+               align: 0.0 0.0; \
+               rel1.to: "button_image"; \
+               rel2.to: "button_image"; \
+            } \
+         } \
+         part { name: "right_bottom_padding"; \
+            scale: 1; \
+            type: SPACER; \
+            description { state: "default" 0.0; \
+               min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \
+               max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \
+               fixed: 1 1; \
+               align: 1.0 1.0; \
+               rel1 { \
+                  relative: 1.0 1.0; \
+                  to: "button_image"; \
+               } \
+               rel2.to: "button_image"; \
+            } \
+         } \
          part { name: "button_center_part"; \
             scale: 1; \
             clip_to: "icon_clipper"; \
                min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \
                max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \
                image.normal: image_normal; \
+               rel1 { \
+                  relative: 1.0 1.0; \
+                  to: "left_top_padding"; \
+               } \
+               rel2 { \
+                  relative: 0.0 0.0; \
+                  to: "right_bottom_padding"; \
+               } \
             } \
             description { state: "clicked" 0.0; \
                inherit: "default"; \
                image.normal: "00_circle_button_dim.png";
             }
          }
+         part { name: "left_top_padding";
+            scale: 1;
+            type: SPACER;
+            description { state: "default" 0.0;
+               min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC;
+               max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC;
+               fixed: 1 1;
+               align: 0.0 0.0;
+               rel1.to: "button_image";
+               rel2.to: "button_image";
+            }
+         }
+         part { name: "right_bottom_padding";
+            scale: 1;
+            type: SPACER;
+            description { state: "default" 0.0;
+               min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC;
+               max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC;
+               fixed: 1 1;
+               align: 1.0 1.0;
+               rel1 {
+                  relative: 1.0 1.0;
+                  to: "button_image";
+               }
+               rel2.to: "button_image";
+            }
+         }
          part { name: "elm.swallow.content";
             type: SWALLOW;
             clip_to: "icon_clipper";
             scale: 1;
             description { state: "default" 0.0;
                fixed: 1 1;
+               rel1 {
+                  relative: 1.0 1.0;
+                  to: "left_top_padding";
+               }
+               rel2 {
+                  relative: 0.0 0.0;
+                  to: "right_bottom_padding";
+               }
                visible: 0;
             }
             description { state: "visible" 0.0;
index 6e8cf89..ec1bf24 100644 (file)
@@ -605,7 +605,7 @@ group{
 group{
    name: "elm/colorselector/arrow/default";
    images{
-      image:"00_color_picker_focus.png" COMP;
+      image:"00_color_picker_handler.png" COMP;
    }
    parts{
       part{
@@ -615,7 +615,7 @@ group{
          mouse_events: 1;
          description{
             state: "default" 0.0;
-            image.normal: "00_color_picker_focus.png";
+            image.normal: "00_color_picker_handler.png";
          }
       }
    }