Some refactoring, layer icons are scaled for high DPI too now.

This commit is contained in:
Matthias Koefferlein
2022-09-18 20:56:37 +02:00
parent a6d4cdd254
commit 029284f48a
19 changed files with 196 additions and 107 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ TEST(1)
lay::LineStyles ls;
tl::Mutex m;
lay::bitmaps_to_image (view_ops, pbitmaps, dp, ls, &img, 32, 32, 0, &m);
lay::bitmaps_to_image (view_ops, pbitmaps, dp, ls, 1.0, &img, 32, 32, 0, &m);
EXPECT_EQ (to_string (img, 0x800000),
"................................\n"