progress.h 432 B

123456789101112131415161718192021
  1. /**
  2. * @file progress.h
  3. * @brief Gui view used to display the flashing progress.
  4. *
  5. * Includes a progress bar and some static graphics.
  6. */
  7. #pragma once
  8. #include <gui/view.h>
  9. typedef struct Progress Progress;
  10. Progress* progress_alloc();
  11. void progress_free(Progress* instance);
  12. View* progress_get_view(Progress* instance);
  13. void progress_set_value(Progress* instance, uint8_t value);
  14. void progress_reset(Progress* instance);