From 0bb146db253a3181d02a8264f0f57a466e9ff15c Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Sat, 15 Mar 2025 11:01:40 +0100 Subject: [PATCH] Move UI folder --- CMakeLists.txt | 2 +- {src/UI => UI}/CMakeLists.txt | 0 {src/UI => UI}/UI.hpp | 0 {src/UI => UI}/UI_button.cpp | 0 {src/UI => UI}/UI_button.hpp | 0 {src/UI => UI}/UI_checkbox.cpp | 0 {src/UI => UI}/UI_checkbox.hpp | 0 {src/UI => UI}/UI_combobox.cpp | 0 {src/UI => UI}/UI_combobox.hpp | 0 {src/UI => UI}/UI_dial.cpp | 0 {src/UI => UI}/UI_dial.hpp | 0 {src/UI => UI}/UI_item.cpp | 0 {src/UI => UI}/UI_item.hpp | 0 {src/UI => UI}/UI_label.cpp | 0 {src/UI => UI}/UI_label.hpp | 0 {src/UI => UI}/UI_led.cpp | 0 {src/UI => UI}/UI_led.hpp | 0 {src/UI => UI}/UI_slider.cpp | 0 {src/UI => UI}/UI_slider.hpp | 0 {src/UI => UI}/UI_textbox.cpp | 0 {src/UI => UI}/UI_textbox.hpp | 0 {src/UI => UI}/UI_thermo.cpp | 0 {src/UI => UI}/UI_thermo.hpp | 0 {src/UI => UI}/UI_x_boxes.cpp | 0 {src/UI => UI}/UI_x_boxes.hpp | 0 {src/UI => UI}/custom/UI_can.cpp | 0 {src/UI => UI}/custom/UI_can.hpp | 0 src/CMakeLists.txt | 1 - 28 files changed, 1 insertion(+), 2 deletions(-) rename {src/UI => UI}/CMakeLists.txt (100%) rename {src/UI => UI}/UI.hpp (100%) rename {src/UI => UI}/UI_button.cpp (100%) rename {src/UI => UI}/UI_button.hpp (100%) rename {src/UI => UI}/UI_checkbox.cpp (100%) rename {src/UI => UI}/UI_checkbox.hpp (100%) rename {src/UI => UI}/UI_combobox.cpp (100%) rename {src/UI => UI}/UI_combobox.hpp (100%) rename {src/UI => UI}/UI_dial.cpp (100%) rename {src/UI => UI}/UI_dial.hpp (100%) rename {src/UI => UI}/UI_item.cpp (100%) rename {src/UI => UI}/UI_item.hpp (100%) rename {src/UI => UI}/UI_label.cpp (100%) rename {src/UI => UI}/UI_label.hpp (100%) rename {src/UI => UI}/UI_led.cpp (100%) rename {src/UI => UI}/UI_led.hpp (100%) rename {src/UI => UI}/UI_slider.cpp (100%) rename {src/UI => UI}/UI_slider.hpp (100%) rename {src/UI => UI}/UI_textbox.cpp (100%) rename {src/UI => UI}/UI_textbox.hpp (100%) rename {src/UI => UI}/UI_thermo.cpp (100%) rename {src/UI => UI}/UI_thermo.hpp (100%) rename {src/UI => UI}/UI_x_boxes.cpp (100%) rename {src/UI => UI}/UI_x_boxes.hpp (100%) rename {src/UI => UI}/custom/UI_can.cpp (100%) rename {src/UI => UI}/custom/UI_can.hpp (100%) delete mode 100644 src/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e5d475..6485b31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY set(PROJECT_DIR ${CMAKE_CURRENT_LIST_DIR}) # defines targets and sources -add_subdirectory(src) +add_subdirectory(UI) # contains an "external" library we will link to add_subdirectory(external) diff --git a/src/UI/CMakeLists.txt b/UI/CMakeLists.txt similarity index 100% rename from src/UI/CMakeLists.txt rename to UI/CMakeLists.txt diff --git a/src/UI/UI.hpp b/UI/UI.hpp similarity index 100% rename from src/UI/UI.hpp rename to UI/UI.hpp diff --git a/src/UI/UI_button.cpp b/UI/UI_button.cpp similarity index 100% rename from src/UI/UI_button.cpp rename to UI/UI_button.cpp diff --git a/src/UI/UI_button.hpp b/UI/UI_button.hpp similarity index 100% rename from src/UI/UI_button.hpp rename to UI/UI_button.hpp diff --git a/src/UI/UI_checkbox.cpp b/UI/UI_checkbox.cpp similarity index 100% rename from src/UI/UI_checkbox.cpp rename to UI/UI_checkbox.cpp diff --git a/src/UI/UI_checkbox.hpp b/UI/UI_checkbox.hpp similarity index 100% rename from src/UI/UI_checkbox.hpp rename to UI/UI_checkbox.hpp diff --git a/src/UI/UI_combobox.cpp b/UI/UI_combobox.cpp similarity index 100% rename from src/UI/UI_combobox.cpp rename to UI/UI_combobox.cpp diff --git a/src/UI/UI_combobox.hpp b/UI/UI_combobox.hpp similarity index 100% rename from src/UI/UI_combobox.hpp rename to UI/UI_combobox.hpp diff --git a/src/UI/UI_dial.cpp b/UI/UI_dial.cpp similarity index 100% rename from src/UI/UI_dial.cpp rename to UI/UI_dial.cpp diff --git a/src/UI/UI_dial.hpp b/UI/UI_dial.hpp similarity index 100% rename from src/UI/UI_dial.hpp rename to UI/UI_dial.hpp diff --git a/src/UI/UI_item.cpp b/UI/UI_item.cpp similarity index 100% rename from src/UI/UI_item.cpp rename to UI/UI_item.cpp diff --git a/src/UI/UI_item.hpp b/UI/UI_item.hpp similarity index 100% rename from src/UI/UI_item.hpp rename to UI/UI_item.hpp diff --git a/src/UI/UI_label.cpp b/UI/UI_label.cpp similarity index 100% rename from src/UI/UI_label.cpp rename to UI/UI_label.cpp diff --git a/src/UI/UI_label.hpp b/UI/UI_label.hpp similarity index 100% rename from src/UI/UI_label.hpp rename to UI/UI_label.hpp diff --git a/src/UI/UI_led.cpp b/UI/UI_led.cpp similarity index 100% rename from src/UI/UI_led.cpp rename to UI/UI_led.cpp diff --git a/src/UI/UI_led.hpp b/UI/UI_led.hpp similarity index 100% rename from src/UI/UI_led.hpp rename to UI/UI_led.hpp diff --git a/src/UI/UI_slider.cpp b/UI/UI_slider.cpp similarity index 100% rename from src/UI/UI_slider.cpp rename to UI/UI_slider.cpp diff --git a/src/UI/UI_slider.hpp b/UI/UI_slider.hpp similarity index 100% rename from src/UI/UI_slider.hpp rename to UI/UI_slider.hpp diff --git a/src/UI/UI_textbox.cpp b/UI/UI_textbox.cpp similarity index 100% rename from src/UI/UI_textbox.cpp rename to UI/UI_textbox.cpp diff --git a/src/UI/UI_textbox.hpp b/UI/UI_textbox.hpp similarity index 100% rename from src/UI/UI_textbox.hpp rename to UI/UI_textbox.hpp diff --git a/src/UI/UI_thermo.cpp b/UI/UI_thermo.cpp similarity index 100% rename from src/UI/UI_thermo.cpp rename to UI/UI_thermo.cpp diff --git a/src/UI/UI_thermo.hpp b/UI/UI_thermo.hpp similarity index 100% rename from src/UI/UI_thermo.hpp rename to UI/UI_thermo.hpp diff --git a/src/UI/UI_x_boxes.cpp b/UI/UI_x_boxes.cpp similarity index 100% rename from src/UI/UI_x_boxes.cpp rename to UI/UI_x_boxes.cpp diff --git a/src/UI/UI_x_boxes.hpp b/UI/UI_x_boxes.hpp similarity index 100% rename from src/UI/UI_x_boxes.hpp rename to UI/UI_x_boxes.hpp diff --git a/src/UI/custom/UI_can.cpp b/UI/custom/UI_can.cpp similarity index 100% rename from src/UI/custom/UI_can.cpp rename to UI/custom/UI_can.cpp diff --git a/src/UI/custom/UI_can.hpp b/UI/custom/UI_can.hpp similarity index 100% rename from src/UI/custom/UI_can.hpp rename to UI/custom/UI_can.hpp diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt deleted file mode 100644 index bc8dd8a..0000000 --- a/src/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory(UI)