123456789101112131415161718192021222324252627 |
- #ifndef zori_screen_H_INCLUDED
- #define zori_screen_H_INCLUDED
- #include "zori.h"
- /* The top level widget for a single display. */
- struct zori_screen {
- /* A screen is a widget. */
- struct zori_widget widget;
- /* It also manages the cursors. */
- struct zori_cursors cursors;
- /* Display this screen is on. */
- zori_display * display;
- /* The GUI page that is active on this screen if any. */
- struct zori_page * active_page;
- };
- zori_id zori_new_screen(zori_id id, zori_display * display);
- #endif
|