-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* put shared types in 'types.h'
- Loading branch information
Showing
5 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* File: types.h | ||
* Author: [email protected] | ||
* | ||
* Created on 17. September 2023, 20:33 | ||
*/ | ||
|
||
#ifndef TYPES_H | ||
#define TYPES_H | ||
|
||
/* Width and height of bitmaps and glyphs */ | ||
typedef uint8_t width_t; | ||
typedef uint8_t height_t; | ||
|
||
/* Number of rows and columns of the display */ | ||
typedef uint8_t row_t; | ||
typedef uint8_t col_t; | ||
|
||
/* Font code (like UTF-8 code point) */ | ||
typedef uint8_t code_t; | ||
|
||
#endif /* TYPES_H */ | ||
|