Enigma 3.2.2
A Simple, Reliable and Efficient Encryption Tool
Loading...
Searching...
No Matches
Enigma::Constants::Colors Namespace Reference

Functions

static const ImVec4 RED (1.0f, 0.0f, 0.0f, 1.0f)
 
static const ImVec4 GREEN (0.0f, 1.0f, 0.0f, 1.0f)
 
static const ImVec4 BLUE (0.0f, 0.0f, 1.0f, 1.0f)
 

Variables

static constexpr auto COLOR4I_TO_COLOR4F
 
static const auto ORANGE = COLOR4I_TO_COLOR4F(255, 182, 0, 255)
 
static const ImVec4 BACKGROUND_COLOR = COLOR4I_TO_COLOR4F(43, 43, 43, 255)
 
static const ImVec4 TEXT_COLOR = COLOR4I_TO_COLOR4F(242, 242, 243, 225)
 
static const ImVec4 ERROR_TEXT_COLOR = COLOR4I_TO_COLOR4F(201, 46, 64, 255)
 
static const ImVec4 PASSWORD_MATCH_TEXT_COLOR = COLOR4I_TO_COLOR4F(94, 172, 161, 225)
 
static const ImVec4 BUTTON_COLOR = COLOR4I_TO_COLOR4F(10, 120, 122, 200)
 
static const ImVec4 BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(29, 188, 191, 200)
 
static const ImVec4 BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(11, 65, 66, 200)
 
static const ImVec4 MENUBAR_BACKGROUND_COLOR = COLOR4I_TO_COLOR4F(66, 66, 80, 200)
 
static const ImVec4 BACK_BUTTON_COLOR = COLOR4I_TO_COLOR4F(209, 61, 86, 255)
 
static const ImVec4 BACK_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(232, 81, 107, 255)
 
static const ImVec4 BACK_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(150, 41, 59, 255)
 
static const ImVec4 MY_ENCRYPTIONS_BUTTON_COLOR = COLOR4I_TO_COLOR4F(26, 72, 97, 255)
 
static const ImVec4 MY_ENCRYPTIONS_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(38, 91, 120, 255)
 
static const ImVec4 MY_ENCRYPTIONS_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(10, 132, 199, 255)
 
static const ImVec4 TOOLS_BUTTON_COLOR = COLOR4I_TO_COLOR4F(25, 101, 130, 255)
 
static const ImVec4 TOOLS_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(48, 146, 184, 255)
 
static const ImVec4 TOOLS_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(60, 151, 186, 255)
 
static const ImVec4 LOADING_SPINNER_COLOR = BACK_BUTTON_COLOR
 
static const ImVec4 LOADING_BACKGROUND_COLOR = {0.0f, 0.0f, 0.0f, 0.8f}
 
static const ImVec4 & SCENE_TITLE_BACKGROUND_COLOR = MENUBAR_BACKGROUND_COLOR
 

Function Documentation

◆ BLUE()

static const ImVec4 Enigma::Constants::Colors::BLUE ( 0.  0f,
0.  0f,
1.  0f,
1.  0f 
)
static

◆ GREEN()

static const ImVec4 Enigma::Constants::Colors::GREEN ( 0.  0f,
1.  0f,
0.  0f,
1.  0f 
)
static

◆ RED()

static const ImVec4 Enigma::Constants::Colors::RED ( 1.  0f,
0.  0f,
0.  0f,
1.  0f 
)
static

Variable Documentation

◆ BACK_BUTTON_COLOR

const ImVec4 Enigma::Constants::Colors::BACK_BUTTON_COLOR = COLOR4I_TO_COLOR4F(209, 61, 86, 255)
static

Definition at line 140 of file Constants.hpp.

◆ BACK_BUTTON_COLOR_ACTIVE

const ImVec4 Enigma::Constants::Colors::BACK_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(150, 41, 59, 255)
static

Definition at line 142 of file Constants.hpp.

◆ BACK_BUTTON_COLOR_HOVER

const ImVec4 Enigma::Constants::Colors::BACK_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(232, 81, 107, 255)
static

Definition at line 141 of file Constants.hpp.

◆ BACKGROUND_COLOR

const ImVec4 Enigma::Constants::Colors::BACKGROUND_COLOR = COLOR4I_TO_COLOR4F(43, 43, 43, 255)
static

Definition at line 125 of file Constants.hpp.

◆ BUTTON_COLOR

const ImVec4 Enigma::Constants::Colors::BUTTON_COLOR = COLOR4I_TO_COLOR4F(10, 120, 122, 200)
static

Definition at line 134 of file Constants.hpp.

◆ BUTTON_COLOR_ACTIVE

const ImVec4 Enigma::Constants::Colors::BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(11, 65, 66, 200)
static

Definition at line 136 of file Constants.hpp.

◆ BUTTON_COLOR_HOVER

const ImVec4 Enigma::Constants::Colors::BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(29, 188, 191, 200)
static

Definition at line 135 of file Constants.hpp.

◆ COLOR4I_TO_COLOR4F

constexpr auto Enigma::Constants::Colors::COLOR4I_TO_COLOR4F
staticconstexpr
Initial value:
= [](const float r, const float g, const float b, const float a) -> ImVec4 {
return ImVec4{r / 255.0f, g / 255.0f, b / 255.0f, a / 255.0f};
}

Definition at line 116 of file Constants.hpp.

◆ ERROR_TEXT_COLOR

const ImVec4 Enigma::Constants::Colors::ERROR_TEXT_COLOR = COLOR4I_TO_COLOR4F(201, 46, 64, 255)
static

Definition at line 130 of file Constants.hpp.

◆ LOADING_BACKGROUND_COLOR

const ImVec4 Enigma::Constants::Colors::LOADING_BACKGROUND_COLOR = {0.0f, 0.0f, 0.0f, 0.8f}
static

Definition at line 154 of file Constants.hpp.

◆ LOADING_SPINNER_COLOR

const ImVec4 Enigma::Constants::Colors::LOADING_SPINNER_COLOR = BACK_BUTTON_COLOR
static

Definition at line 152 of file Constants.hpp.

◆ MENUBAR_BACKGROUND_COLOR

const ImVec4 Enigma::Constants::Colors::MENUBAR_BACKGROUND_COLOR = COLOR4I_TO_COLOR4F(66, 66, 80, 200)
static

Definition at line 138 of file Constants.hpp.

◆ MY_ENCRYPTIONS_BUTTON_COLOR

const ImVec4 Enigma::Constants::Colors::MY_ENCRYPTIONS_BUTTON_COLOR = COLOR4I_TO_COLOR4F(26, 72, 97, 255)
static

Definition at line 144 of file Constants.hpp.

◆ MY_ENCRYPTIONS_BUTTON_COLOR_ACTIVE

const ImVec4 Enigma::Constants::Colors::MY_ENCRYPTIONS_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(10, 132, 199, 255)
static

Definition at line 146 of file Constants.hpp.

◆ MY_ENCRYPTIONS_BUTTON_COLOR_HOVER

const ImVec4 Enigma::Constants::Colors::MY_ENCRYPTIONS_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(38, 91, 120, 255)
static

Definition at line 145 of file Constants.hpp.

◆ ORANGE

const auto Enigma::Constants::Colors::ORANGE = COLOR4I_TO_COLOR4F(255, 182, 0, 255)
static

Definition at line 123 of file Constants.hpp.

◆ PASSWORD_MATCH_TEXT_COLOR

const ImVec4 Enigma::Constants::Colors::PASSWORD_MATCH_TEXT_COLOR = COLOR4I_TO_COLOR4F(94, 172, 161, 225)
static

Definition at line 131 of file Constants.hpp.

◆ SCENE_TITLE_BACKGROUND_COLOR

const ImVec4& Enigma::Constants::Colors::SCENE_TITLE_BACKGROUND_COLOR = MENUBAR_BACKGROUND_COLOR
static

Definition at line 157 of file Constants.hpp.

◆ TEXT_COLOR

const ImVec4 Enigma::Constants::Colors::TEXT_COLOR = COLOR4I_TO_COLOR4F(242, 242, 243, 225)
static

Definition at line 129 of file Constants.hpp.

◆ TOOLS_BUTTON_COLOR

const ImVec4 Enigma::Constants::Colors::TOOLS_BUTTON_COLOR = COLOR4I_TO_COLOR4F(25, 101, 130, 255)
static

Definition at line 148 of file Constants.hpp.

◆ TOOLS_BUTTON_COLOR_ACTIVE

const ImVec4 Enigma::Constants::Colors::TOOLS_BUTTON_COLOR_ACTIVE = COLOR4I_TO_COLOR4F(60, 151, 186, 255)
static

Definition at line 150 of file Constants.hpp.

◆ TOOLS_BUTTON_COLOR_HOVER

const ImVec4 Enigma::Constants::Colors::TOOLS_BUTTON_COLOR_HOVER = COLOR4I_TO_COLOR4F(48, 146, 184, 255)
static

Definition at line 149 of file Constants.hpp.