Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
Constants.hpp File Reference
#include "Types.hpp"
#include <ResourceManager/ResourceManager.hpp>
#include <array>

Go to the source code of this file.

Namespaces

 Enigma
 
 Enigma::Constants
 
 Enigma::Constants::Algorithm
 
 Enigma::Constants::Algorithm::AES
 
 Enigma::Constants::Algorithm::ChaCha20
 
 Enigma::Constants::Algorithm::TripleDES
 
 Enigma::Constants::Algorithm::Twofish
 
 Enigma::Constants::Algorithm::IDEA
 
 Enigma::Constants::Algorithm::Database
 
 Enigma::Constants::Algorithm::CLI
 
 Enigma::Constants::Resources
 
 Enigma::Constants::Colors
 

Functions

static const ImVec4 Enigma::Constants::Colors::RED (1.0f, 0.0f, 0.0f, 1.0f)
 
static const ImVec4 Enigma::Constants::Colors::GREEN (0.0f, 1.0f, 0.0f, 1.0f)
 
static const ImVec4 Enigma::Constants::Colors::BLUE (0.0f, 0.0f, 1.0f, 1.0f)
 

Variables

static constexpr const std::uint16_t Enigma::Constants::ENIGMA_SINGLE_PROCESS_UNIQUE_PORT = 36363
 
static constexpr const std::size_t Enigma::Constants::Algorithm::MINIMUM_PASSWORD_LENGTH = 6
 
static constexpr const char * Enigma::Constants::Algorithm::SPECIAL_CHARACTERS = R"(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)"
 
static const fs::path Enigma::Constants::Algorithm::Database::DATABASE_FILE_PATH = ::Enigma::ResourceManager::getResourcesDir() / "database" / "Enigma.db"
 
static constexpr const std::array< std::string_view, 2 > Enigma::Constants::Algorithm::Database::CREATE_TABLES_SQL
 
static constexpr const char * Enigma::Constants::Algorithm::CLI::CLI_HELP_MESSAGE = "Say -h or --help to display available options"
 
static constexpr const auto Enigma::Constants::Colors::COLOR4I_TO_COLOR4F
 
static const auto Enigma::Constants::Colors::ORANGE = COLOR4I_TO_COLOR4F(255, 182, 0, 255)
 
static const ImVec4 Enigma::Constants::Colors::BACKGROUND_COLOR = COLOR4I_TO_COLOR4F(43, 43, 43, 255)
 
static const ImVec4 Enigma::Constants::Colors::TEXT_COLOR = COLOR4I_TO_COLOR4F(242, 242, 243, 225)
 
static const ImVec4 Enigma::Constants::Colors::ERROR_TEXT_COLOR = COLOR4I_TO_COLOR4F(201, 46, 64, 255)
 
static const ImVec4 Enigma::Constants::Colors::PASSWORD_MATCH_TEXT_COLOR = COLOR4I_TO_COLOR4F(94, 172, 161, 225)
 
static const ImVec4 Enigma::Constants::Colors::BUTTON_COLOR = COLOR4I_TO_COLOR4F(10, 120, 122, 200)
 
static const ImVec4 Enigma::Constants::Colors::BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(29, 188, 191, 200)
 
static const ImVec4 Enigma::Constants::Colors::BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(11, 65, 66, 200)
 
static const ImVec4 Enigma::Constants::Colors::MENUBAR_BACKGROUND_COLOR = COLOR4I_TO_COLOR4F(66, 66, 80, 200)
 
static const ImVec4 Enigma::Constants::Colors::BACK_BUTTON_COLOR = COLOR4I_TO_COLOR4F(209, 61, 86, 255)
 
static const ImVec4 Enigma::Constants::Colors::BACK_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(232, 81, 107, 255)
 
static const ImVec4 Enigma::Constants::Colors::BACK_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(150, 41, 59, 255)
 
static const ImVec4 Enigma::Constants::Colors::MY_ENCRYPTIONS_BUTTON_COLOR = COLOR4I_TO_COLOR4F(26, 72, 97, 255)
 
static const ImVec4 Enigma::Constants::Colors::MY_ENCRYPTIONS_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(38, 91, 120, 255)
 
static const ImVec4 Enigma::Constants::Colors::MY_ENCRYPTIONS_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(10, 132, 199, 255)
 
static const ImVec4 Enigma::Constants::Colors::TOOLS_BUTTON_COLOR = COLOR4I_TO_COLOR4F(25, 101, 130, 255)
 
static const ImVec4 Enigma::Constants::Colors::TOOLS_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(48, 146, 184, 255)
 
static const ImVec4 Enigma::Constants::Colors::TOOLS_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(60, 151, 186, 255)
 
static const ImVec4 Enigma::Constants::Colors::LOADING_SPINNER_COLOR = BACK_BUTTON_COLOR
 
static const ImVec4 Enigma::Constants::Colors::LOADING_BACKGROUND_COLOR = {0.0f, 0.0f, 0.0f, 0.8f}
 
static const ImVec4 & Enigma::Constants::Colors::SCENE_TITLE_BACKGROUND_COLOR = MENUBAR_BACKGROUND_COLOR