*/
_OSP_EXPORT_ static const int TEXT_HIGHLIGHTED;
};
-
+
struct CheckButton
{
/**
_OSP_EXPORT_ static const int TEXT_HIGHLIGHTED;
/**
+ * The property key to get the inner normal text color of icon list
+ *
+ * @since 2.1
+ */
+ _OSP_EXPORT_ static const int INNER_TEXT_NORMAL;
+
+ /**
+ * The property key to get the inner pressed text color of icon list
+ *
+ * @since 2.1
+ */
+ _OSP_EXPORT_ static const int INNER_TEXT_PRESSED;
+
+ /**
+ * The property key to get the inner highlighted text color of icon list
+ *
+ * @since 2.1
+ */
+ _OSP_EXPORT_ static const int INNER_TEXT_HIGHLIGHTED;
+
+ /**
* The property key to get the background color of innex text area of icon list
*
* @since 2.1
*/
_OSP_EXPORT_ static const int ARROW_BG_NORMAL;
};
-
+
struct _OSP_EXPORT_ Tab
{
/**
const int ColorKey::IconList::TEXT_NORMAL = _ICONLIST::TEXT_NORMAL_COLOR;
const int ColorKey::IconList::TEXT_PRESSED = _ICONLIST::TEXT_PRESSED_COLOR;
const int ColorKey::IconList::TEXT_HIGHLIGHTED = _ICONLIST::TEXT_HIGHLIGHTED_COLOR;
+const int ColorKey::IconList::INNER_TEXT_NORMAL = _ICONLIST::INNER_TEXT_NORMAL_COLOR;
+const int ColorKey::IconList::INNER_TEXT_PRESSED = _ICONLIST::INNER_TEXT_PRESSED_COLOR;
+const int ColorKey::IconList::INNER_TEXT_HIGHLIGHTED = _ICONLIST::INNER_TEXT_HIGHLIGHTED_COLOR;
const int ColorKey::IconList::INNER_TEXT_BG_NORMAL = _ICONLIST::INNER_TEXT_BG_NORMAL_COLOR;
const int ColorKey::IconList::ITEM_BG_PRESSED = _ICONLIST::ITEM_BG_PRESSED_COLOR;
const int ColorKey::IconList::ITEM_BORDER_NORMAL = _ICONLIST::ITEM_BORDER_NORMAL_COLOR;
// Load Item Text Size & color
GET_SHAPE_CONFIG(ICONLIST::FONT_SIZE, _CONTROL_ORIENTATION_PORTRAIT, __textSize);
-
- GET_COLOR_CONFIG(ICONLIST::TEXT_NORMAL, __normalTextColor);
- GET_COLOR_CONFIG(ICONLIST::TEXT_PRESSED, __pressedTextColor);
- GET_COLOR_CONFIG(ICONLIST::TEXT_HIGHLIGHTED, __highlightedTextColor);
-
GET_COLOR_CONFIG(ICONLIST::INNER_TEXT_BG_NORMAL, __inTextBackgroundColor);
__inTextBackgroundColor.SetAlpha(0x80);
__2LineTextYPos = __textYPos;
break;
}
+
+ if (__textVerticalAlignment >= ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_INSIDE_TOP && __textVerticalAlignment <= ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_INSIDE_BOTTOM)
+ {
+ GET_COLOR_CONFIG(ICONLIST::INNER_TEXT_NORMAL, __normalTextColor);
+ GET_COLOR_CONFIG(ICONLIST::INNER_TEXT_PRESSED, __pressedTextColor);
+ GET_COLOR_CONFIG(ICONLIST::INNER_TEXT_HIGHLIGHTED, __highlightedTextColor);
+ }
+ else if (__textVerticalAlignment >= ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_OUTSIDE_TOP && __textVerticalAlignment <= ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_OUTSIDE_BOTTOM)
+ {
+ GET_COLOR_CONFIG(ICONLIST::TEXT_NORMAL, __normalTextColor);
+ GET_COLOR_CONFIG(ICONLIST::TEXT_PRESSED, __pressedTextColor);
+ GET_COLOR_CONFIG(ICONLIST::TEXT_HIGHLIGHTED, __highlightedTextColor);
+ }
+
__changed = true;
return E_SUCCESS;
DECLARE_COLOR_CONFIG(ITEM_BORDER_NORMAL, 7);
DECLARE_COLOR_CONFIG(ITEM_BORDER_PRESSED, 8);
DECLARE_COLOR_CONFIG(ITEM_BORDER_HIGHLIGHTED, 9);
+ DECLARE_COLOR_CONFIG(INNER_TEXT_NORMAL, 10);
+ DECLARE_COLOR_CONFIG(INNER_TEXT_PRESSED, 11);
+ DECLARE_COLOR_CONFIG(INNER_TEXT_HIGHLIGHTED, 12);
DECLARE_IMAGE_CONFIG(ITEM_BORDER_NORMAL, 1);
DECLARE_IMAGE_CONFIG(ITEM_BORDER_PRESSED, 2);
DECLARE_IMAGE_CONFIG(ITEM_BORDER_HIGHLIGHTED, 3);
// http://floralicense.org/license/
//
// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
+// distributed under the License is distributed on an AS IS BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace
{
-xmlSAXHandler mySaxHandler = {null, null, null, null, null, null, null, null, null, null, null, null, null, null,
- Tizen::Ui::_Resource::ConfigParser::StartSaxFunc,
+xmlSAXHandler mySaxHandler = {null, null, null, null, null, null, null, null, null, null, null, null, null, null,
+ Tizen::Ui::_Resource::ConfigParser::StartSaxFunc,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null};
}
const char* key ="FOOTER::SOFTKEY_TEXT_HIGHLIGHTED";
__pColorKeyTable->Add(ResourceKey(key), _FOOTER::SOFTKEY_TEXT_HIGHLIGHTED_COLOR);
}
-
+
{
const char* key ="FOOTER::SOFTKEY_ICON_NORMAL";
__pColorKeyTable->Add(ResourceKey(key), _FOOTER::SOFTKEY_ICON_NORMAL_COLOR);
__pColorKeyTable->Add(ResourceKey(key), _ICONLIST::TEXT_HIGHLIGHTED_COLOR);
}
{
+ const char* key ="ICONLIST::INNER_TEXT_NORMAL";
+ __pColorKeyTable->Add(ResourceKey(key), _ICONLIST::INNER_TEXT_NORMAL_COLOR);
+ }
+ {
+ const char* key ="ICONLIST::INNER_TEXT_PRESSED";
+ __pColorKeyTable->Add(ResourceKey(key), _ICONLIST::INNER_TEXT_PRESSED_COLOR);
+ }
+ {
+ const char* key ="ICONLIST::INNER_TEXT_HIGHLIGHTED";
+ __pColorKeyTable->Add(ResourceKey(key), _ICONLIST::INNER_TEXT_HIGHLIGHTED_COLOR);
+ }
+ {
const char* key ="ICONLIST::INNER_TEXT_BG_NORMAL";
__pColorKeyTable->Add(ResourceKey(key), _ICONLIST::INNER_TEXT_BG_NORMAL_COLOR);
}
ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L1);
ADD_COLOR_CONFIG(TEXT_PRESSED, $F011L1);
ADD_COLOR_CONFIG(TEXT_HIGHLIGHTED, $F011L1);
- ADD_COLOR_CONFIG(INNER_TEXT_BG_NORMAL, $B014);
+ ADD_COLOR_CONFIG(INNER_TEXT_NORMAL, $F011L1P);
+ ADD_COLOR_CONFIG(INNER_TEXT_PRESSED, $F011L1P);
+ ADD_COLOR_CONFIG(INNER_TEXT_HIGHLIGHTED, $F011L1P);
+ ADD_COLOR_CONFIG(INNER_TEXT_BG_NORMAL, $B013);
ADD_COLOR_CONFIG(ITEM_BG_PRESSED, $B013);
ADD_COLOR_CONFIG(ITEM_BORDER_NORMAL, $W151);
ADD_COLOR_CONFIG(ITEM_BORDER_PRESSED, $W151);