mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-26 10:58:29 +01:00
Adjusted Discord UI
This commit is contained in:
parent
3a142b0d85
commit
35d50c91c7
@ -39,16 +39,16 @@ public:
|
|||||||
private:
|
private:
|
||||||
static void menuHandler(void* ctx) {
|
static void menuHandler(void* ctx) {
|
||||||
PresenceModule* _this = (PresenceModule*)ctx;
|
PresenceModule* _this = (PresenceModule*)ctx;
|
||||||
if(!_this->enabled) { style::beginDisabled(); }
|
if (!_this->enabled) { style::beginDisabled(); }
|
||||||
|
|
||||||
float menuWidth = ImGui::GetContentRegionAvailWidth();
|
float menuWidth = ImGui::GetContentRegionAvailWidth();
|
||||||
|
|
||||||
|
// GUI
|
||||||
ImGui::BeginGroup();
|
ImGui::BeginGroup();
|
||||||
|
ImGui::Text("Connecting to Discord...");
|
||||||
ImGui::Text("Hello, SDR++ world! - Starman0620");
|
|
||||||
|
|
||||||
ImGui::EndGroup();
|
ImGui::EndGroup();
|
||||||
|
|
||||||
if(!_this->enabled) { style::endDisabled(); }
|
if (!_this->enabled) { style::endDisabled(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
|
Loading…
Reference in New Issue
Block a user