From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/common/temps.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/common/temps.h (limited to 'src/common/temps.h') diff --git a/src/common/temps.h b/src/common/temps.h new file mode 100644 index 0000000..f2f8eda --- /dev/null +++ b/src/common/temps.h @@ -0,0 +1,9 @@ +#pragma once + +#include "common/parsing.h" +#include "common/option.h" + +void ffTempsAppendNum(double celsius, FFstrbuf* buffer, FFColorRangeConfig config, const FFModuleArgs* module); +bool ffTempsParseCommandOptions(const char* key, const char* subkey, const char* value, bool* useTemp, FFColorRangeConfig* config); +bool ffTempsParseJsonObject(yyjson_val* key, yyjson_val* value, bool* useTemp, FFColorRangeConfig* config); +void ffTempsGenerateJsonConfig(yyjson_mut_doc* doc, yyjson_mut_val* module, bool temp, FFColorRangeConfig config); -- cgit v1.2.3