mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-08 20:19:04 +03:00
chore: add doc link
This commit is contained in:
@@ -18,7 +18,7 @@ void about_window::render()
|
||||
const float window_width = ImGui::GetContentRegionAvail().x;
|
||||
|
||||
ImGui::PushFont(ImGui::GetFont());
|
||||
const char* title = "clrsync";
|
||||
const char *title = "clrsync";
|
||||
const float title_size = ImGui::CalcTextSize(title).x;
|
||||
ImGui::SetCursorPosX((window_width - title_size) * 0.5f);
|
||||
ImGui::TextColored(ImVec4(0.4f, 0.8f, 1.0f, 1.0f), "%s", title);
|
||||
@@ -33,9 +33,7 @@ void about_window::render()
|
||||
ImGui::Separator();
|
||||
ImGui::Spacing();
|
||||
|
||||
ImGui::TextWrapped(
|
||||
"A color scheme management tool."
|
||||
);
|
||||
ImGui::TextWrapped("A color scheme management tool.");
|
||||
|
||||
ImGui::Spacing();
|
||||
ImGui::Spacing();
|
||||
@@ -47,16 +45,27 @@ void about_window::render()
|
||||
|
||||
if (ImGui::Button("GitHub Repository", ImVec2(200, 0)))
|
||||
{
|
||||
#ifdef _WIN32
|
||||
system("start https://github.com/obsqrbtz/clrsync");
|
||||
#elif __APPLE__
|
||||
system("open https://github.com/obsqrbtz/clrsync");
|
||||
#else
|
||||
system("xdg-open https://github.com/obsqrbtz/clrsync");
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
system("start https://github.com/obsqrbtz/clrsync");
|
||||
#elif __APPLE__
|
||||
system("open https://github.com/obsqrbtz/clrsync");
|
||||
#else
|
||||
system("xdg-open https://github.com/obsqrbtz/clrsync");
|
||||
#endif
|
||||
}
|
||||
ImGui::SameLine();
|
||||
|
||||
if (ImGui::Button("Documentation", ImVec2(200, 0)))
|
||||
{
|
||||
#ifdef _WIN32
|
||||
system("start https://binarygoose.dev/projects/clrsync/overview/");
|
||||
#elif __APPLE__
|
||||
system("open https://binarygoose.dev/projects/clrsync/overview/");
|
||||
#else
|
||||
system("xdg-open https://binarygoose.dev/projects/clrsync/overview/");
|
||||
#endif
|
||||
}
|
||||
|
||||
ImGui::Spacing();
|
||||
ImGui::Spacing();
|
||||
ImGui::Separator();
|
||||
@@ -72,8 +81,7 @@ void about_window::render()
|
||||
"copies of the Software, and to permit persons to whom the Software is "
|
||||
"furnished to do so, subject to the following conditions:\n\n"
|
||||
"The above copyright notice and this permission notice shall be included in all "
|
||||
"copies or substantial portions of the Software."
|
||||
);
|
||||
"copies or substantial portions of the Software.");
|
||||
|
||||
ImGui::Spacing();
|
||||
ImGui::Spacing();
|
||||
|
||||
Reference in New Issue
Block a user