FocusUi Resource Config changes
authorKunal Sinha <kunal.sinha@samsung.com>
Tue, 30 Apr 2013 11:07:04 +0000 (16:37 +0530)
committerKunal Sinha <kunal.sinha@samsung.com>
Mon, 3 Jun 2013 13:22:46 +0000 (18:52 +0530)
Change-Id: Iad16c88254e334804c768eb8c63b8c508ee60090
Signed-off-by: Kunal Sinha <kunal.sinha@samsung.com>
13 files changed:
inc/FUiUiConfigurationTypes.h
res/common/usr/share/osp/bitmaps/480x800/00_contacts_button_focus.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/480x800/black/00_contacts_button_focus_ef.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/480x800/default/00_contacts_button_focus_ef.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/480x800/white/00_contacts_button_focus_ef.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/720x1280/00_contacts_button_focus.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/720x1280/black/00_contacts_button_focus_ef.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/720x1280/default/00_contacts_button_focus_ef.#.png [new file with mode: 0644]
res/common/usr/share/osp/bitmaps/720x1280/white/00_contacts_button_focus_ef.#.png [new file with mode: 0644]
src/ui/FUiUiConfiguration.cpp
src/ui/inc/FUi_ResourceTokenEditConfig.h
src/ui/resource/FUi_ResourceConfigParser.cpp
src/ui/resource/FUi_ResourceTokenEditConfig.cpp

index 2bceb50..379fbef 100644 (file)
@@ -3095,6 +3095,12 @@ struct _OSP_EXPORT_ ColorKey
                * @since                2.1
                */
                _OSP_EXPORT_ static const int TEXT_SELECTED;
+               /**
+                * The property key to get the selected text color of token edit.
+                *
+               * @since                2.1
+               */
+               _OSP_EXPORT_ static const int BG_FOCUS;
        };
 };
 }} //Tizen::Ui
diff --git a/res/common/usr/share/osp/bitmaps/480x800/00_contacts_button_focus.#.png b/res/common/usr/share/osp/bitmaps/480x800/00_contacts_button_focus.#.png
new file mode 100644 (file)
index 0000000..4563178
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/480x800/00_contacts_button_focus.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/480x800/black/00_contacts_button_focus_ef.#.png b/res/common/usr/share/osp/bitmaps/480x800/black/00_contacts_button_focus_ef.#.png
new file mode 100644 (file)
index 0000000..b3daa2b
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/480x800/black/00_contacts_button_focus_ef.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/480x800/default/00_contacts_button_focus_ef.#.png b/res/common/usr/share/osp/bitmaps/480x800/default/00_contacts_button_focus_ef.#.png
new file mode 100644 (file)
index 0000000..b3daa2b
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/480x800/default/00_contacts_button_focus_ef.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/480x800/white/00_contacts_button_focus_ef.#.png b/res/common/usr/share/osp/bitmaps/480x800/white/00_contacts_button_focus_ef.#.png
new file mode 100644 (file)
index 0000000..b3daa2b
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/480x800/white/00_contacts_button_focus_ef.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/720x1280/00_contacts_button_focus.#.png b/res/common/usr/share/osp/bitmaps/720x1280/00_contacts_button_focus.#.png
new file mode 100644 (file)
index 0000000..8d6cd8a
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/720x1280/00_contacts_button_focus.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/720x1280/black/00_contacts_button_focus_ef.#.png b/res/common/usr/share/osp/bitmaps/720x1280/black/00_contacts_button_focus_ef.#.png
new file mode 100644 (file)
index 0000000..a9b0f7c
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/720x1280/black/00_contacts_button_focus_ef.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/720x1280/default/00_contacts_button_focus_ef.#.png b/res/common/usr/share/osp/bitmaps/720x1280/default/00_contacts_button_focus_ef.#.png
new file mode 100644 (file)
index 0000000..a9b0f7c
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/720x1280/default/00_contacts_button_focus_ef.#.png differ
diff --git a/res/common/usr/share/osp/bitmaps/720x1280/white/00_contacts_button_focus_ef.#.png b/res/common/usr/share/osp/bitmaps/720x1280/white/00_contacts_button_focus_ef.#.png
new file mode 100644 (file)
index 0000000..a9b0f7c
Binary files /dev/null and b/res/common/usr/share/osp/bitmaps/720x1280/white/00_contacts_button_focus_ef.#.png differ
index fae5c76..3f66b71 100644 (file)
@@ -452,6 +452,7 @@ const int ColorKey::TokenEdit::BG_NORMAL = _TOKENEDIT::BG_NORMAL_COLOR;
 const int ColorKey::TokenEdit::BG_SELECTED = _TOKENEDIT::BG_SELECTED_COLOR;
 const int ColorKey::TokenEdit::TEXT_NORMAL = _TOKENEDIT::TEXT_NORMAL_COLOR;
 const int ColorKey::TokenEdit::TEXT_SELECTED = _TOKENEDIT::TEXT_SELECTED_COLOR;
+const int ColorKey::TokenEdit::BG_FOCUS = _TOKENEDIT::BG_FOCUS_COLOR;
 
 UiConfiguration::UiConfiguration(void)
 {
index f0737bf..e99ba4c 100644 (file)
@@ -29,9 +29,12 @@ DECLARE_UI_CONFIG(TOKENEDIT);
        DECLARE_COLOR_CONFIG(BG_SELECTED, 2);
        DECLARE_COLOR_CONFIG(TEXT_NORMAL, 3);
        DECLARE_COLOR_CONFIG(TEXT_SELECTED, 4);
+       DECLARE_COLOR_CONFIG(BG_FOCUS, 5);
        DECLARE_IMAGE_CONFIG(BG_NORMAL, 1);
        DECLARE_IMAGE_CONFIG(BG_NORMAL_EFFECT, 2);
        DECLARE_IMAGE_CONFIG(BG_PRESSED_EFFECT, 3);
+       DECLARE_IMAGE_CONFIG(BG_FOCUS, 4);
+       DECLARE_IMAGE_CONFIG(BG_FOCUS_EFFECT, 5);
        DECLARE_SHAPE_CONFIG(LEFT_MARGIN, 1);
        DECLARE_SHAPE_CONFIG(RIGHT_MARGIN, 2);
        DECLARE_SHAPE_CONFIG(TOP_MARGIN, 3);
index c50739e..78a1e5b 100644 (file)
@@ -4063,6 +4063,10 @@ ConfigParser::GetColorKeyTable(void)
                        const char* key ="TOKENEDIT::TEXT_SELECTED";
                        __pColorKeyTable->Add(ResourceKey(key), _TOKENEDIT::TEXT_SELECTED_COLOR);
                }
+               {
+                       const char* key ="TOKENEDIT::BG_FOCUS";
+                       __pColorKeyTable->Add(ResourceKey(key), _TOKENEDIT::BG_FOCUS_COLOR);
+               }
        }
        return __pColorKeyTable;
 }
index 744af8d..f6170c0 100644 (file)
@@ -28,10 +28,13 @@ START_UI_CONFIG(TOKENEDIT);
        ADD_COLOR_CONFIG(BG_SELECTED, $W0713);
        ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L10);
        ADD_COLOR_CONFIG(TEXT_SELECTED, $F011L10);
+       ADD_COLOR_CONFIG(BG_FOCUS, $W0715);
 
        ADD_IMAGE_CONFIG(BG_NORMAL, #00_contacts_button_bg.#.png);
        ADD_IMAGE_CONFIG(BG_NORMAL_EFFECT, #00_contacts_button_bg_ef.#.png);
        ADD_IMAGE_CONFIG(BG_PRESSED_EFFECT, #00_contacts_button_bg_press_ef.#.png);
+       ADD_IMAGE_CONFIG(BG_FOCUS, #00_contacts_button_focus.#.png);
+       ADD_IMAGE_CONFIG(BG_FOCUS_EFFECT, #00_contacts_button_focus_ef.#.png);
 
        START_UI_CONFIG_MODE(720x1280);
        {