Snoke
logo.h
Go to the documentation of this file.
1 #ifndef LOGO_H
2 #define LOGO_H
3 #include <ncurses.h>
4 #include <cstring>
5 #include <vector>
6 #include "../Common/common.h"
7 
17 class Logo
18 {
19  private:
20  int x, y;
22  short language;
23  std::vector<std::vector<const char*>> inscription;
24 
25  public:
26  void draw();
27  void setPosition(int x, int y);
28  Point getSize();
29  Logo(int x, int y, PointStyle style, PointStyle shadowStyle, int language);
30 };
31 
32 #endif
PointStyle shadowStyle
Definition: logo.h:21
Point getSize()
Definition: logo.cpp:18
int x
Definition: logo.h:20
void draw()
Definition: logo.cpp:30
Logo(int x, int y, PointStyle style, PointStyle shadowStyle, int language)
Definition: logo.cpp:61
int y
Definition: logo.h:20
Definition: logo.h:17
PointStyle style
Definition: logo.h:21
std::vector< std::vector< const char * > > inscription
Definition: logo.h:23
Style of the cell in console window.
Definition: common.h:37
Coordinates and style of the cell in console window.
Definition: common.h:52
short language
Definition: logo.h:22
void setPosition(int x, int y)
Definition: logo.cpp:8