flipbip_startscreen.h 558 B

12345678910111213141516171819
  1. #pragma once
  2. #include <gui/view.h>
  3. #include "../helpers/flipbip_custom_event.h"
  4. typedef struct FlipBipStartscreen FlipBipStartscreen;
  5. typedef void (*FlipBipStartscreenCallback)(FlipBipCustomEvent event, void* context);
  6. void flipbip_startscreen_set_callback(
  7. FlipBipStartscreen* flipbip_startscreen,
  8. FlipBipStartscreenCallback callback,
  9. void* context);
  10. View* flipbip_startscreen_get_view(FlipBipStartscreen* flipbip_static);
  11. FlipBipStartscreen* flipbip_startscreen_alloc();
  12. void flipbip_startscreen_free(FlipBipStartscreen* flipbip_static);