implement input for custom waterfall colors

This commit is contained in:
Jakob Ketterl
2021-02-16 18:07:13 +01:00
parent 409370aba2
commit 8d2763930b
2 changed files with 24 additions and 0 deletions

View File

@ -9,6 +9,7 @@ from owrx.form import (
DropdownInput,
Option,
)
from owrx.form.converter import WaterfallColorsConverter
from owrx.form.receiverid import ReceiverKeysConverter
from owrx.form.gfx import AvatarInput, TopPhotoInput
from owrx.waterfall import WaterfallOptions
@ -80,6 +81,12 @@ class GeneralSettingsController(SettingsFormController):
"Waterfall color scheme",
options=WaterfallOptions,
),
TextAreaInput(
"waterfall_colors",
"Custom waterfall colors",
infotext="TODO: describe",
converter=WaterfallColorsConverter()
),
NumberInput(
"fft_fps",
"FFT speed",