Skip to content

Commit ba1fcb2

Browse files
committed
Added H letter in the straight font
1 parent 4379e3e commit ba1fcb2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Fonts/Straight/straight.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,19 @@ class Straight : public Fonts
9494
}
9595
*/
9696

97-
/*
97+
9898
char **H()
9999
{
100100
char **character = getCharGrid();
101101

102102
//Enter the character grid in ROWS X COLS
103+
character[1][0]=character[1][3]='|';
104+
character[2][0]=character[2][3]='|';
105+
character[1][1]=character[1][2]='_';
103106

104107
return character;
105108
}
106-
*/
109+
107110

108111
char **I()
109112
{

example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ using namespace ascii;
66
int main()
77
{
88
Ascii a = Ascii(straight);
9-
a.print("r");
9+
a.print("H");
1010
return 0;
1111
}

0 commit comments

Comments
 (0)