[feat] show notification window if there is a new version avaliable

This commit is contained in:
dijunkun
2025-11-25 01:20:16 +08:00
parent 01ebed9b37
commit 86501b05dd
9 changed files with 2034 additions and 1712 deletions

View File

@@ -8,8 +8,8 @@
namespace crossdesk {
void Hyperlink(const std::string& label, const std::string& url,
const float window_width) {
void Render::Hyperlink(const std::string& label, const std::string& url,
const float window_width) {
ImGui::PushStyleColor(ImGuiCol_Text, IM_COL32(0, 0, 255, 255));
ImGui::SetCursorPosX(window_width * 0.1f);
ImGui::Text("%s", label.c_str());