aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style/Condition.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/style/Condition.hpp')
-rw-r--r--include/cru/ui/style/Condition.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/cru/ui/style/Condition.hpp b/include/cru/ui/style/Condition.hpp
index b88a338f..97d29287 100644
--- a/include/cru/ui/style/Condition.hpp
+++ b/include/cru/ui/style/Condition.hpp
@@ -10,10 +10,8 @@
#include <vector>
namespace cru::ui::style {
-class Condition {
+class Condition : public Object {
public:
- virtual ~Condition() = default;
-
virtual std::vector<IBaseEvent*> ChangeOn(
controls::Control* control) const = 0;
virtual bool Judge(controls::Control* control) const = 0;