17#include <AUI/Util/AMetric.h>
18#include <AUI/Traits/values.h>
30 explicit Opacity(
float opacity) : opacity(opacity) {}
44 void applyFor(
AView* view)
override;
47 const auto& value()
const noexcept {
Base class of all UI objects.
Definition: AView.h:77
Controls the opacity of AView.
Definition: Opacity.h:27
Base class for all properties.
Definition: IPropertyBase.h:49
Definition: IProperty.h:19
Clamps the possible values for a number to the specified range: [min;max].
Definition: values.h:452