This commit is contained in:
ttewrrr
2026-03-08 17:30:00 +01:00
parent f8ef076e70
commit 27532eb206
3025 changed files with 0 additions and 670604 deletions
-27
View File
@@ -1,27 +0,0 @@
#include "stdafx.h"
#include "ErrorScreen.h"
ErrorScreen::ErrorScreen(const wstring& title, const wstring& message)
{
this->title = title;
this->message = message;
}
void ErrorScreen::init()
{
}
void ErrorScreen::render(int xm, int ym, float a)
{
// fill(0, 0, width, height, 0x40000000);
fillGradient(0, 0, width, height, 0xff402020, 0xff501010);
drawCenteredString(font, title, width/2, 90, 0xffffff);
drawCenteredString(font, message, width/2, 110, 0xffffff);
Screen::render(xm, ym, a);
}
void ErrorScreen::keyPressed(wchar_t eventCharacter, int eventKey)
{
}