86 std::unique_ptr<AutoReleaseTimer>
fTimer{};
92 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
Inherit from this class to provide the factory for a custom view.
Definition: CustomViewCreator.h:1312
void afterApplyAttributes() override
Handles the lifecycle behavior getting triggered once all the attributes have been set (which usually...
Definition: CustomView.h:387
uint32 fHighlightDurationMs
Definition: DebugParamDisplayView.h:84
This parameter simply extends ParamDisplayView to "highlight" the parameter for highlight-duration-ms...
Definition: DebugParamDisplayView.h:36
This view extends CParamDisplay to work for both Vst and Jmb parameters.
Definition: ParamDisplayView.h:36
void markDirty()
Marks this view dirty which will (at the appropriate time in the rendering lifecycle) trigger a call ...
Definition: CustomView.h:346
void onParameterChange(ParamID iParamID) override
Callback when a parameter changes.
Definition: CustomView.h:384
DebugParamDisplayView(const CRect &iSize)
Definition: DebugParamDisplayView.h:40
std::unique_ptr< AutoReleaseTimer > fTimer
Definition: DebugParamDisplayView.h:86
CColor fBackColor
Definition: DebugParamDisplayView.h:81
void afterApplyAttributes() override
Called after the attributes have been applied by the framework.
Definition: DebugParamDisplayView.h:43
uint32 getHighlightDurationMs() const
Duration (in ms) to highlight the parameter for when it changes.
Definition: DebugParamDisplayView.h:77
CColor fFontColor
Definition: DebugParamDisplayView.h:82
Definition: CustomController.h:24
static std::unique_ptr< AutoReleaseTimer > create(Steinberg::ITimerCallback *iCallback, Steinberg::uint32 iIntervalMilliseconds)
Creates and return an auto release timer.
Definition: Timer.h:54
void setHighlightDurationMs(uint32 iValue)
Definition: DebugParamDisplayView.h:78
void onParameterChange(ParamID iParamID) override
Swap back and font colors and starts a timer to revert them back.
Definition: DebugParamDisplayView.h:64
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition: DebugParamDisplayView.h:92
Definition: DebugParamDisplayView.h:89
void onTimer(Timer *timer) override
Executed when the timer expires: revert the colors to their original state.
Definition: DebugParamDisplayView.h:53