1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/recorder
Paul Sauro ac03680df3 keyboard.c: Layout dynamically the morse cheat sheet (supports larger sysfonts)
The main usecase of this is so the morse cheat sheet does not look broken (with cut characters) when we are using a different/larger sysfont. All is adjusted automatically thanks to the SYSFONT_WIDTH and SYSFONT_HEIGHT constants.

Long pushs are now represented as vertical long bars, while short pushs are represented into short bars (centered in the middle). The long pushs bars are not larger anymore, so spacing is consistent everytime for all long+short order different combos thus looking cleaner and more readable.

The code was also a bit refactored to be more easily understandable in the future by using clear variable names to describe the magic values.

- Tested with mini2g: no regression, can still show all characters no problem within the limited screen space that is available on this device
- Tested with ipod6g by configuring the same default font as erosq (14-Rockboxmix) which is larger than the default sysfont: looks really good ! Way more readable than before
- Tested with 4gmono: no regression

Change-Id: Ida8b37ac7bd0bb5f0d314b5dea7657aa41bf2650
2025-02-13 20:37:13 -05:00
..
albumart.c Database: Add ability to insert multiple files into playlists 2023-01-14 12:14:28 -05:00
albumart.h Limit exposure of skin engine internals 2022-10-17 14:29:12 +01:00
bmp.c Agptek Rocker: Initial commit 2018-06-12 10:31:14 +02:00
bmp.h Support GIMP bmp files. 2013-12-22 19:55:55 +01:00
icons.c Plugin Api add core bitmaps 2021-08-26 12:55:34 +00:00
icons.h Plugin Api add core bitmaps 2021-08-26 12:55:34 +00:00
jpeg_common.h Simplify clamp_component 2021-08-05 10:26:50 +00:00
jpeg_idct_arm.S arm: Use -masm-syntax-unified when compiling with gcc8 or newer 2024-05-08 21:45:42 -04:00
jpeg_load.c metadata: opus, vorbis, speex: support embedded jpeg album art 2025-02-08 10:02:21 +02:00
jpeg_load.h metadata: mp3: Support unsync embedded jpeg album art 2025-01-16 10:08:41 -05:00
keyboard.c keyboard.c: Layout dynamically the morse cheat sheet (supports larger sysfonts) 2025-02-13 20:37:13 -05:00
pcm_record.c Remove obsolete alias for audio_record function 2023-08-17 13:40:09 +02:00
pcm_record.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
peakmeter.c peakmeter: Make a smaller, cleaner calc_db(). 2024-11-30 21:14:37 -05:00
peakmeter.h [FS#10686] Peakmeter on ipod 5g using too much CPU 2025-01-05 16:57:18 -05:00
recording.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
recording.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
resize.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
resize.h [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00