87 std::unique_ptr<AutoReleaseTimer>
fTimer{};
93 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
static std::unique_ptr< AutoReleaseTimer > create(Steinberg::ITimerCallback *iCallback, Steinberg::uint32 iIntervalMilliseconds)
Creates and return an auto release timer.
Definition Timer.h:55
void onParameterChange(ParamID iParamID) override
Callback when a parameter changes.
Definition CustomView.h:385
void markDirty()
Definition CustomView.h:347
void afterApplyAttributes() override
Definition CustomView.h:388
CustomViewCreator(char const *iViewName=nullptr, char const *iDisplayName=nullptr, char const *iBaseViewName=VSTGUI::UIViewCreator::kCView)
Definition CustomViewCreator.h:1318
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition DebugParamDisplayView.h:93
void onParameterChange(ParamID iParamID) override
Swap back and font colors and starts a timer to revert them back.
Definition DebugParamDisplayView.h:65
void onTimer(Timer *timer) override
Executed when the timer expires: revert the colors to their original state.
Definition DebugParamDisplayView.h:54
uint32 fHighlightDurationMs
Definition DebugParamDisplayView.h:85
void afterApplyAttributes() override
Handles the lifecycle behavior getting triggered once all the attributes have been set (which usually...
Definition DebugParamDisplayView.h:44
uint32 getHighlightDurationMs() const
Duration (in ms) to highlight the parameter for when it changes.
Definition DebugParamDisplayView.h:78
CColor fBackColor
Definition DebugParamDisplayView.h:82
std::unique_ptr< AutoReleaseTimer > fTimer
Definition DebugParamDisplayView.h:87
CColor fFontColor
Definition DebugParamDisplayView.h:83
DebugParamDisplayView(const CRect &iSize)
Definition DebugParamDisplayView.h:41
void setHighlightDurationMs(uint32 iValue)
Definition DebugParamDisplayView.h:79
ParamDisplayView(const CRect &iSize)
Definition ParamDisplayView.h:44
void registerIntegerAttribute(std::string const &iName, typename IntegerAttribute< TInt >::Getter iGetter, typename IntegerAttribute< TInt >::Setter iSetter)
Definition CustomViewCreator.h:1060
Definition CustomController.h:25