VSTGUI: Version 4.12.1

VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Loading...
Searching...
No Matches
Functions
Version 4.12.1
New classes

## Functions
virtual uint16_t | normalizedValueToFrameIndex (float value) const
| return the frame to display for a normalized value
virtual float | frameIndexToNormalizedValue (uint16_t frameIndex) const
| return the normalized value from the frame index

## Detailed Description

## Function Documentation

## ◆ frameIndexToNormalizedValue()

float frameIndexToNormalizedValue | ( | uint16_t | frameIndex | ) | const
| virtual

return the normalized value from the frame index

defaults to: stepsToNormalized<float, uint16_t> (frameIndex, getNumFrames () - 1);

subclasses can adopt this to other value mappings

## ◆ normalizedValueToFrameIndex()

uint16_t normalizedValueToFrameIndex | ( | float | value | ) | const
| virtual

return the frame to display for a normalized value

defaults to: normalizedToSteps<float, uint16_t> (value, getNumFrames () - 1);

subclasses can adopt this to other value mappings