Puzzle / inc /

view.h

  1. /*
  2. * Copyright (c) 2016 Samsung Electronics Co., Ltd
  3. *
  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
  7. *
  8. * http://floralicense.org/license/
  9. *
  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.
  15. */
  16.  
  17. #if !defined(_VIEW_H)
  18. #define _VIEW_H
  19.  
  20. Eina_Bool view_create(void *user_data);
  21. Evas_Object *view_create_win(const char *pkg_name);
  22. Evas_Object *view_create_layout(Evas_Object *parent, const char *edj_file_name, const char *group_name, const char *part_name);
  23. Evas_Object *view_create_conformant_without_indicator(Evas_Object *win);
  24. Evas_Object *view_create_icon(Evas_Object *parent, const char *icon_type, const char *part_name);
  25. Evas_Object *view_create_image(Evas_Object *parent, const char *file_name, const char *part_name, int width, int height);
  26. Evas_Object *view_create_button(Evas_Object *parent, const char *caption, const char *part_name, Evas_Smart_Cb on_click_cb, void *data);
  27. Evas_Object *view_create_popup(const char *title, const char *button1, Evas_Smart_Cb on_click1_cb, const char *button2, Evas_Smart_Cb on_click2_cb);
  28. Evas_Object *view_create_radio(Evas_Object *parent, const char *part_name, int *v_pointer);
  29. void view_destroy(void);
  30.  
  31. #endif