From 6624db873c91087bc1805b9d018c92c455b85190 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 1 Aug 2024 18:38:06 +0200 Subject: Move dropdown button text and icon code to dropdown button class --- include/gui/Utils.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/gui/Utils.hpp (limited to 'include/gui/Utils.hpp') diff --git a/include/gui/Utils.hpp b/include/gui/Utils.hpp new file mode 100644 index 0000000..fe5ee49 --- /dev/null +++ b/include/gui/Utils.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include +#include + +namespace mgl { + class Window; +} + +namespace gsr { + // Inner border + void draw_rectangle_outline(mgl::Window &window, mgl::vec2f pos, mgl::vec2f size, mgl::Color color, float border_size); +} \ No newline at end of file -- cgit v1.2.3