From b5e5271646481196478affa00d97d564c335cbda Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 4 Jan 2023 17:30:05 +0100 Subject: [PATCH] Update raygui.h --- src/raygui.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/raygui.h b/src/raygui.h index 48034ba..d9715fd 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -1543,6 +1543,9 @@ int GuiTabBar(Rectangle bounds, const char **text, int count, int *active) GuiSetStyle(BUTTON, TEXT_ALIGNMENT, tempTextAlignment); } } + + // Draw tab-bar bottom line + GuiDrawRectangle(RAYGUI_CLITERAL(Rectangle){ bounds.x, bounds.y + bounds.height - 1, bounds.width, 1 }, 0, BLANK, GetColor(GuiGetStyle(TOGGLE, BORDER_COLOR_NORMAL))); //-------------------------------------------------------------------- return closing; // Return closing tab requested