-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.hpp
29 lines (28 loc) · 1.3 KB
/
Constants.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// Created by daily on 24-12-23.
//
#ifndef ALGOVISUALIZER_CONSTANTS_HPP
#define ALGOVISUALIZER_CONSTANTS_HPP
#include <SDL.h>
namespace Constants{
constexpr Uint32 SDL_INIT_FLAGS = SDL_INIT_EVERYTHING;
constexpr int DEFAULT_WINDOW_WIDTH = 800;
constexpr int DEFAULT_WINDOW_HEIGHT = 600;
constexpr int DEFAULT_WINDOW_POS_X = SDL_WINDOWPOS_CENTERED;
constexpr int DEFAULT_WINDOW_POS_Y = SDL_WINDOWPOS_CENTERED;
constexpr bool DEFAULT_FULLSCREEN = false;
constexpr Uint8 RENDER_COLOR_R = 255;
constexpr Uint8 RENDER_COLOR_G = 255;
constexpr Uint8 RENDER_COLOR_B = 255;
constexpr Uint8 RENDER_COLOR_A = 255;
const char* const FONT_PATH = "../fonts/HackNerdFont-Regular.ttf";
constexpr int FONT_SIZE = 24;
const char* const INITIALIZING_VISUALIZER = "Initializing Visualizer with title: ";
const char* const CLEANING_UP_VISUALIZER = "Cleaning up Visualizer resources.";
const char* const SDL_INIT_ERROR = "SDL could not initialize: ";
const char* const WINDOW_CREATION_ERROR = "Failed to create sdlWindow_: ";
const char* const RENDERER_CREATION_ERROR = "Failed to create sdlRenderer_: ";
const char* const TTF_INIT_ERROR = "SDL_ttf could not initialize: ";
const char* const FONT_LOAD_ERROR = "Failed to load font: ";
};
#endif //ALGOVISUALIZER_CONSTANTS_HPP