Move dropdown button text and icon code to dropdown button class

This commit is contained in:
dec05eba
2024-08-01 18:38:06 +02:00
parent 5d40409fc6
commit 6624db873c
13 changed files with 644 additions and 102 deletions

18
include/Theme.hpp Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#include <mglpp/graphics/Color.hpp>
namespace gsr {
struct GsrInfo;
struct Theme {
Theme() = default;
Theme(const Theme&) = delete;
Theme& operator=(const Theme&) = delete;
mgl::Color tint_color = mgl::Color(118, 185, 0);
};
void init_theme(const gsr::GsrInfo &gsr_info);
const Theme& get_theme();
}