4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Sangjin Han <sjhan.han@samsung.com>,
7 * Jiansong Jin <jiansong.jin@samsung.com>,
8 * Jonghyuk Lee <jhyuk47.lee@samsung.com>,
9 * Chaolong Lin <chaolong.lin@samsung.com>,
10 * Yongjun Zhao <yj123.zhao@samsung.com>
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
16 * http://www.apache.org/licenses/LICENSE-2.0
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
31 #define GE_TILE_THUMB_1 1
32 #define GE_TILE_THUMB_2 2
33 #define GE_TILE_THUMB_3 3
34 #define GE_TILE_THUMB_5 5
35 #define GE_TILE_THUMB_6 6
37 #define GT_TILE_ONLYICON "elm.swallow.onlyicon"
38 #define GT_TILE_FIRSTICON "elm.swallow.firsticon"
39 #define GT_TILE_ICON "elm.swallow.icon"
40 #define GT_TILE_3ICON1 "elm.swallow.3icon1"
41 #define GT_TILE_3ICON2 "elm.swallow.3icon2"
42 #define GT_TILE_4ICON1 GT_TILE_3ICON1
43 #define GT_TILE_4ICON3 "elm.swallow.4icon3"
44 #define GT_TILE_4ICON4 "elm.swallow.4icon4"
45 #define GT_TILE_5ICON1 "elm.swallow.5icon1"
46 #define GT_TILE_5ICON2 "elm.swallow.5icon2"
47 #define GT_TILE_5ICON4 GT_TILE_4ICON3
48 #define GT_TILE_5ICON5 GT_TILE_4ICON4
49 #define GT_TILE_6ICON1 GT_TILE_5ICON1
50 #define GT_TILE_6ICON3 GT_TILE_4ICON3
51 #define GT_TILE_6ICON4 "elm.swallow.6icon4"
52 #define GT_TILE_6ICON5 "elm.swallow.6icon5"
53 #define GT_TILE_6ICON6 GT_TILE_4ICON4
54 #define GT_TILE_LABEL "label_bg"
56 /* Size of album icon */
57 #define GE_TILE_SIZE 318
58 /* Size of table padding */
60 #define GE_TILE_PAD_2 2
61 /* Pure size of album icon; value: 196 */
62 #define GE_TILER_ICON_S (GE_TILE_SIZE - 2 * GE_TILE_PAD)
64 * Album icon is set by elm_table,
65 * it's divided into 3x3, 9 grids, each grid size is 64
67 #define GE_TILE_GRID_S 102
69 #define GE_TILE_2X_GRID_S (GE_TILER_ICON_S - GE_TILE_GRID_S - GE_TILE_PAD)
75 GE_ICON_CORRUPTED_FILE
78 typedef ge_icon_type (*bg_file_set_cb)(Evas_Object *bg, void *data);
80 Evas_Object *_ge_tile_show_part_icon(Evas_Object *obj, const char *part,
81 int length, double scale,
82 bg_file_set_cb func, void **data);
83 Evas_Object *_ge_tile_show_part_label(Evas_Object *obj, int index,