Files
ppsspp/ext/imgui/imgui_extras.h
2025-04-14 23:36:45 +02:00

18 lines
453 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);
bool RepeatButtonShift(const char* label, float repeatRate = 0.05f);
bool CollapsingHeaderWithCount(const char *title, int count, ImGuiTreeNodeFlags flags = 0);
} // namespace ImGui