new widgets

This commit is contained in:
IlyaShurupov 2024-06-19 22:17:18 +03:00
parent 3dce41ea39
commit 8f62c8f387
18 changed files with 373 additions and 43 deletions

View file

@ -23,6 +23,17 @@ void Application::run() {
bool redrawNeeded = false;
// proc first frame by default
{
mWindow->processEvents();
processFrame(eventHandler);
mGraphics->drawBegin();
drawFrame(mGraphics->getCanvas());
mGraphics->drawEnd();
mWindow->draw();
}
while (!mWindow->shouldClose()) {
if (mProcTimer.isTimeout()) {