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
@@ -2,7 +2,8 @@
UI_slider::UI_slider(std::string text, std::string unit, Color fg_color, Color bg_color, double min, double max,
double value, QObject *parent)
: UI_item(UI_SLIDER_TYPE, text, fg_color, bg_color, parent), m_min(min), m_max(max), m_value(value), m_unit(unit)
: UI_item(UI_enum::ui_slider, text, fg_color, bg_color, parent), m_min(min), m_max(max), m_value(value),
m_unit(unit)
{
}
@@ -22,7 +23,7 @@ UI_slider::UI_slider(std::string text, double min, double max, double value, QOb
{
}
UI_slider::UI_slider(QObject *parent) : UI_item(UI_SLIDER_TYPE, parent)
UI_slider::UI_slider(QObject *parent) : UI_item(UI_enum::ui_slider, parent)
{
}