Switched to ImGui::TextUnfort

This commit is contained in:
AlexandreRouma
2022-01-26 14:50:16 +01:00
parent e158eabbf4
commit 03f0704dff
14 changed files with 42 additions and 71 deletions

View File

@ -478,7 +478,7 @@ private:
// Bookmark delete confirm dialog
// List delete confirmation
if (ImGui::GenericDialog(("freq_manager_del_list_confirm" + _this->name).c_str(), _this->deleteBookmarksOpen, GENERIC_DIALOG_BUTTONS_YES_NO, [_this]() {
ImGui::Text("Deleting selected bookmaks. Are you sure?");
ImGui::TextUnformatted("Deleting selected bookmaks. Are you sure?");
}) == GENERIC_DIALOG_BUTTON_YES) {
for (auto& _name : selectedNames) { _this->bookmarks.erase(_name); }
_this->saveByName(_this->selectedListName);

View File

@ -183,7 +183,7 @@ private:
_this->startServer();
}
ImGui::Text("Status:");
ImGui::TextUnformatted("Status:");
ImGui::SameLine();
if (_this->client && _this->client->isOpen()) {
ImGui::TextColored(ImVec4(0.0, 1.0, 0.0, 1.0), "Connected");
@ -192,7 +192,7 @@ private:
ImGui::TextColored(ImVec4(1.0, 1.0, 0.0, 1.0), "Listening");
}
else {
ImGui::Text("Idle");
ImGui::TextUnformatted("Idle");
}
}

View File

@ -114,7 +114,7 @@ private:
}
ImGui::TableSetColumnIndex(1);
ImGui::Text("todo");
ImGui::TextUnformatted("todo");
}
ImGui::EndTable();
}

View File

@ -60,7 +60,7 @@ public:
// Fill rows here
ImGui::TableNextRow();
ImGui::TableSetColumnIndex(0);
ImGui::Text("Every day at 00:00:00");
ImGui::TextUnformatted("Every day at 00:00:00");
ImGui::EndTable();
}