Skip to content

Commit 5d18388

Browse files
committed
Added letter j to font straight
1 parent 8afb069 commit 5d18388

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

Fonts/Straight/straight.h

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -414,17 +414,31 @@ class Straight : public Fonts
414414
return character;
415415
}
416416

417-
/*
418-
char **j()
419-
{
420-
char **character = getCharGrid(ROWS,COLS);
421-
422-
//Enter the character grid in ROWS X COLS
417+
char **j()
418+
{
419+
char **character = getCharGrid();
423420

424-
return character;
421+
for(int i = 0; i < 3; i++)
422+
{
423+
for(int j = 0; j < 3; j++)
424+
{
425+
if(i == 0 && j == 1)
426+
{
427+
character[i][j] = '.';
428+
}
429+
if (i == 1 && j == 1)
430+
{
431+
character[i][j] = '|';
432+
}
433+
if (i == 2 && j == 1)
434+
{
435+
character[i][j] = '/';
436+
}
437+
}
425438
}
426439

427-
*/
440+
return character;
441+
}
428442

429443
char **k()
430444
{

0 commit comments

Comments
 (0)