lvgl_view.h 707 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) 2020 Actions Technology Co., Ltd
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /**
  7. * @file
  8. * @brief lvgl view
  9. */
  10. #ifndef FRAMEWORK_DISPLAY_INCLUDE_LVGL_VIEW_H
  11. #define FRAMEWORK_DISPLAY_INCLUDE_LVGL_VIEW_H
  12. /**
  13. * @defgroup lvgl_view_apis LVGL View APIs
  14. * @ingroup lvgl_apis
  15. * @{
  16. */
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /**
  21. * @cond INTERNAL_HIDDEN
  22. */
  23. /**
  24. * @brief Initialize the lvgl view system.
  25. *
  26. * It will register lvgl view implementation to ui_service.
  27. *
  28. * @retval 0 on success else negative code.
  29. */
  30. int lvgl_view_system_init(void);
  31. /**
  32. * INTERNAL_HIDDEN @endcond
  33. */
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. /**
  38. * @}
  39. */
  40. #endif /* FRAMEWORK_DISPLAY_INCLUDE_LVGL_VIEW_H */