re-add basic scaling

This commit is contained in:
StapleButter
2017-10-02 03:34:17 +02:00
parent 09920126dd
commit d0770596ea
4 changed files with 84 additions and 6 deletions

View File

@ -37,6 +37,11 @@ static LRESULT CALLBACK areaWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
uiWindowsEnsureGetClientRect(a->hwnd, &client);
areaDrawOnResize(a, &client);
areaScrollOnResize(a, &client);
{
double w, h;
loadAreaSize(a, a->rt, &w, &h);
a->ah->Resize(a->ah, a, (int)w, (int)h);
}
return 0;
}