26#ifdef DTTR_MODS_ENABLED
32 if (!igBeginTabBar(
"dttr_config_tabs", ImGuiTabBarFlags_None)) {
36 for (
int i = 0; i < (int)SDL_arraysize(
CONFIG_TABS); i++) {
38 if (!igBeginTabItem(tab->
label,
NULL, ImGuiTabItemFlags_None)) {
const DTTR_BackendState * state
DTTR_Graphics_COM_DirectDrawSurface7 DWORD flags void NULL
bool begin_settings_table(const DTTR_ImGuiDialogContext *ctx, const char *id, float label_width, float input_width)
void draw_general_tab(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)
void draw_audio_tab(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)
void draw_gamepad_tab(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)
#define DTTR_CONFIG_UI_LABEL_W
void draw_modding_tab(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)
void draw_graphics_tab(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)
static const config_tab_spec CONFIG_TABS[]
void draw_tabs(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)
bool begin_tab_settings_table(const DTTR_ImGuiDialogContext *ctx, const char *id, float input_width)
void(* config_tab_draw_fn)(const DTTR_ImGuiDialogContext *ctx, config_ui_state *state)