Skip to content

Commit d000237

Browse files
Merge pull request #301 from Stunner33/patch-1
Added 'F' character in straight.h
2 parents d9342ff + be7d70c commit d000237

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Fonts/Straight/straight.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,19 @@ class Straight : public Fonts
7373
return character;
7474
}
7575

76-
/*
76+
7777
char **F()
7878
{
7979
char **character = getCharGrid();
8080

8181
//Enter the character grid in ROWS X COLS
82+
character[1][0]=character[2][0]='|';
83+
character[0][1]=character[0][2]=character[1][1]='_';
84+
8285

8386
return character;
8487
}
85-
*/
88+
8689

8790
/*
8891
char **G()
@@ -753,4 +756,4 @@ char **Z()
753756
754757
*/
755758
};
756-
#endif
759+
#endif

example.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ int main()
77
{
88
Ascii a = Ascii(straight);
99
a.print("Z");
10+
Ascii b = Ascii(straight);
11+
b.print("F");
1012
return 0;
1113
}

0 commit comments

Comments
 (0)