imgui_impl_a5.h 489 B

123456789101112131415161718
  1. // ImGui Allegro 5 bindings
  2. // https://github.com/ocornut/imgui
  3. // by @birthggd
  4. #pragma once
  5. struct ALLEGRO_DISPLAY;
  6. union ALLEGRO_EVENT;
  7. bool ImGui_ImplA5_Init(ALLEGRO_DISPLAY* display);
  8. void ImGui_ImplA5_Shutdown();
  9. void ImGui_ImplA5_NewFrame();
  10. bool ImGui_ImplA5_ProcessEvent(ALLEGRO_EVENT* event);
  11. // Use if you want to reset your rendering device without losing ImGui state.
  12. bool Imgui_ImplA5_CreateDeviceObjects();
  13. void ImGui_ImplA5_InvalidateDeviceObjects();