From b24687d46b2374967ea874f54707610138cad477 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 10 Oct 2014 03:37:21 +0200 Subject: Bug 1093 - NEWT PointerIcon swizzled on X11 and OSX; WindowIcon swizzled on OSX ([R] -> [B]) Following mistakes were made in native PixelFormat for PointerIcon and WindowIcon: PointerIcon: X11: RGBA8888 -> BGRA8888 OSX: BGRA8888 -> RGBA8888 WindowIcon: OSX: BGRA8888 -> RGBA8888 Test case: TestWindowAndPointerIconNEWT (requires visual validation) +++ Summary: PointerIcon: BGRA8888: X11, Win32 RGBA8888: OSX WindowIcon: BGRA8888: X11, Win32 RGBA8888: OSX +++ Reported by 'LT' Conflicts: make/scripts/tests-win.bat --- make/resources/assets-test/arrow-blue-alpha-64x64.png | Bin 0 -> 2327 bytes make/resources/assets-test/arrow-red-alpha-64x64.png | Bin 0 -> 2331 bytes make/resources/assets-test/red-16x16.png | Bin 0 -> 168 bytes make/resources/assets-test/red-32x32.png | Bin 0 -> 383 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 make/resources/assets-test/arrow-blue-alpha-64x64.png create mode 100644 make/resources/assets-test/arrow-red-alpha-64x64.png create mode 100644 make/resources/assets-test/red-16x16.png create mode 100644 make/resources/assets-test/red-32x32.png (limited to 'make/resources/assets-test') diff --git a/make/resources/assets-test/arrow-blue-alpha-64x64.png b/make/resources/assets-test/arrow-blue-alpha-64x64.png new file mode 100644 index 000000000..ec29db526 Binary files /dev/null and b/make/resources/assets-test/arrow-blue-alpha-64x64.png differ diff --git a/make/resources/assets-test/arrow-red-alpha-64x64.png b/make/resources/assets-test/arrow-red-alpha-64x64.png new file mode 100644 index 000000000..b8775aec0 Binary files /dev/null and b/make/resources/assets-test/arrow-red-alpha-64x64.png differ diff --git a/make/resources/assets-test/red-16x16.png b/make/resources/assets-test/red-16x16.png new file mode 100644 index 000000000..7468390f3 Binary files /dev/null and b/make/resources/assets-test/red-16x16.png differ diff --git a/make/resources/assets-test/red-32x32.png b/make/resources/assets-test/red-32x32.png new file mode 100644 index 000000000..da2b44d84 Binary files /dev/null and b/make/resources/assets-test/red-32x32.png differ -- cgit v1.2.3