2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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.tizenopensource.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.
17 #ifndef __CISS_COMMON_DRAW_WIDGET_H_
18 #define __CISS_COMMON_DRAW_WIDGET_H_
20 #include <Elementary.h>
21 #include "cst-common.h"
23 #define BOTTOM_PADDING_CONTENT_SIGNAL "elm,layout,content,bottom_padding"
24 #define DEFAULT_CONTENT_SIGNAL "elm,layout,content,default"
25 #define BOTTOM_PADDING_CONTENT_SOURCE "layout"
27 Evas_Object *_cst_create_error_popup(Evas_Object *parent, int error_code);
28 Evas_Object *_cst_create_navi_control_bar(Evas_Object *parent,
29 char *label1, const char *icon1, Evas_Smart_Cb cb1,
30 char *label2, const char *icon2, Evas_Smart_Cb cb2,
31 void *data, Elm_Object_Item *navi_it,
32 Elm_Object_Item ** c_item);
33 void _cst_create_genlist_seperator(Evas_Object *genlist, Eina_Bool need_item_data);
34 void _cst_create_genlist_underline(Evas_Object *genlist);
35 Elm_Object_Item *_cst_create_genlist_update_underline(Evas_Object *genlist);
36 Evas_Object *_cst_create_progressbar(Evas_Object *parent);
37 Evas_Object *_cst_get_navifr_prev_btn(Evas_Object *nf);
38 void _cst_create_selectinfo(CstUgData_t *ugd, Evas_Object *layout, const char *label);
39 void _cst_del_selectinfo(CstUgData_t *ugd);
40 Evas_Object *_cst_create_onoff_button(Evas_Object *obj,
41 int state_value, Evas_Smart_Cb cb_func, void *cb_data);
42 Evas_Object *_cst_create_radio_icon(Evas_Object *obj,
43 Evas_Object *rdg, int value, int offset, const char *vconf_key);
44 Evas_Object *_cst_create_title_btn(Evas_Object *parent,
45 const char *text, Evas_Smart_Cb func, void *data);
46 void _cst_remove_naviframe(Evas_Object *nf);
47 Evas_Object *_cst_create_ime_editfield(CstUgData_t *ugd,
48 Evas_Object *parent, CstImeType_t ime_type, char *input_string);