Added waterfall color theme by Zoran.

This commit is contained in:
Marat Fayzullin 2024-01-11 10:24:22 -05:00
parent 6d83a21527
commit 7a0e635553
3 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Added admin-configurable FAX LPM parameter (default is 120).
- Added reference to documentation to the console window.
- Added maidenhead layer to Leaflet-based maps.
- Added waterfall color theme by Zoran (9A6NDZ).
- Fixed volume resetting to zero on page reload.
- Fixed step tuning when waterfall is zoomed.
- Fixed browser console error on vendor-provided markers.

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ openwebrx (1.2.44) bullseye jammy; urgency=low
* Added admin-configurable FAX LPM parameter (default is 120).
* Added reference to documentation to the console window.
* Added maidenhead layer to Leaflet-based maps.
* Added waterfall color theme by Zoran (9A6NDZ).
* Fixed volume resetting to zero on page reload.
* Fixed step tuning when waterfall is zoomed.
* Fixed browser console error on vendor-provided markers.

View File

@ -284,6 +284,11 @@ class Ha7ilmWaterfall(Waterfall):
super().__init__([0x000000, 0x2E6893, 0x69A5D0, 0x214B69, 0x9DC4E0, 0xFFF775, 0xFF8A8A, 0xB20000])
class ZoranWaterfall(Waterfall):
def __init__(self):
super().__init__([0x000000, 0x000965, 0x00E0FF, 0x2EFF00, 0xFFEC00, 0xFF0000])
class CustomWaterfall(Waterfall):
def __init__(self):
config = Config.get()
@ -297,8 +302,9 @@ class CustomWaterfall(Waterfall):
class WaterfallOptions(DropdownEnum):
DEFAULT = ("Google Turbo (OpenWebRX default)", GoogleTurboWaterfall)
TEEJEEZ = ("Original colorscheme by teejeez (default in OpenWebRX < 0.20)", TeejeezWaterfall)
TEEJEEZ = ("Original theme by teejeez (default in OpenWebRX < 0.20)", TeejeezWaterfall)
HA7ILM = ("Old theme by HA7ILM", Ha7ilmWaterfall)
ZORAN = ("Theme by Zoran (9A6NDZ)", ZoranWaterfall)
CUSTOM = ("Custom", CustomWaterfall)
def __new__(cls, *args, **kwargs):