mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
ui_items
Remove Text_size Add setup_item to configure if an item uses text, fg color and bg color.
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
#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(QObject *parent) : UI_item(UI_LED_TYPE, "", 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)
|
||||
: UI_item(UI_LED_TYPE, text, fg_color, bg_color, parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user