From 67a3e2536b71ba68638fb72f90c1c12511207925 Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Sun, 25 Aug 2024 21:56:14 +0200 Subject: [PATCH] UI standardising type name --- src/UI/UI_button.hpp | 2 +- src/UI/UI_checkbox.hpp | 2 +- src/UI/UI_combobox.hpp | 2 +- src/UI/UI_label.hpp | 2 +- src/UI/UI_led.hpp | 2 +- src/UI/UI_slider.hpp | 2 +- src/UI/UI_textbox.hpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/UI/UI_button.hpp b/src/UI/UI_button.hpp index cff1a57..4ba100a 100644 --- a/src/UI/UI_button.hpp +++ b/src/UI/UI_button.hpp @@ -2,7 +2,7 @@ #include "UI_item.hpp" -#define UI_BUTTON_TYPE std::string("UIButton") +#define UI_BUTTON_TYPE std::string("UI_button") class UI_button : public UI_item { diff --git a/src/UI/UI_checkbox.hpp b/src/UI/UI_checkbox.hpp index 0b84b20..2d55380 100644 --- a/src/UI/UI_checkbox.hpp +++ b/src/UI/UI_checkbox.hpp @@ -3,7 +3,7 @@ #include "UI_item.hpp" #include "UI_x_boxes.hpp" -#define UI_CHECKBOX_TYPE std::string("UIcheckbox") +#define UI_CHECKBOX_TYPE std::string("UI_checkbox") class UI_checkbox : public UI_x_boxes { diff --git a/src/UI/UI_combobox.hpp b/src/UI/UI_combobox.hpp index 07fa4b3..6c07683 100644 --- a/src/UI/UI_combobox.hpp +++ b/src/UI/UI_combobox.hpp @@ -4,7 +4,7 @@ #include "UI_item.hpp" #include "UI_x_boxes.hpp" -#define UI_COMBOBOX_TYPE std::string("UIcombobox") +#define UI_COMBOBOX_TYPE std::string("UI_combobox") class UI_combobox : public UI_x_boxes { diff --git a/src/UI/UI_label.hpp b/src/UI/UI_label.hpp index 1454136..44614b1 100644 --- a/src/UI/UI_label.hpp +++ b/src/UI/UI_label.hpp @@ -2,7 +2,7 @@ #include #include "UI_item.hpp" -#define UI_LABEL_TYPE std::string("UIlabel") +#define UI_LABEL_TYPE std::string("UI_label") class UI_label : public UI_item { diff --git a/src/UI/UI_led.hpp b/src/UI/UI_led.hpp index a4f2d3c..0e5dfd2 100644 --- a/src/UI/UI_led.hpp +++ b/src/UI/UI_led.hpp @@ -2,7 +2,7 @@ #include #include "UI_item.hpp" -#define UI_LED_TYPE std::string("UIled") +#define UI_LED_TYPE std::string("UI_led") class UI_led : public UI_item { diff --git a/src/UI/UI_slider.hpp b/src/UI/UI_slider.hpp index b1e2145..994b2dd 100644 --- a/src/UI/UI_slider.hpp +++ b/src/UI/UI_slider.hpp @@ -1,7 +1,7 @@ #pragma once #include "UI_item.hpp" -#define UI_SLIDER_TYPE std::string("UISlider") +#define UI_SLIDER_TYPE std::string("UI_slider") class UI_slider : public UI_item { diff --git a/src/UI/UI_textbox.hpp b/src/UI/UI_textbox.hpp index a31b274..180dda4 100644 --- a/src/UI/UI_textbox.hpp +++ b/src/UI/UI_textbox.hpp @@ -2,7 +2,7 @@ #include #include "UI_item.hpp" -#define UI_TEXTBOX_TYPE std::string("UItextbox") +#define UI_TEXTBOX_TYPE std::string("UI_textbox") class UI_textbox : public UI_item {