From a3684e090ea637168c2542c7b4eaade756de3fe3 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 10 Dec 2021 19:46:09 +0100 Subject: [PATCH] m3k simulator: remove white border Change-Id: I1503dadc966af568c8a4482e1d7f5641092594f0 --- firmware/target/hosted/sdl/sim-ui-defines.h | 6 +++--- uisimulator/bitmaps/UI-fiiom3k.bmp | Bin 919294 -> 913878 bytes uisimulator/buttonmap/fiio-m3k.c | 22 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h index 6235f106d4..7d60deac34 100644 --- a/firmware/target/hosted/sdl/sim-ui-defines.h +++ b/firmware/target/hosted/sdl/sim-ui-defines.h @@ -523,10 +523,10 @@ #elif defined(FIIO_M3K) || defined(FIIO_M3K_LINUX) #define UI_TITLE "FiiO M3K" -#define UI_WIDTH 335 /* width of GUI window */ -#define UI_HEIGHT 686 /* height of GUI window */ +#define UI_WIDTH 334 /* width of GUI window */ +#define UI_HEIGHT 684 /* height of GUI window */ #define UI_LCD_POSX 49 -#define UI_LCD_POSY 38 +#define UI_LCD_POSY 37 #elif defined(SHANLING_Q1) diff --git a/uisimulator/bitmaps/UI-fiiom3k.bmp b/uisimulator/bitmaps/UI-fiiom3k.bmp index bb168000f2d08ee1791d823ffcdbf0495d92391b..54438ea06f6ce01c1cd9efdf6b81a159112fc277 100644 GIT binary patch delta 4713 zcmX}u4}8_rAII@_>)vg5e`LPRwK8+nFn)`xW`>n3qhWDnG~Bo{HC!x4^J};<8Qq`m z*f*n##bj!@S38VG7mLwwv6vbSi^=F>xMlr5uUpOI(erV<&-;AN_x@RHWJP|@cc)IV zU)ZxdWeor2$)DroPf6UEF?0Xjw=Zr?mi*tCF;DMKSvh4&u+})!80<1nGS=tDC9f<= z2#y>w*%-{8kZ%mSG6eroLhocDJx6d%6};1guG0k548cAt-&pUMss(+sC+}Z$m&n3C z%MwhTn`I2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