move type names over to enum
This commit is contained in:
2026-04-06 18:55:43 +02:00
parent bc61f4990f
commit 514b3e402a
43 changed files with 113 additions and 103 deletions
+3 -2
View File
@@ -1,11 +1,12 @@
#include "ui_button.hpp"
#include "ui_enum.hpp"
UI_button::UI_button(std::string text, Color fg_color, Color bg_color, QObject *parent)
: UI_item(UI_BUTTON_TYPE, text, fg_color, bg_color, parent)
: UI_item(UI_enum::ui_button, text, fg_color, bg_color, parent)
{
}
UI_button::UI_button(QObject *parent) : UI_item(UI_BUTTON_TYPE, parent)
UI_button::UI_button(QObject *parent) : UI_item(UI_enum::ui_button, parent)
{
}