mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 22:40:44 +09:00
Move dropdown button text and icon code to dropdown button class
This commit is contained in:
18
include/Theme.hpp
Normal file
18
include/Theme.hpp
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user