zori_page.h 530 B

123456789101112131415161718192021222324
  1. #ifndef zori_page_H_INCLUDED
  2. #define zori_page_H_INCLUDED
  3. #include "zori.h"
  4. #define ZORI_WIDGET_TYPE_PAGE ZORI_WIDGET_TYPE('z','p','a','g')
  5. /* In Zori, the GUI is paginated. This means that on any
  6. * screen, only a single GUI page can be active. The intent is to
  7. * support different GUI modes such as startup screen, status view,
  8. * settings, HUD, and so on between which can be switched easily. */
  9. struct zori_page {
  10. /* A page is a widget. */
  11. struct zori_widget widget;
  12. };
  13. #include "zori_page_proto.h"
  14. #endif