Skip to content

Commit

Permalink
🎨 Wrap font includes
Browse files Browse the repository at this point in the history
Co-Authored-By: Martin Turski <turningtides@outlook.de>
  • Loading branch information
thinkyhead and quiret committed Mar 24, 2023
1 parent 0914f9e commit 50b6297
Show file tree
Hide file tree
Showing 57 changed files with 114 additions and 57 deletions.
3 changes: 2 additions & 1 deletion Marlin/src/lcd/tft/fontdata/Helvetica/Helvetica_19.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@

#include "../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define HELVETICA 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == HELVETICA

#include <stdint.h>

Expand Down
3 changes: 2 additions & 1 deletion Marlin/src/lcd/tft/fontdata/Helvetica/helvetica_14.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@

#include "../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define HELVETICA 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == HELVETICA

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define NOTOSANS 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == NOTOSANS

#include <stdint.h>

Expand Down
3 changes: 2 additions & 1 deletion Marlin/src/lcd/tft/fontdata/Unifont/10px/Unifont_10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define UNIFONT 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == UNIFONT

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define UNIFONT 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == UNIFONT

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define UNIFONT 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == UNIFONT

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define UNIFONT 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == UNIFONT

#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

#include "../../../../../inc/MarlinConfigPre.h"

#if HAS_GRAPHICAL_TFT
#define UNIFONT 123
#if HAS_GRAPHICAL_TFT && TFT_FONT == UNIFONT

#include <stdint.h>

Expand Down
Loading

0 comments on commit 50b6297

Please sign in to comment.