18#include <AUI/Util/kAUI.h>
19#include <AUI/View/AView.h>
20#include <AUI/ASS/AAssHelper.h>
32 static_assert(std::is_polymorphic_v<T>,
"Your type is not polymorphic! Please define at least virtual "
33 "destructor for using type_of (t) style selector "
34 "(see https://en.cppreference.com/w/cpp/language/object#Polymorphic_objects)");
36 bool isPossiblyApplicable(
AView* view)
override {
37 return dynamic_cast<T*
>(view) !=
nullptr;
Base class of all UI objects.
Definition: AView.h:77
Definition: AAssSelector.h:28
Definition: activated.h:21
Definition: disabled.h:20