mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
Merge pull request #649 from AlexandreRouma/backend_abstraction
Backend abstraction and android support
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
#include "radio_module.h"
|
||||
#include <options.h>
|
||||
|
||||
SDRPP_MOD_INFO{
|
||||
/* Name: */ "radio",
|
||||
@ -11,7 +10,7 @@ SDRPP_MOD_INFO{
|
||||
|
||||
MOD_EXPORT void _INIT_() {
|
||||
json def = json({});
|
||||
config.setPath(options::opts.root + "/radio_config.json");
|
||||
config.setPath(core::args["root"].s() + "/radio_config.json");
|
||||
config.load(def);
|
||||
config.enableAutoSave();
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ private:
|
||||
|
||||
if (!_this->enabled) { style::beginDisabled(); }
|
||||
|
||||
float menuWidth = ImGui::GetContentRegionAvailWidth();
|
||||
float menuWidth = ImGui::GetContentRegionAvail().x;
|
||||
ImGui::BeginGroup();
|
||||
|
||||
ImGui::Columns(4, CONCAT("RadioModeColumns##_", _this->name), false);
|
||||
|
Reference in New Issue
Block a user