- Generated 2022-01-15T03:12:23.419+01:00
+ Generated 2022-01-15T23:01:29.100+01:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml b/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
index 09a0c1564..0da5a9c7d 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
@@ -17,7 +17,7 @@ SpectrumHistogramMarker:
* 2 - Max power
markerColor:
type: integer
- description: Color in 8 bit RGB serie
+ description: Color in 8 bit BGR serie
show:
type: integer
description: >
@@ -37,7 +37,25 @@ SpectrumWaterfallMarker:
description: Time shift in seconds
markerColor:
type: integer
- description: Color in 8 bit RGB serie
+ description: Color in 8 bit BGR serie
+ show:
+ type: integer
+ description: >
+ Boolean - Marker display state
+ * 0 - Hidden
+ * 1 - Visible
+
+SpectrumAnnotationMarker:
+ description: Spectrum annotation marker settings
+ properties:
+ startFrequency:
+ type: integer
+ format: int64
+ bandwidth:
+ type: integer
+ markerColor:
+ type: integer
+ description: Color in 8 bit BGR serie
show:
type: integer
description: >
@@ -129,3 +147,7 @@ GLSpectrum:
type: array
items:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumWaterfallMarker"
+ annotationMarkers:
+ type: array
+ items:
+ $ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumAnnotationMarker"
diff --git a/sdrgui/gui/glspectrum.cpp b/sdrgui/gui/glspectrum.cpp
index a25f431e0..ac5cdd4a0 100644
--- a/sdrgui/gui/glspectrum.cpp
+++ b/sdrgui/gui/glspectrum.cpp
@@ -16,9 +16,7 @@
// along with this program. If not, see