hyprlock/src/renderer/widgets/IWidget.hpp

10 lines
154 B
C++
Raw Normal View History

2024-02-19 00:08:03 +01:00
#pragma once
class IWidget {
public:
2024-02-19 17:26:08 +01:00
struct SRenderData {
float opacity = 1;
};
virtual bool draw(const SRenderData& data) = 0;
2024-02-19 00:08:03 +01:00
};