Push IsBusy() callback to Backend.

This commit is contained in:
Bartosz Taudul
2024-03-24 17:39:55 +01:00
parent 9f9cd04761
commit 5b2cce0a02
4 changed files with 4 additions and 4 deletions

View File

@@ -728,7 +728,7 @@ static void SetupCursor()
s_cursorY = cursor->images[0]->hotspot_y * 120 / s_maxScale;
}
Backend::Backend( const char* title, const std::function<void()>& redraw, const std::function<void(float)>& scaleChanged, RunQueue* mainThreadTasks )
Backend::Backend( const char* title, const std::function<void()>& redraw, const std::function<void(float)>& scaleChanged, const std::function<int(void)>& isBusy, RunQueue* mainThreadTasks )
{
s_redraw = redraw;
s_scaleChanged = scaleChanged;