Architecture Arcade
Architecture Commune Arcade
GraphStruct.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** Archi Arcade Promo 2026 Toulouse
4 ** File description:
5 ** Useful struct for the grapical lib
6 */
7 
8 #pragma once
9 
10 #include <string>
11 
12 namespace Arcade {
13  namespace Graph {
14  struct Color {
15  public:
16  int r;
17  int g;
18  int b;
19  int a;
20  };
21  struct TTYData {
22  public:
23  std::string defaultChar;
26  };
27  struct Rect {
28  public:
29  int left;
30  int top;
31  int width;
32  int height;
33  };
34  } // namespace Graph
35 } // namespace Arcade
Definition: ArcadeStruct.hpp:10
Definition: GraphStruct.hpp:14
int a
Definition: GraphStruct.hpp:19
int r
Definition: GraphStruct.hpp:16
int g
Definition: GraphStruct.hpp:17
int b
Definition: GraphStruct.hpp:18
Definition: GraphStruct.hpp:21
std::string defaultChar
Definition: GraphStruct.hpp:23
Color background
Definition: GraphStruct.hpp:25
Color foreground
Definition: GraphStruct.hpp:24
Definition: GraphStruct.hpp:27
int height
Definition: GraphStruct.hpp:32
int top
Definition: GraphStruct.hpp:30
int left
Definition: GraphStruct.hpp:29
int width
Definition: GraphStruct.hpp:31