shapshup_custom_event.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #pragma once
  2. /**
  3. * @brief ShapshupCustomEvent
  4. * ShapShupCustomEventTypeReserved = 100,
  5. * ShapShupCustomEventTypeBackPressed,
  6. * ShapShupCustomEventTypeIndexSelected,
  7. * ShapShupCustomEventTypeTransmitStarted,
  8. * ShapShupCustomEventTypeTransmitContinuousStarted,
  9. * ShapShupCustomEventTypeTransmitFinished,
  10. * ShapShupCustomEventTypeTransmitNotStarted,
  11. * ShapShupCustomEventTypeTransmitCustom,
  12. * ShapShupCustomEventTypeSaveFile,
  13. * ShapShupCustomEventTypeUpdateView,
  14. * ShapShupCustomEventTypeChangeStepUp,
  15. * ShapShupCustomEventTypeChangeStepDown,
  16. * ShapShupCustomEventTypeChangeStepUpMore,
  17. * ShapShupCustomEventTypeChangeStepDownMore,
  18. * ShapShupCustomEventTypeMenuSelected,
  19. * ShapShupCustomEventTypeTextEditDone,
  20. * ShapShupCustomEventTypePopupClosed,
  21. * ShapShupCustomEventTypeLoadFile,
  22. */
  23. typedef enum {
  24. // Reserve first 100 events for button types and indexes, starting from 0
  25. ShapShupCustomEventTypeReserved = 100,
  26. ShapShupCustomEventTypeBackPressed,
  27. ShapShupCustomEventTypeIndexSelected,
  28. ShapShupCustomEventTypeTransmitStarted,
  29. ShapShupCustomEventTypeTransmitContinuousStarted,
  30. ShapShupCustomEventTypeTransmitFinished,
  31. ShapShupCustomEventTypeTransmitNotStarted,
  32. ShapShupCustomEventTypeTransmitCustom,
  33. ShapShupCustomEventTypeSaveFile,
  34. ShapShupCustomEventTypeUpdateView,
  35. ShapShupCustomEventTypeChangeStepUp,
  36. ShapShupCustomEventTypeChangeStepDown,
  37. ShapShupCustomEventTypeChangeStepUpMore,
  38. ShapShupCustomEventTypeChangeStepDownMore,
  39. ShapShupCustomEventTypeMenuSelected,
  40. ShapShupCustomEventTypeTextEditDone,
  41. ShapShupCustomEventTypePopupClosed,
  42. ShapShupCustomEventTypeLoadFile,
  43. ShapShupCustomEventTypeExitApp,
  44. } ShapshupCustomEvent;