2021-01-26 23:00:20 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-01-27 11:04:42 +00:00
|
|
|
#include <functional>
|
|
|
|
|
2021-01-26 23:00:20 +00:00
|
|
|
#include <imgui.h>
|
|
|
|
|
|
|
|
namespace ImGui {
|
|
|
|
|
|
|
|
bool Hyperlink(const char* label, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0);
|
2021-01-27 11:04:42 +00: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-26 23:00:20 +00:00
|
|
|
|
2021-02-20 21:38:31 +00:00
|
|
|
void Disabled(std::function<void()> widgets, bool disabled);
|
2021-02-22 12:06:53 +00:00
|
|
|
void TextSpinner(const char* label);
|
2021-01-26 23:00:20 +00:00
|
|
|
}
|