Added Turbo Vision License and changed the version on the about abox
This commit is contained in:
parent
410e11c6e9
commit
0e6ac619ff
|
|
@ -72,7 +72,7 @@ TAboutDialog::TAboutDialog() :
|
|||
|
||||
insert(new TStaticText(TRect(40, 1, 60, 2), "P I L G R I M"));
|
||||
insert(new TStaticText(TRect(35, 2, 65, 3), "Digital Travel Journal"));
|
||||
insert(new TStaticText(TRect(41, 3, 59, 4), "Version 1.0 - 2025"));
|
||||
insert(new TStaticText(TRect(41, 3, 59, 4), "Version 0.0.1 - 2025"));
|
||||
insert(new TStaticText(TRect(2, 4, 98, 5),
|
||||
"══════════════════════════════════════════════════════════════════════════════════════════════"));
|
||||
|
||||
|
|
@ -152,7 +152,53 @@ TAboutDialog::TAboutDialog() :
|
|||
licenseContent += "USED LIBRARIES:\n\n";
|
||||
licenseContent += "• Turbo Vision (Magiblot fork)\n";
|
||||
licenseContent += " Modern port of Borland's Turbo Vision library\n";
|
||||
licenseContent += " GitHub: https://github.com/magiblot/tvision";
|
||||
licenseContent += " GitHub: https://github.com/magiblot/tvision\n\n";
|
||||
licenseContent += "BORLAND INTERNATIONAL DISCLAIMER:\n\n";
|
||||
licenseContent += "Borland International made the Turbo Vision source code public, accompanied\n";
|
||||
licenseContent += "by the following disclaimer:\n\n";
|
||||
licenseContent += "DISCLAIMER AND LIMITATION OF LIABILITY: Borland does not make\n";
|
||||
licenseContent += "or give any representation or warranty with respect to the\n";
|
||||
licenseContent += "usefulness or the efficiency of this software, it being\n";
|
||||
licenseContent += "understood that the degree of success with which equipment,\n";
|
||||
licenseContent += "software, modifications, and other materials can be applied to\n";
|
||||
licenseContent += "data processing is dependent upon many factors, many of which\n";
|
||||
licenseContent += "are not under Borland's control. ACCORDINGLY, THIS SOFTWARE IS\n";
|
||||
licenseContent += "PROVIDED 'AS IS' WITHOUT EXPRESS OR IMPLIED WARRANTIES,\n";
|
||||
licenseContent += "INCLUDING NO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A\n";
|
||||
licenseContent += "PARTICULAR PURPOSE, OR NONINFRINGEMENT. THIS SOFTWARE IS\n";
|
||||
licenseContent += "PROVIDED GRATUITOUSLY AND, ACCORDINGLY, BORLAND SHALL NOT BE\n";
|
||||
licenseContent += "LIABLE UNDER ANY THEORY FOR ANY DAMAGES SUFFERED BY YOU OR ANY\n";
|
||||
licenseContent += "USER OF THE SOFTWARE. BORLAND WILL NOT SUPPORT THIS SOFTWARE\n";
|
||||
licenseContent += "AND IS UNDER NO OBLIGATION TO ISSUE UPDATES TO THIS SOFTWARE.\n\n";
|
||||
licenseContent += "WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, NEITHER\n";
|
||||
licenseContent += "BORLAND NOR ITS SUPPLIERS SHALL BE LIABLE FOR (a) INCIDENTAL,\n";
|
||||
licenseContent += "CONSEQUENTIAL, SPECIAL OR INDIRECT DAMAGES OF ANY SORT, WHETHER\n";
|
||||
licenseContent += "ARISING IN TORT, CONTRACT OR OTHERWISE, EVEN IF BORLAND HAS BEEN\n";
|
||||
licenseContent += "INFORMED OF THE POSSIBILITY OF SUCH DAMAGES, OR (b) FOR ANY\n";
|
||||
licenseContent += "CLAIM BY ANY OTHER PARTY. SOME STATES DO NOT ALLOW THE\n";
|
||||
licenseContent += "EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES,\n";
|
||||
licenseContent += "SO THIS LIMITATION AND EXCLUSION MAY NOT APPLY TO YOU.\n\n";
|
||||
licenseContent += "MAGIBLOT MIT LICENSE:\n\n";
|
||||
licenseContent += "The copyright below applies to the modifications made by magiblot and other\n";
|
||||
licenseContent += "contributors to the original source code and to the source code that has been\n";
|
||||
licenseContent += "written from scratch.\n\n";
|
||||
licenseContent += "MIT License\n\n";
|
||||
licenseContent += "Copyright 2019-2025 magiblot <magiblot@hotmail.com>\n\n";
|
||||
licenseContent += "Permission is hereby granted, free of charge, to any person obtaining a copy\n";
|
||||
licenseContent += "of this software and associated documentation files (the \"Software\"), to deal\n";
|
||||
licenseContent += "in the Software without restriction, including without limitation the rights\n";
|
||||
licenseContent += "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n";
|
||||
licenseContent += "copies of the Software, and to permit persons to whom the Software is\n";
|
||||
licenseContent += "furnished to do so, subject to the following conditions:\n\n";
|
||||
licenseContent += "The above copyright notice and this permission notice shall be included in\n";
|
||||
licenseContent += "all copies or substantial portions of the Software.\n\n";
|
||||
licenseContent += "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n";
|
||||
licenseContent += "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n";
|
||||
licenseContent += "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n";
|
||||
licenseContent += "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n";
|
||||
licenseContent += "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n";
|
||||
licenseContent += "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n";
|
||||
licenseContent += "SOFTWARE.";
|
||||
|
||||
// Fazer wrap do texto para caber na largura do editor (93 caracteres)
|
||||
std::string wrappedText = wrapText(licenseContent, 93);
|
||||
|
|
@ -177,4 +223,13 @@ void TAboutDialog::handleEvent(TEvent& event) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (event.what == evCommand) {
|
||||
switch (event.message.command) {
|
||||
case cmOK:
|
||||
close();
|
||||
clearEvent(event);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue