diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-04 16:53:57 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-04 16:53:57 +0200 |
| commit | f9f1955748a3b369f0a015405af131c9b6e3285c (patch) | |
| tree | c74cec6b30daccee2d1841627b3913c51fd549e3 /src/ui/imgui_extensions.cpp | |
| parent | 2855642dd16cea260f3b32351f0529328a0bcb15 (diff) | |
namespace for logger, strops, locales
Diffstat (limited to 'src/ui/imgui_extensions.cpp')
| -rw-r--r-- | src/ui/imgui_extensions.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/imgui_extensions.cpp b/src/ui/imgui_extensions.cpp index 8c8f4c4..a283ad4 100644 --- a/src/ui/imgui_extensions.cpp +++ b/src/ui/imgui_extensions.cpp @@ -61,7 +61,7 @@ namespace ImGui 0); // allowMultiple (0 = single) if (file) { - strops_copy(buffer, file, MAX_LEN_PATH); + strops::copy(buffer, file, MAX_LEN_PATH); buffer[MAX_LEN_PATH-1] = '\0'; result = true; } @@ -136,7 +136,7 @@ namespace ImGui } if (selected_country_index != -1) { - strops_copy(buffer, config::country_codes[selected_country_index], buf_size); + strops::copy(buffer, config::country_codes[selected_country_index], buf_size); } } @@ -201,7 +201,7 @@ namespace ImGui if (ImGui::Selectable(suggestions[i])) { // Copy selected suggestion to buffer - strops_copy(buffer, suggestions[i], buf_size); + strops::copy(buffer, suggestions[i], buf_size); buffer[buf_size - 1] = '\0'; result = i; is_open = false; @@ -279,7 +279,7 @@ namespace ImGui } if (selected_costcenter_index != -1) { - strops_copy(costcenter_id, buffer[selected_costcenter_index].id, MAX_LEN_ID); + strops::copy(costcenter_id, buffer[selected_costcenter_index].id, MAX_LEN_ID); } free(buffer); @@ -320,7 +320,7 @@ namespace ImGui } if (selected_project_index != -1) { - strops_copy(project_id, buffer[selected_project_index].id, MAX_LEN_ID); + strops::copy(project_id, buffer[selected_project_index].id, MAX_LEN_ID); } free(buffer); @@ -392,7 +392,7 @@ namespace ImGui } if (selected_tax_rate_index != -1) { - strops_copy(tax_rate_id, buffer[selected_tax_rate_index].id, MAX_LEN_ID); + strops::copy(tax_rate_id, buffer[selected_tax_rate_index].id, MAX_LEN_ID); } free(buffer); @@ -441,7 +441,7 @@ namespace ImGui if (ImGui::Selectable(currencies[n], isSelected)) { result = true; - strops_copy(currency, currencies[n], MAX_LEN_CURRENCY); + strops::copy(currency, currencies[n], MAX_LEN_CURRENCY); } if (isSelected) |
