From f049f382f03c946b967e1a53368c82f845299cb4 Mon Sep 17 00:00:00 2001 From: JF Date: Sat, 18 Jan 2020 18:17:52 +0100 Subject: Encapsulate the drawing of the screen into Screens classes. --- src/CMakeLists.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f4c787f6..eb755019 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -31,8 +31,11 @@ list(APPEND SOURCE_FILES Logging/NrfLogger.cpp BlinkApp/BlinkApp.cpp DisplayApp/DisplayApp.cpp - DisplayApp/lcdfont70.c - DisplayApp/lcdfont14.c + DisplayApp/Fonts/lcdfont70.c + DisplayApp/Fonts/lcdfont14.c + DisplayApp/Screens/Screen.cpp + DisplayApp/Screens/Clock.cpp + DisplayApp/Screens/Message.cpp main.cpp drivers/St7789.cpp drivers/SpiMaster.cpp @@ -52,8 +55,11 @@ set(INCLUDE_FILES Logging/NrfLogger.h BlinkApp/BlinkApp.h DisplayApp/DisplayApp.h - DisplayApp/lcdfont70.h - DisplayApp/lcdfont14.h + DisplayApp/Fonts/lcdfont70.h + DisplayApp/Fonts/lcdfont14.h + DisplayApp/Screens/Screen.h + DisplayApp/Screens/Clock.h + DisplayApp/Screens/Message.h drivers/St7789.h drivers/SpiMaster.h Components/Gfx/Gfx.h -- cgit v1.2.3-70-g09d2