impr: Prettier data inspector edit button

This commit is contained in:
WerWolv
2023-11-19 16:08:21 +01:00
parent bd59bcda2c
commit f9073ee8ee
3 changed files with 22 additions and 3 deletions

View File

@@ -263,6 +263,7 @@ namespace ImGuiExt {
bool DimmedButton(const char* label, ImVec2 size = ImVec2(0, 0));
bool DimmedIconButton(const char *symbol, ImVec4 color, ImVec2 size = ImVec2(0, 0));
bool DimmedButtonToggle(const char *icon, bool *v, ImVec2 size);
bool DimmedIconToggle(const char *icon, bool *v);
void TextOverlay(const char *text, ImVec2 pos);