-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfobars.cpp
More file actions
55 lines (47 loc) · 1.4 KB
/
Copy pathInfobars.cpp
File metadata and controls
55 lines (47 loc) · 1.4 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// ********************************************************************************
/// <summary>
///
/// </summary>
/// <created>ʆϒʅ,20.06.2019</created>
/// <changed>ʆϒʅ,13.10.2019</changed>
// ********************************************************************************
#include "Packers.h"
#include "Infobars.h"
#include "Console.h"
titleBar::titleBar ()
{
titleSentence = u8"Feel free to way in as a packer toward becoming an advanced packer! ♥♥♥♥♥ :)";
startPoint = { ( ( SCREEN_W / 2 ) - 9 ) - ( 76 / 2 ), 0 };
// output
colourInserter ( titleSentence, F_CYAN, startPoint );
};
guideBar::guideBar ()
{
startPoint = { 10, SCREEN_H - 3 };
signs [0] = u8"♣:";
signs [1] = u8"☻:";
signs [2] = u8".:";
guides [0] = u8" healthy resources";
guides [1] = u8" beloved packers";
guides [2] = u8" ready packages";
// output
COORD coordinate { startPoint };
// guideBar
for ( char i = 0; i < 3; i++ )
{
if ( i == 0 )
colourInserter ( signs [i], F_GREEN, coordinate );
else
if ( i == 1 )
{
coordinate.X = ( ( ( SCREEN_W - 18 ) / 2 ) - 9 ) + 2;
colourInserter ( signs [i], F_bWHITE, coordinate );
} else
{
coordinate.X = ( ( SCREEN_W - 26 ) - 17 );
colourInserter ( signs [i], F_bWHITE, coordinate );
}
coordinate.X += 2;
colourInserter ( guides [i], F_CYAN, coordinate );
}
};