mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Add default constructor
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#include "UI_led.hpp"
|
||||
|
||||
UI_led::UI_led(QObject *parent) : UI_item(UI_LED_TYPE, "", 12, Color::Default, Color::Default, parent)
|
||||
{
|
||||
}
|
||||
|
||||
UI_led::UI_led(std::string text, Color fg_color, Color bg_color, QObject *parent)
|
||||
: UI_item(UI_LED_TYPE, text, 12, fg_color, bg_color, parent)
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@ class UI_led : public UI_item
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
UI_led(QObject *parent = nullptr);
|
||||
UI_led(std::string text, Color fg_color, Color bg_color, QObject *parent = nullptr);
|
||||
UI_led(const json &j, QObject *parent = nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user