From 57209ba40ef7518515c34022dce3fbf7283c3db8 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 5 Jan 2023 19:15:00 +0100 Subject: [PATCH] Move utils files into utils directory --- src/main.cpp | 2 +- src/{ => utils}/ConfigUtils.cpp | 0 src/{ => utils}/ConfigUtils.h | 0 src/{ => utils}/DrawUtils.cpp | 6 ++---- src/{ => utils}/DrawUtils.h | 0 src/{ => utils}/schrift.c | 0 src/{ => utils}/schrift.h | 0 7 files changed, 3 insertions(+), 5 deletions(-) rename src/{ => utils}/ConfigUtils.cpp (100%) rename src/{ => utils}/ConfigUtils.h (100%) rename src/{ => utils}/DrawUtils.cpp (99%) rename src/{ => utils}/DrawUtils.h (100%) rename src/{ => utils}/schrift.c (100%) rename src/{ => utils}/schrift.h (100%) diff --git a/src/main.cpp b/src/main.cpp index 7f9b0fe..57ab1c7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ -#include "ConfigUtils.h" #include "globals.h" +#include "utils/ConfigUtils.h" #include "utils/logger.h" #include #include diff --git a/src/ConfigUtils.cpp b/src/utils/ConfigUtils.cpp similarity index 100% rename from src/ConfigUtils.cpp rename to src/utils/ConfigUtils.cpp diff --git a/src/ConfigUtils.h b/src/utils/ConfigUtils.h similarity index 100% rename from src/ConfigUtils.h rename to src/utils/ConfigUtils.h diff --git a/src/DrawUtils.cpp b/src/utils/DrawUtils.cpp similarity index 99% rename from src/DrawUtils.cpp rename to src/utils/DrawUtils.cpp index 535a07f..6322524 100644 --- a/src/DrawUtils.cpp +++ b/src/utils/DrawUtils.cpp @@ -1,14 +1,12 @@ #include "DrawUtils.h" - -#include "utils/logger.h" -#include "utils/utils.h" +#include "logger.h" +#include "utils.h" #include #include #include #include #include - // buffer width #define TV_WIDTH 0x500 #define DRC_WIDTH 0x380 diff --git a/src/DrawUtils.h b/src/utils/DrawUtils.h similarity index 100% rename from src/DrawUtils.h rename to src/utils/DrawUtils.h diff --git a/src/schrift.c b/src/utils/schrift.c similarity index 100% rename from src/schrift.c rename to src/utils/schrift.c diff --git a/src/schrift.h b/src/utils/schrift.h similarity index 100% rename from src/schrift.h rename to src/utils/schrift.h