mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-23 04:43:58 +01:00
removed debug log
This commit is contained in:
parent
85d79f25d9
commit
000429c3b5
@ -317,6 +317,7 @@ namespace ImGui {
|
|||||||
|
|
||||||
// If a vfo border is selected, resize VFO accordingly
|
// If a vfo border is selected, resize VFO accordingly
|
||||||
if (vfoBorderSelect) {
|
if (vfoBorderSelect) {
|
||||||
|
ImGui::SetMouseCursor(ImGuiMouseCursor_ResizeEW);
|
||||||
double dist = (relatedVfo->reference == REF_CENTER) ? fabsf(mousePos.x - relatedVfo->lineMin.x) : (mousePos.x - relatedVfo->lineMin.x);
|
double dist = (relatedVfo->reference == REF_CENTER) ? fabsf(mousePos.x - relatedVfo->lineMin.x) : (mousePos.x - relatedVfo->lineMin.x);
|
||||||
if (relatedVfo->reference == REF_UPPER) { dist = -dist; }
|
if (relatedVfo->reference == REF_UPPER) { dist = -dist; }
|
||||||
double hzDist = dist * (viewBandwidth / (double)dataWidth);
|
double hzDist = dist * (viewBandwidth / (double)dataWidth);
|
||||||
@ -330,6 +331,7 @@ namespace ImGui {
|
|||||||
|
|
||||||
// If the frequency scale is selected, move it
|
// If the frequency scale is selected, move it
|
||||||
if (freqScaleSelect) {
|
if (freqScaleSelect) {
|
||||||
|
ImGui::SetMouseCursor(ImGuiMouseCursor_ResizeEW);
|
||||||
double deltax = drag.x - lastDrag;
|
double deltax = drag.x - lastDrag;
|
||||||
lastDrag = drag.x;
|
lastDrag = drag.x;
|
||||||
double viewDelta = deltax * (viewBandwidth / (double)dataWidth);
|
double viewDelta = deltax * (viewBandwidth / (double)dataWidth);
|
||||||
|
@ -18,6 +18,9 @@ cp 'C:/Program Files/PothosSDR/bin/airspyhf.dll' sdrpp_windows_x64/
|
|||||||
cp build/airspy_source/Release/airspy_source.dll sdrpp_windows_x64/modules/
|
cp build/airspy_source/Release/airspy_source.dll sdrpp_windows_x64/modules/
|
||||||
cp 'C:/Program Files/PothosSDR/bin/airspy.dll' sdrpp_windows_x64/
|
cp 'C:/Program Files/PothosSDR/bin/airspy.dll' sdrpp_windows_x64/
|
||||||
|
|
||||||
|
cp build/hackrf_source/Release/hackrf_source.dll sdrpp_windows_x64/modules/
|
||||||
|
cp 'C:/Program Files/PothosSDR/bin/hackrf.dll' sdrpp_windows_x64/
|
||||||
|
|
||||||
cp build/rtl_sdr_source/Release/rtl_sdr_source.dll sdrpp_windows_x64/modules/
|
cp build/rtl_sdr_source/Release/rtl_sdr_source.dll sdrpp_windows_x64/modules/
|
||||||
cp 'C:/Program Files/PothosSDR/bin/rtlsdr.dll' sdrpp_windows_x64/
|
cp 'C:/Program Files/PothosSDR/bin/rtlsdr.dll' sdrpp_windows_x64/
|
||||||
|
|
||||||
|
@ -129,7 +129,6 @@ public:
|
|||||||
|
|
||||||
ImGui::SetNextItemWidth(menuWidth);
|
ImGui::SetNextItemWidth(menuWidth);
|
||||||
if (ImGui::InputFloat(("##_radio_wfm_bw_" + uiPrefix).c_str(), &bw, 1, 100, "%.0f", 0)) {
|
if (ImGui::InputFloat(("##_radio_wfm_bw_" + uiPrefix).c_str(), &bw, 1, 100, "%.0f", 0)) {
|
||||||
spdlog::warn("TEST");
|
|
||||||
bw = std::clamp<float>(bw, bwMin, bwMax);
|
bw = std::clamp<float>(bw, bwMin, bwMax);
|
||||||
setBandwidth(bw);
|
setBandwidth(bw);
|
||||||
_config->aquire();
|
_config->aquire();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user