2021-01-27 00:00:20 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-01-27 12:04:42 +01:00
|
|
|
#include <functional>
|
|
|
|
|
2021-01-27 00:00:20 +01:00
|
|
|
#include <imgui.h>
|
|
|
|
|
|
|
|
namespace ImGui {
|
|
|
|
|
|
|
|
bool Hyperlink(const char* label, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0);
|
2021-01-27 12:04:42 +01:00
|
|
|
bool BulletHyperlink(const char* label, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0);
|
|
|
|
bool DescriptionButton(const char* label, const char* description, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0);
|
|
|
|
|
|
|
|
void UnderlinedText(const char* label, ImColor color, const ImVec2& size_arg = ImVec2(0, 0));
|
2021-01-27 00:00:20 +01:00
|
|
|
|
2021-02-20 22:38:31 +01:00
|
|
|
void Disabled(std::function<void()> widgets, bool disabled);
|
2021-02-22 13:06:53 +01:00
|
|
|
void TextSpinner(const char* label);
|
2021-01-27 00:00:20 +01:00
|
|
|
}
|