ui stuff + clear notifications

This commit is contained in:
2023-04-02 16:29:35 +02:00
parent 537cd2cbdf
commit 708371a3d1
4 changed files with 63 additions and 22 deletions

View File

@@ -62,9 +62,11 @@ constexpr float DEFAULT_DROP_SHADOW_SIZE = 3.f;
constexpr ImGuiCol DEFAULT_DROP_SHADOW_COLOR_ID = ImGuiCol_TabUnfocused;
void dropShadow();
void dropShadow(const float shadowSize, const ImColor& color);
void renderDropShadow(const float shadowSize, const ImVec2& min, const ImVec2& max, const ImColor& color);
void dropShadow(const float shadowSizeX, const float shadowSizeY, const ImColor& color);
void renderDropShadow(const float shadowSizeX, const float shadowSizeY, const ImVec2& min, const ImVec2& max, const ImColor& color);
void dropShadowTableHeadersRow();
void dropShadowWindowTitle();
bool dropButton(const char* label, const ImVec2& size = ImVec2(0, 0), float shadowSize = DEFAULT_DROP_SHADOW_SIZE, bool smallButton = false);
bool checkboxWithDropShadow(const char* label, bool* v, const float shadowSize = DEFAULT_DROP_SHADOW_SIZE);