mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 17:27:32 +00:00
Add OpenGL waterfall renderer
This commit is contained in:
+10
-10
@@ -17,7 +17,7 @@ uses
|
||||
|
||||
type
|
||||
TWaterfallView = class
|
||||
private
|
||||
protected
|
||||
FWaterfallBitmap: TBitmap;
|
||||
FWfBitmap: TBitmap;
|
||||
FWfBitmapW: Integer;
|
||||
@@ -45,7 +45,7 @@ type
|
||||
FMarkerX: Integer;
|
||||
FTheme: TAppTheme;
|
||||
FLightTheme: Boolean;
|
||||
FPbWaterfall: TPaintBox;
|
||||
FPbWaterfall: TControl;
|
||||
|
||||
procedure DrawMarkerLine(C: TCanvas; W, H: Integer);
|
||||
public
|
||||
@@ -66,15 +66,15 @@ type
|
||||
property WfFrameInterval: Integer read FWfFrameInterval write FWfFrameInterval;
|
||||
property MarkerActive: Boolean read FMarkerActive write FMarkerActive;
|
||||
property MarkerX: Integer read FMarkerX write FMarkerX;
|
||||
property PbWaterfall: TPaintBox write FPbWaterfall;
|
||||
property PbWaterfall: TControl write FPbWaterfall;
|
||||
|
||||
procedure SetWaterfallData(const Pixels: array of Single; Count: Integer);
|
||||
procedure DrawWaterfall;
|
||||
procedure PaintWaterfall(Sender: TObject);
|
||||
procedure SetWaterfallBitmapSize(W, H: Integer);
|
||||
procedure ResetWfAvgBuf;
|
||||
procedure ResetWfBuf;
|
||||
procedure SetTheme(const T: TAppTheme);
|
||||
procedure SetWaterfallData(const Pixels: array of Single; Count: Integer); virtual;
|
||||
procedure DrawWaterfall; virtual;
|
||||
procedure PaintWaterfall(Sender: TObject); virtual;
|
||||
procedure SetWaterfallBitmapSize(W, H: Integer); virtual;
|
||||
procedure ResetWfAvgBuf; virtual;
|
||||
procedure ResetWfBuf; virtual;
|
||||
procedure SetTheme(const T: TAppTheme); virtual;
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
Reference in New Issue
Block a user