[ctxpopup] changed images and values for datetime(timepicker)
authorBora Hwang <bora1.hwang@samsung.com>
Thu, 4 Apr 2013 10:14:49 +0000 (19:14 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Sat, 6 Apr 2013 01:09:57 +0000 (10:09 +0900)
Change-Id: I318279b052d5f80e3bf3592d54208e6953ed1f9f

themes/images/tizen-hd/00_time_picker_number_bg.png [moved from themes/images/tizen-hd/00_timepicker_number_bg.png with 95% similarity, mode: 0755]
themes/images/tizen-hd/00_time_picker_tail.png [new file with mode: 0755]
themes/images/tizen-hd/00_time_picker_tail_01.png [new file with mode: 0755]
themes/images/tizen-hd/timepicker_bottom_arrow.png [deleted file]
themes/images/tizen-hd/timepicker_left_arrow.png [deleted file]
themes/images/tizen-hd/timepicker_right_arrow.png [deleted file]
themes/images/tizen-hd/timepicker_top_arrow.png [deleted file]
themes/inc/tizen-hd-inc.edc
themes/widgets/ctxpopup.edc

old mode 100644 (file)
new mode 100755 (executable)
similarity index 95%
rename from themes/images/tizen-hd/00_timepicker_number_bg.png
rename to themes/images/tizen-hd/00_time_picker_number_bg.png
index 52df575..4f3034a
Binary files a/themes/images/tizen-hd/00_timepicker_number_bg.png and b/themes/images/tizen-hd/00_time_picker_number_bg.png differ
diff --git a/themes/images/tizen-hd/00_time_picker_tail.png b/themes/images/tizen-hd/00_time_picker_tail.png
new file mode 100755 (executable)
index 0000000..b2805e3
Binary files /dev/null and b/themes/images/tizen-hd/00_time_picker_tail.png differ
diff --git a/themes/images/tizen-hd/00_time_picker_tail_01.png b/themes/images/tizen-hd/00_time_picker_tail_01.png
new file mode 100755 (executable)
index 0000000..432789a
Binary files /dev/null and b/themes/images/tizen-hd/00_time_picker_tail_01.png differ
diff --git a/themes/images/tizen-hd/timepicker_bottom_arrow.png b/themes/images/tizen-hd/timepicker_bottom_arrow.png
deleted file mode 100644 (file)
index dc7b855..0000000
Binary files a/themes/images/tizen-hd/timepicker_bottom_arrow.png and /dev/null differ
diff --git a/themes/images/tizen-hd/timepicker_left_arrow.png b/themes/images/tizen-hd/timepicker_left_arrow.png
deleted file mode 100644 (file)
index 9eb90fb..0000000
Binary files a/themes/images/tizen-hd/timepicker_left_arrow.png and /dev/null differ
diff --git a/themes/images/tizen-hd/timepicker_right_arrow.png b/themes/images/tizen-hd/timepicker_right_arrow.png
deleted file mode 100644 (file)
index 1d7c6e3..0000000
Binary files a/themes/images/tizen-hd/timepicker_right_arrow.png and /dev/null differ
diff --git a/themes/images/tizen-hd/timepicker_top_arrow.png b/themes/images/tizen-hd/timepicker_top_arrow.png
deleted file mode 100644 (file)
index a6f8164..0000000
Binary files a/themes/images/tizen-hd/timepicker_top_arrow.png and /dev/null differ
index 8a8b6bc..436427e 100644 (file)
 #define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 91 91 91 255
 #define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 74
 #define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 74
-#define CTXPOPUP_TP_BG_COLOR_INC 7 180 211 255
 #define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0
 #define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40
 #define CTXPOPUP_MAIN_TEXT_SIZE_INC 32
 #define CTXPOPUP_ARROW_SIZE_INC 36 36
 #define CTXPOPUP_ITEM_TEXT_PADDING_INC 20
 #define CTXPOPUP_ITEM_ICON_PADDING_INC 16
-#define CTXPOPUP_TP_ARROW_SIZE_INC 30
-#define CTXPOPUP_TP_HEIGHT_INC 106
+#define CTXPOPUP_TP_BG_IMAGE_BORDER 8 8 8 8
+#define CTXPOPUP_TP_ARROW_SIZE_INC 27 18
+#define CTXPOPUP_TP_HEIGHT_INC 102
 #define CTXPOPUP_MORE_WIDTH_INC 502
 #define CTXPOPUP_MORE_ITEM_PADDING_INC 16
 #define CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC 110
index c2350b7..9cace9a 100644 (file)
 group {
        name: "elm/ctxpopup/base/datetime/default";
        alias: "elm/ctxpopup/base/timepicker";
+
+       images {
+               image: "00_time_picker_number_bg.png" COMP;
+       }
+
        parts {
                part {
                        name: "ctxpopup_frame";
-                       type: RECT;
+                       type: IMAGE;
                        scale: 1;
                        description {
-                               color: CTXPOPUP_TP_BG_COLOR_INC;
-                               min: 1 CTXPOPUP_TP_HEIGHT_INC;
-                               rel1 { to: "elm.swallow.content"; }
-                               rel2 { to: "elm.swallow.content"; }
+                               rel1 {to:"elm.swallow.content";}
+                               rel2 {to:"elm.swallow.content";}
+                               image {
+                                       normal: "00_time_picker_number_bg.png";
+                                       border: CTXPOPUP_TP_BG_IMAGE_BORDER;
+                                       border_scale: 1;
+                               }
                        }
                }
                part {
@@ -5049,10 +5057,8 @@ group {
 group { name: "elm/ctxpopup/arrow/datetime/default";
        alias: "elm/ctxpopup/arrow/timepicker";
        images {
-               image: "timepicker_left_arrow.png" COMP;
-               image: "timepicker_right_arrow.png" COMP;
-               image: "timepicker_top_arrow.png" COMP;
-               image: "timepicker_bottom_arrow.png" COMP;
+               image: "00_time_picker_tail.png" COMP;
+               image: "00_time_picker_tail_01.png" COMP;
        }
        parts {
                part {
@@ -5061,50 +5067,50 @@ group { name: "elm/ctxpopup/arrow/datetime/default";
                        scale: 1;
                        description {
                                state: "default" 0.0;
-                               min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
-                               max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+                               min: CTXPOPUP_TP_ARROW_SIZE_INC;
+                               max: CTXPOPUP_TP_ARROW_SIZE_INC;
                                fixed: 1 1;
                                visible: 0;
                                align: 0.5 0.5;
                        }
                        description {
                                state: "left" 0.0;
-                               min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
-                               max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+                               min: CTXPOPUP_TP_ARROW_SIZE_INC;
+                               max: CTXPOPUP_TP_ARROW_SIZE_INC;
                                fixed: 1 1;
                                align: 1.0 0.5;
                                image {
-                                       normal: "timepicker_left_arrow.png";
+                                       normal: "00_time_picker_tail.png";
                                }
                        }
                        description {
                                state: "right" 0.0;
-                               min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
-                               max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+                               min: CTXPOPUP_TP_ARROW_SIZE_INC;
+                               max: CTXPOPUP_TP_ARROW_SIZE_INC;
                                fixed: 1 1;
                                align: 0.0 0.5;
                                image {
-                                       normal: "timepicker_right_arrow.png";
+                                       normal: "00_time_picker_tail.png";
                                }
                        }
                        description {
                                state: "top" 0.0;
-                               min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
-                               max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+                               min: CTXPOPUP_TP_ARROW_SIZE_INC;
+                               max: CTXPOPUP_TP_ARROW_SIZE_INC;
                                fixed: 1 1;
                                align: 0.5 1.0;
                                image {
-                                       normal: "timepicker_top_arrow.png";
+                                       normal: "00_time_picker_tail.png";
                                }
                        }
                        description {
                                state: "bottom" 0.0;
-                               min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
-                               max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+                               min: CTXPOPUP_TP_ARROW_SIZE_INC;
+                               max: CTXPOPUP_TP_ARROW_SIZE_INC;
                                fixed: 1 1;
                                align: 0.5 0.0;
                                image {
-                                       normal: "timepicker_bottom_arrow.png";
+                                       normal: "00_time_picker_tail_01.png";
                                }
                        }
                }