Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/ext/imgui/imgui_extras.h
3186 views
1
// Just some string_view and related wrappers.
2
3
#include <string_view>
4
#include "ext/imgui/imgui.h"
5
6
namespace ImGui {
7
8
inline void TextUnformatted(std::string_view str) {
9
TextUnformatted(str.data(), str.data() + str.size());
10
}
11
12
bool RepeatButton(const char *title);
13
bool RepeatButtonShift(const char* label, float repeatRate = 0.05f);
14
15
bool CollapsingHeaderWithCount(const char *title, int count, ImGuiTreeNodeFlags flags = 0);
16
17
} // namespace ImGui
18
19