Files
djhackersdev_bemanitools/src/main/imgui-bt/component.h
T
icex2 3090b9a029 feat: Add bt d3d9 hook specific imgui overlay (#318)
For now, we focus on internal overlays for bemanitools
that hook into an existing d3d9 context. The current
abstraction is fairly thin and should be fine as a start.

Implementations are called “components” and hook
up with a single frame_update function to execute
and logic and drawing updates with imgui
2025-02-08 23:19:49 +01:00

13 lines
280 B
C

#ifndef IMGUI_BT_COMPONENT_H
#define IMGUI_BT_COMPONENT_H
#include "imgui-bt/cimgui.h"
typedef void (*imgui_bt_component_frame_update_t)(ImGuiContext *ctx);
typedef struct imgui_bt_component {
imgui_bt_component_frame_update_t frame_update;
} imgui_bt_component_t;
#endif