zori_menu.h 294 B

1234567891011121314151617
  1. #ifndef zori_menu_H_INCLUDED
  2. #define zori_menu_H_INCLUDED
  3. #define ZORI_WIDGET_TYPE_MENU ZORI_WIDGET_TYPE('z','m','e','n')
  4. struct zori_menu {
  5. struct zori_widget widget;
  6. /* The index of the menu item that currently is selected. Negative means none. */
  7. int selected_index;
  8. };
  9. #endif