2 * Copyright 2012-2013 Samsung Electronics Co., Ltd/
4 * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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.
23 #ifndef __DEF_SEARCH_BAR_H__
24 #define __DEF_SEARCH_BAR_H__
26 #include <Elementary.h>
28 void search_searchbar_cb(void *data, Evas_Object * obj, void *event_info);
30 void search_searchbar_entry_changed_cb(void *data, Evas_Object * obj,
32 Evas_Object *search_category_custom_layout_add(Evas_Object *parent);
33 Evas_Object *search_category_image_add(char* imgpath, Evas_Object *parent, int width, int height, bool resize);
34 Evas_Object *search_searchbar_category_icon_add(char *img, Evas_Object *parent, int width, int height, bool resize);
35 void search_create_searchbar_layout(Evas_Object *parent, void *data);
36 void search_delete_searchbar_layout(void *data);
37 Evas_Object *search_create_layout(Evas_Object *parent, const char *file, const char *group);
38 Evas_Object *search_create_category_button(Evas_Object *parent, void *data);
39 Evas_Object *search_create_search_bar(Evas_Object *parent);
40 Evas_Object *search_create_search_cancel_btn(Evas_Object *parent);
41 Evas_Object *search_create_search_entry(Evas_Object *parent, void *data);
42 #endif /* __DEF_SEARCH_BAR_H__ */