-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
list-locales: fixed tool build for release
- Loading branch information
Showing
6 changed files
with
46 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Dummy header to avoid unnecessary includes | ||
*/ | ||
|
||
#ifndef UTFT_h | ||
#define UTFT_h | ||
|
||
#include <cstdint> | ||
|
||
typedef uint16_t Colour; | ||
|
||
const Colour black = 0x0000; | ||
const Colour white = 0xFFFF; | ||
|
||
typedef const uint16_t *Palette; | ||
|
||
namespace UTFT { | ||
inline constexpr uint16_t fromRGB(uint8_t r, uint8_t g, uint8_t b) | ||
{ | ||
return ((r & 248) << 8) | ((g & 252) << 3) | (b >> 3); | ||
} | ||
} | ||
|
||
#endif |
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,8 @@ | ||
/* | ||
* Dummy header to avoid unnecessary includes | ||
*/ | ||
|
||
#ifndef ASF_H | ||
#define ASF_H | ||
|
||
#endif // ASF_H |
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