mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-25 01:15:28 +01:00
modified soapy menu
This commit is contained in:
parent
c3d39029b8
commit
2c84123158
@ -32,6 +32,7 @@ namespace credits {
|
|||||||
// Contributors
|
// Contributors
|
||||||
ImGui::Text("Contributors");
|
ImGui::Text("Contributors");
|
||||||
ImGui::BulletText("Ryzerth (Creator)");
|
ImGui::BulletText("Ryzerth (Creator)");
|
||||||
|
ImGui::BulletText("Alexsey Shestacov");
|
||||||
ImGui::BulletText("aosync");
|
ImGui::BulletText("aosync");
|
||||||
ImGui::BulletText("Benjamin Kyd");
|
ImGui::BulletText("Benjamin Kyd");
|
||||||
ImGui::BulletText("Tobias Mädel");
|
ImGui::BulletText("Tobias Mädel");
|
||||||
|
@ -44,6 +44,7 @@ namespace LoadingScreen {
|
|||||||
// Contributors
|
// Contributors
|
||||||
ImGui::Text("Contributors");
|
ImGui::Text("Contributors");
|
||||||
ImGui::BulletText("Ryzerth (Creator)");
|
ImGui::BulletText("Ryzerth (Creator)");
|
||||||
|
ImGui::BulletText("Alexsey Shestacov");
|
||||||
ImGui::BulletText("aosync");
|
ImGui::BulletText("aosync");
|
||||||
ImGui::BulletText("Benjamin Kyd");
|
ImGui::BulletText("Benjamin Kyd");
|
||||||
ImGui::BulletText("Tobias Mädel");
|
ImGui::BulletText("Tobias Mädel");
|
||||||
|
@ -288,16 +288,14 @@ private:
|
|||||||
config.release(true);
|
config.release(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Text("Sample rate");
|
|
||||||
ImGui::SameLine();
|
|
||||||
ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX());
|
|
||||||
if (ImGui::Combo(CONCAT("##_sr_select_", _this->name), &_this->srId, _this->txtSrList.c_str())) {
|
if (ImGui::Combo(CONCAT("##_sr_select_", _this->name), &_this->srId, _this->txtSrList.c_str())) {
|
||||||
_this->selectSampleRate(_this->sampleRates[_this->srId]);
|
_this->selectSampleRate(_this->sampleRates[_this->srId]);
|
||||||
_this->saveCurrent();
|
_this->saveCurrent();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::Button(CONCAT("Refresh##_dev_select_", _this->name),
|
ImGui::SameLine();
|
||||||
ImVec2(menuWidth - ImGui::GetCursorPosX(), 0.0))) {
|
float refreshBtnWdith = menuWidth - ImGui::GetCursorPosX();
|
||||||
|
if (ImGui::Button(CONCAT("Refresh##_dev_select_", _this->name), ImVec2(refreshBtnWdith, 0))) {
|
||||||
_this->refresh();
|
_this->refresh();
|
||||||
_this->selectDevice(config.conf["device"]);
|
_this->selectDevice(config.conf["device"]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user