输出测试,RenderableString基本完成

This commit is contained in:
EmsiaetKadosh
2025-01-17 16:36:39 +08:00
parent 2b7f05d928
commit 1007ac469a
10 changed files with 433 additions and 16 deletions
+9
View File
@@ -4,4 +4,13 @@
#include "Renderer.h"
#include "Game.h"
#include "hbp.h"
void Renderer::initialize() noexcept { MainDC = GetDC(MainWindowHandle); }
void Renderer::resize(const int width, const int height) noexcept(false) {
windowWidth = width;
windowHeight = height;
if (game.getWindow()) game.getWindow()->onResize();
}