hex_viewer_startscreen.h 601 B

12345678910111213141516171819
  1. #pragma once
  2. #include <gui/view.h>
  3. #include "../helpers/hex_viewer_custom_event.h"
  4. typedef struct HexViewerStartscreen HexViewerStartscreen;
  5. typedef void (*HexViewerStartscreenCallback)(HexViewerCustomEvent event, void* context);
  6. void hex_viewer_startscreen_set_callback(
  7. HexViewerStartscreen* hex_viewer_startscreen,
  8. HexViewerStartscreenCallback callback,
  9. void* context);
  10. View* hex_viewer_startscreen_get_view(HexViewerStartscreen* hex_viewer_static);
  11. HexViewerStartscreen* hex_viewer_startscreen_alloc();
  12. void hex_viewer_startscreen_free(HexViewerStartscreen* hex_viewer_static);