add: Font registry
This commit is contained in:
@@ -8,7 +8,7 @@ using namespace std::chrono_literals;
|
||||
|
||||
#include "ScreenManager.hpp"
|
||||
#include "display/Display.hpp"
|
||||
#include "font/Font.hpp"
|
||||
#include "font/FontRegistry.hpp"
|
||||
//#include "render/RenderTarget.hpp"
|
||||
//#include "widgets/clock/Analog.hpp"
|
||||
#include "widgets/WidgetRegistry.hpp"
|
||||
@@ -24,6 +24,8 @@ int main()
|
||||
|
||||
display->Init();
|
||||
|
||||
frame::font::LoadFont("Fira Code");
|
||||
|
||||
frame::ScreenManager screen(std::move(display));
|
||||
|
||||
auto const& widgets = frame::Service::get<frame::widgets::WidgetRegistry>();
|
||||
|
||||
Reference in New Issue
Block a user