InfiniTime/src/displayapp
Reinhold Gschweicher db0f909b46 generalize lv-font creation
In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font
generation capabilites were added. Generalize the font creation to
make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file
for `InfiniSim` and just add the new cmake file to the project and
link against the new `infinitime_fonts` target.

In the following a list of changes.

Allow non-global installed `lv_font_conv` executable installed with

```sh
npm install lv_font_conv@1.5.2
```

In CMake we search for `lv_font_conv` executable. Add the found
executable to the python script `generate.py`, to remove the need for
`lv_font_conv` to be in the path.

Search for `python3` executable, if CMake version 3.12 is available.
Otherwise use `python` as hard coded executable.

Instead of adding the generated fonts to `SOURCE_FILES` variable, create
a static library `infinitime_fonts`. Link this library to the
executables instead.

Use `add_custom_target()` together with `add_custom_command()` to
generate the font.c files once (like the original PR does).
2022-05-16 11:59:44 +03:00
..
fonts generalize lv-font creation 2022-05-16 11:59:44 +03:00
icons New sharper batteryicon. Remove old unused batteryicons 2022-04-25 17:03:08 +03:00
screens Fix dropdown graphical issues. 2022-05-08 13:21:46 +02:00
Apps.h Replace airplane mode with a bluetooth toggle 2022-04-02 16:16:47 +02:00
Colors.cpp Improve PTS color matching after gamma change 2022-04-25 15:50:26 +03:00
Colors.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
DisplayApp.cpp Remove lcd from DisplayApp 2022-05-08 13:12:37 +02:00
DisplayApp.h Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
DisplayAppRecovery.cpp Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
DisplayAppRecovery.h Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
DummyLittleVgl.h remove unused libs/ prefix from lvgl includes as not needed 2021-11-15 22:02:49 +01:00
LittleVgl.cpp Force full screen refresh with a rounder function 2022-05-08 13:21:27 +02:00
LittleVgl.h Force full screen refresh with a rounder function 2022-05-08 13:21:27 +02:00
lv_pinetime_theme.c Disable clip_corner, because it is slow. 2022-05-08 13:21:46 +02:00
lv_pinetime_theme.h Tweak gamma on ST7789 and match UI colors 2022-04-25 15:50:26 +03:00
Messages.h Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime into evergreen22-airplane-mode 2022-02-20 15:40:49 +01:00
TouchEvents.h Reformatted all the files according to clang-format style 2021-04-24 11:39:53 +03:00