add type to other widgets

This commit is contained in:
Felix Salcher 2025-07-25 19:22:12 +02:00
parent fb5a70f898
commit e30537d05c
No known key found for this signature in database
4 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,8 @@ CBackground::~CBackground() {
void CBackground::registerSelf(const ASP<CBackground>& self) {
m_self = self;
type = "background";
}
void CBackground::configure(const std::unordered_map<std::string, std::any>& props, const SP<COutput>& pOutput) {

View file

@ -14,6 +14,8 @@ CImage::~CImage() {
void CImage::registerSelf(const ASP<CImage>& self) {
m_self = self;
type = "image";
}
static void onTimer(AWP<CImage> ref) {

View file

@ -14,6 +14,8 @@ CLabel::~CLabel() {
void CLabel::registerSelf(const ASP<CLabel>& self) {
m_self = self;
type = "label";
}
static void onTimer(AWP<CLabel> ref) {

View file

@ -9,6 +9,8 @@
void CShape::registerSelf(const ASP<CShape>& self) {
m_self = self;
type = "shape";
}
void CShape::configure(const std::unordered_map<std::string, std::any>& props, const SP<COutput>& pOutput) {