Files
ppsspp/ext/imgui/imgui_extras.h
Henrik Rydgård 026ea6e197 imgui debugger: Make the repeat button capable of returning values > 1
(for very fast repeats, but the caller must support it)

Also just increase the repeat rates in the ge debugger
2026-01-22 13:47:14 +01:00

18 lines
452 B
C++

// Just some string_view and related wrappers.
#include <string_view>
#include "ext/imgui/imgui.h"
namespace ImGui {
inline void TextUnformatted(std::string_view str) {
TextUnformatted(str.data(), str.data() + str.size());
}
bool RepeatButton(const char *title);
int RepeatButtonShift(const char* label, float repeatRate = 0.05f);
bool CollapsingHeaderWithCount(const char *title, int count, ImGuiTreeNodeFlags flags = 0);
} // namespace ImGui