Revert "edc: indicator paddings and scover code removed."
[apps/core/preloaded/indicator-win.git] / inc / ticker.h
1 /*
2  *  Indicator
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21 #ifndef __INDICATOR_TICKER_H__
22 #define __INDICATOR_TICKER_H__
23
24 typedef enum _indicator_animated_icon_type {
25         INDICATOR_ANIMATED_ICON_NONE = -1,
26         INDICATOR_ANIMATED_ICON_DOWNLOAD = 1,
27         INDICATOR_ANIMATED_ICON_UPLOAD,
28         INDICATOR_ANIMATED_ICON_INSTALL,
29 } indicator_animated_icon_type;
30
31 typedef struct ticker {
32         Evas_Object *scroller;
33         Evas_Object *textblock;
34         Ecore_Timer *timer;
35         Eina_List *ticker_list;
36         int current_page;
37         int cursor_pos;
38 } ticker_info_s;
39
40 extern int ticker_init(void *data);
41 extern int ticker_fini(void *data);
42
43 #endif