Adjusted Discord UI

This commit is contained in:
Starman0620 2021-04-19 20:59:39 -04:00
parent 3a142b0d85
commit 35d50c91c7

View File

@ -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;