Doc: Fix documentation of GetDefaultValueCallback

This commit is contained in:
André Cheng 2024-04-13 19:18:59 +01:00 committed by rubidium42
parent ceb0053dd9
commit 57f5d27427
1 changed files with 2 additions and 2 deletions

View File

@ -165,9 +165,9 @@ struct IntSettingDesc : SettingDesc {
*/
typedef void PostChangeCallback(int32_t value);
/**
* A callback to set the correct default value, in case it can be measured in time
* A callback to get the correct default value. For example a default that can be measured in time
* units or expressed as a percentage.
* @param value The prospective new value for the setting.
* @return The correct default value for the setting.
*/
typedef int32_t GetDefaultValueCallback();