"Fossies" - the Fresh Open Source Software Archive

Member "src/Main/Forms/AboutDialog.cpp" (10 Oct 2018, 2887 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "AboutDialog.cpp" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.21_Source_vs_1.22_Source.

    1 /*
    2  Derived from source code of TrueCrypt 7.1a, which is
    3  Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
    4  by the TrueCrypt License 3.0.
    5 
    6  Modifications and additions to the original source code (contained in this file)
    7  and all other portions of this file are Copyright (c) 2013-2017 IDRIX
    8  and are governed by the Apache License 2.0 the full text of which is
    9  contained in the file License.txt included in VeraCrypt binary and source
   10  code distribution packages.
   11 */
   12 
   13 #include "System.h"
   14 #include "Volume/Version.h"
   15 #include "Main/Application.h"
   16 #include "Main/GraphicUserInterface.h"
   17 #include "Main/Resources.h"
   18 #include "AboutDialog.h"
   19 
   20 namespace VeraCrypt
   21 {
   22     AboutDialog::AboutDialog (wxWindow* parent) : AboutDialogBase (parent)
   23     {
   24         LogoBitmap->SetBitmap (Resources::GetTextualLogoBitmap());
   25 
   26         wxFont versionStaticTextFont = VersionStaticText->GetFont();
   27         versionStaticTextFont.SetWeight (wxFONTWEIGHT_BOLD);
   28         VersionStaticText->SetFont (versionStaticTextFont);
   29 
   30         VersionStaticText->SetLabel (Application::GetName() + L" " + StringConverter::ToWide (Version::String()));
   31         CopyrightStaticText->SetLabel (TC_STR_RELEASED_BY);
   32         WebsiteHyperlink->SetLabel (L"www.idrix.fr");
   33 
   34         CreditsTextCtrl->SetMinSize (wxSize (
   35             Gui->GetCharWidth (CreditsTextCtrl) * 70,
   36             Gui->GetCharHeight (CreditsTextCtrl) * 6
   37 #ifdef TC_WINDOWS
   38             - 5
   39 #else
   40             - 11
   41 #endif
   42             ));
   43 
   44         Layout();
   45         Fit();
   46         Center();
   47 
   48         CreditsTextCtrl->ChangeValue (
   49             L"Portions of this software are based in part on the works of the following people: "
   50             L"Paul Le Roux, "
   51             L"Bruce Schneier, John Kelsey, Doug Whiting, David Wagner, Chris Hall, Niels Ferguson, "
   52             L"Lars Knudsen, Ross Anderson, Eli Biham, "
   53             L"Joan Daemen, Vincent Rijmen, "
   54             L"Jean-loup Gailly, Mark Adler, "
   55             L"Phillip Rogaway, "
   56             L"Hans Dobbertin, Antoon Bosselaers, Bart Preneel, Jack Lloyd"
   57             L"Paulo Barreto, Brian Gladman, Wei Dai, Peter Gutmann, and many others.\n\n"
   58 
   59             L"Portions of this software:\n"
   60             L"Copyright \xA9 2013-2018 IDRIX. All rights reserved.\n"
   61             L"Copyright \xA9 2003-2012 TrueCrypt Developers Association. All Rights Reserved.\n"
   62             L"Copyright \xA9 1998-2000 Paul Le Roux. All Rights Reserved.\n"
   63             L"Copyright \xA9 1998-2008 Brian Gladman. All Rights Reserved.\n"
   64             L"Copyright \xA9 1995-2017 Jean-loup Gailly and Mark Adler.\n"
   65             L"Copyright \xA9 2016 Disk Cryptography Services for EFI (DCS), Alex Kolotnikov.\n"
   66             L"Copyright \xA9 1999-2017 Dieter Baron and Thomas Klausner.\n"
   67             L"Copyright \xA9 2013, Alexey Degtyarev. All rights reserved.\n"
   68             L"Copyright \xA9 1999-2016 Jack Lloyd. All rights reserved.\n\n"
   69 
   70             L"\nThis software as a whole:\n"
   71             L"Copyright \xA9 2013-2018 IDRIX. All rights reserved.\n\n"
   72 
   73             L"This software uses wxWidgets library, which is copyright \xA9 1998-2011 Julian Smart, Robert Roebling et al.\n\n"
   74 
   75             L"An IDRIX Release");
   76     }
   77 }