Skip to content

Commit

Permalink
Changed copyright message in about dialog (2023->2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauer committed Jan 16, 2024
1 parent 2fef827 commit 3c6d64b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
62 changes: 31 additions & 31 deletions src/plugin/ui/about_window.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//---------------------------------------------------------------------------------------------------------------------
// XMidiCtrl - MIDI Controller plugin for X-Plane
//
// Copyright (c) 2021-2023 Marco Auer
// Copyright (c) 2021-2024 Marco Auer
//
// XMidiCtrl is free software: you can redistribute it and/or modify it under the terms of the
// GNU Affero General Public License as published by the Free Software Foundation, either version 3
Expand Down Expand Up @@ -30,9 +30,9 @@ namespace xmidictrl {
* Constructor
*/
about_window::about_window(text_logger& in_log, environment& in_env)
: imgui_window(in_log, in_env, 850, 460)
: imgui_window(in_log, in_env, 850, 460)
{
set_title(std::string(XMIDICTRL_NAME) + " - About");
set_title(std::string(XMIDICTRL_NAME) + " - About");
}


Expand All @@ -47,34 +47,34 @@ about_window::about_window(text_logger& in_log, environment& in_env)
*/
void about_window::create_widgets()
{
ImGui::NewLine();
ImGui::TextColored(title_color(), "%s", XMIDICTRL_NAME " - " XMIDICTRL_DESCRIPTION);
ImGui::NewLine();
ImGui::TextColored(title_color(), "%s", "Version " XMIDICTRL_VERSION_STR);
ImGui::NewLine();
ImGui::Separator();
ImGui::NewLine();
ImGui::TextUnformatted("Copyright (c) 2021-2023 by Marco Auer");
ImGui::NewLine();
ImGui::TextUnformatted(XMIDICTRL_NAME " has been released under the GNU Affero General Public License");
ImGui::TextUnformatted("in hope that it will be useful, but without any warranty.");
ImGui::NewLine();
ImGui::Separator();
ImGui::NewLine();
ImGui::TextUnformatted(XMIDICTRL_NAME " uses the following libraries:");
ImGui::Bullet();
ImGui::TextUnformatted("RtMidi from Gary P. Scavone (https://github.com/thestk/rtmidi)");
ImGui::Bullet();
ImGui::TextUnformatted("TOML for Modern C++ from Toru Niina (https:://github.com/ToruNiina/toml11)");
ImGui::Bullet();
ImGui::TextUnformatted("Dear ImGui from Omar Cornut (https:://github.com/ocornut/imgui)");
ImGui::Bullet();
ImGui::TextUnformatted("Font Awesome from Fonticons Inc. (https://fontawesome.com)");
ImGui::Bullet();
ImGui::TextUnformatted(
"Dear ImGui X-Plane Integration from Christopher Collins (https://github.com/xsquawkbox/xsb_public)");
ImGui::Bullet();
ImGui::TextUnformatted("The X-Plane SDK from Laminar Research");
ImGui::NewLine();
ImGui::TextColored(title_color(), "%s", XMIDICTRL_NAME " - " XMIDICTRL_DESCRIPTION);
ImGui::NewLine();
ImGui::TextColored(title_color(), "%s", "Version " XMIDICTRL_VERSION_STR);
ImGui::NewLine();
ImGui::Separator();
ImGui::NewLine();
ImGui::TextUnformatted("Copyright (c) 2021-2024 by Marco Auer");
ImGui::NewLine();
ImGui::TextUnformatted(XMIDICTRL_NAME " has been released under the GNU Affero General Public License");
ImGui::TextUnformatted("in hope that it will be useful, but without any warranty.");
ImGui::NewLine();
ImGui::Separator();
ImGui::NewLine();
ImGui::TextUnformatted(XMIDICTRL_NAME " uses the following libraries:");
ImGui::Bullet();
ImGui::TextUnformatted("RtMidi from Gary P. Scavone (https://github.com/thestk/rtmidi)");
ImGui::Bullet();
ImGui::TextUnformatted("TOML for Modern C++ from Toru Niina (https:://github.com/ToruNiina/toml11)");
ImGui::Bullet();
ImGui::TextUnformatted("Dear ImGui from Omar Cornut (https:://github.com/ocornut/imgui)");
ImGui::Bullet();
ImGui::TextUnformatted("Font Awesome from Fonticons Inc. (https://fontawesome.com)");
ImGui::Bullet();
ImGui::TextUnformatted(
"Dear ImGui X-Plane Integration from Christopher Collins (https://github.com/xsquawkbox/xsb_public)");
ImGui::Bullet();
ImGui::TextUnformatted("The X-Plane SDK from Laminar Research");
}

} // Namespace xmidictrl
8 changes: 4 additions & 4 deletions src/plugin/ui/about_window.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//---------------------------------------------------------------------------------------------------------------------
// XMidiCtrl - MIDI Controller plugin for X-Plane
//
// Copyright (c) 2021-2023 Marco Auer
// Copyright (c) 2021-2024 Marco Auer
//
// XMidiCtrl is free software: you can redistribute it and/or modify it under the terms of the
// GNU Affero General Public License as published by the Free Software Foundation, either version 3
Expand All @@ -27,11 +27,11 @@ namespace xmidictrl {

class about_window : public imgui_window {
public:
about_window(text_logger& in_log, environment& in_env);
~about_window() override = default;
about_window(text_logger& in_log, environment& in_env);
~about_window() override = default;

protected:
void create_widgets() override;
void create_widgets() override;
};

} // Namespace xmidictrl
Expand Down

0 comments on commit 3c6d64b

Please sign in to comment.