Add skeleton of TextRenderer
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory_resource>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
@@ -18,6 +17,7 @@ extern "C" {
|
||||
#include <wayland-egl.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
#include "TextRenderer.hpp"
|
||||
#include "Theme.hpp"
|
||||
#include "common.hpp"
|
||||
|
||||
@@ -139,6 +139,9 @@ private:
|
||||
}
|
||||
} m_kbd;
|
||||
|
||||
std::optional<TextRenderer> m_tr { std::nullopt };
|
||||
FontHandle m_font;
|
||||
|
||||
enum_array<Theme, ColorScheme> m_themes { make_default_themes() };
|
||||
Theme m_active_theme { Theme::Light };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user