widget_element.h 345 B

12345678910111213141516171819202122
  1. /**
  2. * @file widget_element_i.h
  3. * GUI: internal Widget Element API
  4. */
  5. #pragma once
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. typedef enum {
  10. GuiButtonTypeLeft,
  11. GuiButtonTypeCenter,
  12. GuiButtonTypeRight,
  13. } GuiButtonType;
  14. typedef void (*ButtonCallback)(GuiButtonType result, InputType type, void* context);
  15. #ifdef __cplusplus
  16. }
  17. #endif