4 * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #ifndef __INDICATOR_ICON_UTIL_H__
22 #define __INDICATOR_ICON_UTIL_H__
24 #include <Elementary.h>
26 #include "indicator.h"
29 #define MAX_NOTI_ICONS_PORT 5
30 #define MAX_NOTI_ICONS_LAND 11
32 #define SIGNAL_SIZE 32
35 ICON_STATE_HIDDEN = 0,
39 enum indicator_view_mode {
40 INDICATOR_KEEP_VIEW = -1,
45 extern void icon_show(icon_s *obj);
46 extern void icon_hide(icon_s *obj);
47 extern void icon_ani_set(icon_s *icon, enum indicator_icon_ani type);
48 extern char *icon_label_set(const char *buf, char *font_name,
49 char *font_style, int font_size,
51 extern Eina_Bool icon_add(win_info *win,icon_s *icon);
52 extern Eina_Bool icon_del(icon_s *icon);
53 extern unsigned int icon_get_update_flag(void);
54 extern void icon_set_update_flag(unsigned int val);
55 extern void icon_reset_list(void);
56 extern void icon_handle_more_notify_icon(win_info* win);
57 extern void* icon_util_make(void* input);
59 #endif /*__INDICATOR_ICON_UTIL_H__*/