Codechange: Add Rect version of FillDrawPixelInfo().

This simplifies most callers as they longer have to split out a rect.
This commit is contained in:
Peter Nelson
2023-12-19 23:21:12 +00:00
committed by Peter Nelson
parent 111b4e6060
commit 313ee13e5f
13 changed files with 25 additions and 20 deletions

View File

@@ -688,7 +688,7 @@ public:
/* Set up a clipping region for the panel. */
DrawPixelInfo tmp_dpi;
if (!FillDrawPixelInfo(&tmp_dpi, fr.left, fr.top, fr.Width(), fr.Height())) return;
if (!FillDrawPixelInfo(&tmp_dpi, fr)) return;
AutoRestoreBackup dpi_backup(_cur_dpi, &tmp_dpi);