From 7580a9aaaad09e8c051e69336389cbbf7f447623 Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 16 Aug 2025 15:14:14 +0200 Subject: renderer: Add rounding power setting to groupbar and gradient roundness. (#11420) --- src/config/ConfigDescriptions.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/config/ConfigDescriptions.hpp') diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index a2234dcc..2d9582f6 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1013,12 +1013,24 @@ inline static const std::vector CONFIG_OPTIONS = { .type = CONFIG_OPTION_INT, .data = SConfigOptionDescription::SRangeData{1, 0, 20}, }, + SConfigOptionDescription{ + .value = "group:groupbar:rounding_power", + .description = "rounding power of groupbar corners (2 is a circle)", + .type = CONFIG_OPTION_FLOAT, + .data = SConfigOptionDescription::SFloatData{2, 2, 10}, + }, SConfigOptionDescription{ .value = "group:groupbar:gradient_rounding", .description = "how much to round the groupbar gradient", .type = CONFIG_OPTION_INT, .data = SConfigOptionDescription::SRangeData{1, 0, 20}, }, + SConfigOptionDescription{ + .value = "group:groupbar:gradient_rounding_power", + .description = "rounding power of groupbar gradient corners (2 is a circle)", + .type = CONFIG_OPTION_FLOAT, + .data = SConfigOptionDescription::SFloatData{2, 2, 10}, + }, SConfigOptionDescription{ .value = "group:groupbar:round_only_edges", .description = "if yes, will only round at the groupbar edges", -- cgit v1.2.3