You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* ImGui: fix optional `const char *` arguments
* ManagedBuffer: import missing type caster
For the return value of `get_texture_size()`.
---------
Co-authored-by: Nicholas Sharp <nmwsharp@gmail.com>
[](constchar* label, int v_current_min, int v_current_max, float v_speed, int v_min, int v_max, constchar* format, constchar* format_max, ImGuiSliderFlags flags) {
160
-
bool result = ImGui::DragIntRange2(label, &v_current_min, &v_current_max, v_speed, v_min, v_max, format, format_max, flags);
157
+
[](constchar* label, int v_current_min, int v_current_max, float v_speed, int v_min, int v_max, constchar* format, std::optional<std::string> format_max, ImGuiSliderFlags flags) {
158
+
bool result = ImGui::DragIntRange2(label, &v_current_min, &v_current_max, v_speed, v_min, v_max, format, to_char_ptr(format_max), flags);
0 commit comments