|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include "gui_internal.h"Go to the source code of this file.
Data Structures | |
| struct | config_mod_dll_list |
Macros | |
| #define | DTTR_CONFIG_UI_MOD_ENABLE_W 4.0f |
Functions | |
| static float | mod_enable_column_width (const DTTR_ImGuiDialogContext *ctx) |
| static bool | is_shadow_mod_dll (const char *filename) |
| static void | scan_mod_dlls (const config_ui_state *state, config_mod_dll_list *out) |
| static bool | begin_mod_table (const DTTR_ImGuiDialogContext *ctx) |
| static void | draw_mod_toggle_row (const DTTR_ImGuiDialogContext *ctx, config_ui_state *state, const char *mod_name, int row_index) |
| static void | draw_mod_section_header (const DTTR_ImGuiDialogContext *ctx) |
| void | draw_modding_tab (const DTTR_ImGuiDialogContext *ctx, config_ui_state *state) |
Variables | |
| static const char * | TOOLTIP_HOT_RELOAD |
| static const char * | TOOLTIP_MOD_ENABLE |
| static const char * | MODDING_WARNING_TEXT |
| #define DTTR_CONFIG_UI_MOD_ENABLE_W 4.0f |
Definition at line 10 of file gui_tab_modding.c.
Referenced by mod_enable_column_width().
|
static |
Definition at line 75 of file gui_tab_modding.c.
References CONFIG_TABLE_FLAGS, ctx, flags, and mod_enable_column_width().
Referenced by draw_modding_tab().
|
static |
Definition at line 119 of file gui_tab_modding.c.
References add_scaled_vertical_spacing(), ctx, DTTR_CONFIG_UI_SECTION_SPACING, show_tooltip(), and TOOLTIP_MOD_ENABLE.
Referenced by draw_modding_tab().
|
static |
Definition at line 93 of file gui_tab_modding.c.
References begin_config_table_row(), ctx, DTTR_Config_IsModDisabled(), DTTR_Config_SetModEnabled(), NULL, set_status(), show_tooltip(), state, and TOOLTIP_MOD_ENABLE.
Referenced by draw_modding_tab().
| void draw_modding_tab | ( | const DTTR_ImGuiDialogContext * | ctx, |
| config_ui_state * | state ) |
Definition at line 125 of file gui_tab_modding.c.
References add_scaled_vertical_spacing(), begin_mod_table(), begin_tab_settings_table(), config_mod_dll_list::count, ctx, draw_mod_section_header(), draw_mod_toggle_row(), DTTR_CONFIG_UI_INPUT_W, DTTR_CONFIG_UI_WARNING_TEXT_COLOR, end_settings_table(), FIELD_LABEL_STATE, labeled_checkbox(), MODDING_WARNING_TEXT, config_mod_dll_list::names, scan_mod_dlls(), state, and TOOLTIP_HOT_RELOAD.
|
static |
Definition at line 22 of file gui_tab_modding.c.
References DTTR_MODS_SHADOW_PREFIX.
Referenced by scan_mod_dlls().
|
static |
Definition at line 17 of file gui_tab_modding.c.
References ctx, DTTR_CONFIG_UI_MOD_ENABLE_W, and DTTR_ImGuiDialog_ScaledFloat().
Referenced by begin_mod_table().
|
static |
Definition at line 27 of file gui_tab_modding.c.
References config_mod_dll_list::count, DTTR_CONFIG_DISABLED_MODS_MAX, DTTR_Path_CopyString(), is_shadow_mod_dll(), config_mod_dll_list::names, and state.
Referenced by draw_modding_tab().
|
static |
Definition at line 7 of file gui_tab_modding.c.
Referenced by draw_modding_tab().
|
static |
Definition at line 3 of file gui_tab_modding.c.
Referenced by draw_modding_tab().
|
static |
Definition at line 5 of file gui_tab_modding.c.
Referenced by draw_mod_section_header(), and draw_mod_toggle_row().