2 * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 //#define FB_BASE_LAYOUT "FB_BASE_LAYOUT"
22 #define FB_ALL_LAYOUT "FB_ALL_LAYOUT"
23 #define FB_PHOTO_LAYOUT "FB_PHOTO_LAYOUT"
24 #define FB_VIDEO_LAYOUT "FB_VIDEO_LAYOUT"
25 #define FB_MUSIC_LAYOUT "FB_MUSIC_LAYOUT"
28 #define NO_FILE_MESSAGE "No File"
29 #define NO_FILE_MESSAGE_SUB \
30 "There is no file in selected source"
31 #define NO_PHOTO_MESSAGE "No Photo"
32 #define NO_PHOTO_MESSAGE_SUB \
33 "There is no photo in selected source"
34 #define NO_VIDEO_MESSAGE "No Video"
35 #define NO_VIDEO_MESSAGE_SUB \
36 "There is no video in selected source"
37 #define NO_MUSIC_MESSAGE "No Music"
38 #define NO_MUSIC_MESSAGE_SUB \
39 "There is no music in selected source"
42 #define FONT_STYLE_REGULAR "TizenSans"
43 #define FONT_STYLE_BOLD "TizenSans:style=Bold"
44 #define FONT_STYLE_MEDIUM "TizenSans:style=Medium"
47 #define MAX_LENGTH 1024
48 #define FBR_TEXT_TITLE "FILE BROWSER"
49 #define FBR_BTN_ID "FBR_BTN_ID"
50 #define FBR_TEXT_LOADING "Updating..."
51 #define FBR_TITLE_SLIDE_SPEED (40.0)
52 #define RGB_FBR 126 128 255
53 #define RGBA_BLACK_BG 0 0 0 (255*0.9)
54 #define RGBA_COLOR_BG RGB_FBR (255*0.25)
56 /* BASE VIEW MACROS */
57 #define BASE_VIEW_DATA "BASE_VIEW_DATA"
58 #define FBR_BASE_VIEW "FBR_BASE_VIEW"
59 #define FBR_PART_MEDIA_GRID "FBR_PART_MEDIA_GRID"
60 #define FBR_PART_TITLE "FBR_PART_TITLE"
61 #define FBR_PART_FBR_ICON "FBR_PART_FBR_ICON"
62 #define FBR_PART_GROUPBTN_BOX "FBR_PART_GROUPBTN_BOX"
63 #define FBR_PART_SOURCE_HOVERSEL "FBR_PART_SOURCE_HOVERSEL"
64 #define FBR_PART_SORT_HOVERSEL "FBR_PART_SORT_HOVERSEL"
65 #define FBR_PART_SORT_POPUP "FBR_PART_SORT_POPUP"
66 #define FBR_PART_SOURCE_POPUP "FBR_PART_SOURCE_POPUP"
67 #define FBR_PART_ELM_SWALLOWICON "FBR_PART_ELM_SWALLOWICON"
68 #define FBR_PART_NO_CONTENT "FBR_PART_NO_CONTENT"
69 #define FBR_PART_NO_CONTENT_SUB "FBR_PART_NO_CONTENT_SUB"
70 #define FBR_PART_CONTENT "FBR_PART_CONTENT"
72 #define FBR_CONTEXT_VIEW "FBR_CONTEXT_VIEW"
73 #define FBR_CONTEXT_BTN "FBR_CONTEXT_BTN"
74 #define FBR_CONTEXT_APP "FBR_CONTEXT_APP"
75 #define FBR_IMAGE_CTXT_BG "contextual_menu_bg.png"
76 #define FBR_IMAGE_CTXT_ITEM_BG "focused_app_bg.png"
77 #define FBR_IMAGE_CTXT_BTNBG_NOR "function_button_nor.png"
78 #define FBR_IMAGE_CTXT_BTNBG_FOC "function_button_foc.png"
79 #define FBR_IMAGE_CTXT_APPBG "app_ico_bg.png"
80 #define FBR_IMAGE_CTXT_OPEN "ico_open.png"
81 #define FBR_PART_CTXT_ICON "FBR_PART_CTXT_ICON"
82 #define FBR_PART_CTXT_TITLE "FBR_PART_CTXT_TITLE"
83 #define FBR_PART_CTXT_SUBTITLE "FBR_PART_CTXT_SUBTITLE"
84 #define FBR_PART_CTXT_SUBTITLE2 "FBR_PART_CTXT_SUBTITLE2"
85 #define FBR_PART_CTXT_BTNAREA "FBR_PART_CTXT_BTNAREA"
86 #define FBR_PART_CTXT_LINK_TEXT "FBR_PART_CTXT_LINK_TEXT"
87 #define FBR_PART_CTXT_LINK_AREA "FBR_PART_CTXT_LINK_AREA"
88 #define FBR_PART_CTXT_REL_TEXT "FBR_PART_CTXT_REL_TEXT"
89 #define FBR_PART_CTXT_REL_AREA "FBR_PART_CTXT_REL_AREA"
90 #define FBR_PART_CTXT_BTNICON "FBR_PART_CTXT_BTNICON"
91 #define FBR_PART_CTXT_BTNTEXT "FBR_PART_CTXT_BTNTEXT"
92 #define FBR_PART_CTXT_BTNBG "FBR_PART_CTXT_BTNBG"
93 #define FBR_PART_CTXT_RELCTNT_ICON "FBR_PART_CTXT_RELCTNT_ICON"
94 #define FBR_PART_CTXT_RELCTNT_NAME "FBR_PART_CTXT_RELCTNT_NAME"
95 #define FBR_DATA_TITLE_WIDTH "FBR_DATA_TITLE_WIDTH"
98 #define FBR_STYLE_GROUPBTN "fbr_menubtn"
99 #define FBR_STYLE_WIN_FOCUS "invisible"
100 #define FBR_STYLE_MEDIA_GRID "fbr_mediagrid"
101 #define FBR_STYLE_THUMB "noframe"
102 #define FBR_STYLE_SORT_BTN "fbr_sortbtn"
103 #define FBR_STYLE_SOURCE_BTN "fbr_sourcebtn"
104 #define FBR_STYLE_HOVER_ENTRY "fbr_hover_entry"
105 #define FBR_STYLE_HOVER_CTXPOPUP "fbr_common_popup"
106 #define FBR_STYLE_LOADING_POPUP "loading"
107 #define FBR_STYLE_LOADING_LABEL "popup/loading"
108 #define FBR_STYLE_LABEL "slide_style_36"
111 #define FBR_SIGNAL_FOCUSED "focused"
112 #define FBR_SIGNAL_UNFOCUSED "unfocused"
113 #define FBR_SIGNAL_CLICKED "clicked"
114 #define FBR_SIGNAL_ACTIVATED "activated"
115 #define FBR_SIGNAL_SELECTED "selected"
116 #define FBR_SIGNAL_REALIZED "realized"
117 #define FBR_SIGNAL_UNREALIZED "unrealized"
118 #define FBR_SIGNAL_GROUP_SELECTED "FBR_SIGNAL_GROUP_SELECTED"
119 #define FBR_SIGNAL_GROUP_UNSELECTED "FBR_SIGNAL_GROUP_UNSELECTED"
120 #define FBR_SIGNAL_CONTENT_CLICKED "FBR_SIGNAL_CONTENT_CLICKED"
121 #define FBR_SIGNAL_BTN_CLICKED "FBR_SIGNAL_BTN_CLICKED"
124 #define FBR_IMAGE_GRPBTN_ALL "ico_filebrowser_all.png"
125 #define FBR_IMAGE_GRPBTN_PHOTO "ico_filebrowser_photo.png"
126 #define FBR_IMAGE_GRPBTN_VIDEO "ico_filebrowser_video.png"
127 #define FBR_IMAGE_GRPBTN_MUSIC "ico_filebrowser_music.png"
128 #define FBR_IMAGE_ICON "ico_filebrowser.png"
129 #define FBR_GROUPBTN_BG "allbrowser_menu_bg.png"
130 #define FBR_IMAGE_BTN_NORMAL_BG "btn_bg_round_stroke.png"
131 #define FBR_IMAGE_BTN_FOCUS_BG "btn_bg_round_72x72.png"
132 #define FBR_IMAGE_DEFAULT_MUSIC "ico_default_music_126.png"
133 #define FBR_IMAGE_DEFAULT_VIDEO "ico_default_video_126.png"
134 #define FBR_IMAGE_DEFAULT_OTHER "ico_default_other_126.png"
135 #define FBR_IMAGE_NORMAL_MUSIC "ico_default_music_126_b.png"
136 #define FBR_IMAGE_NORMAL_VIDEO "ico_default_video_126_b.png"
137 #define FBR_IMAGE_NORMAL_OTHER "ico_default_other_126_b.png"
138 #define FBR_IMAGE_PULLDOWN_ARROW "ico_pulldown_nor.png"
139 #define FBR_IMAGE_FOLDER "ico_folder.png"
140 #define FBR_IMAGE_TICK "ico_check_foc.png"
141 #define FBR_IMAGE_ROUND_ICON "round_rectangle_4X4.png"
142 #define FBR_IMAGE_LOADING "loading_48_01.png"
143 #define FBR_IMAGE_DEFAULT_APP "ico_default.png"
146 #define FBR_PART_ELM_SWALLOWICON "FBR_PART_ELM_SWALLOWICON"
147 #define FBR_POPUP_SWALLOW_ICON "elm.swallow.icon"
150 #define KEY_ENTER "Return"
151 #define KEY_EXIT "Exit"
152 #define KEY_BACK "Escape"
153 #define KEY_MENU "Super_L"
155 /* CTXPOPUP POSITION */
156 #define POSITION_SORT_POPUP_X 1344
157 #define POSITION_SORT_POPUP_Y 155
158 #define POSITION_SOURCE_POPUP_X 1654
159 #define POSITION_SOURCE_POPUP_Y 155
161 #endif /* __DEFINE_H__ */