Feature/add about screen (#1)

Adds the "About" scene, which displays the version info and credits. The user can scroll up/down through this screen.
This commit is contained in:
Philippe Symons
2024-08-20 23:57:35 +02:00
committed by GitHub
parent 0ac60b6c02
commit bc7733cc36
25 changed files with 387 additions and 11 deletions

View File

@@ -8,10 +8,24 @@
typedef struct TextRenderSettings
{
/**
* @brief The libdragon font id (used as handle) as known by libdragon. FontManager manages the various fonts
*/
uint8_t fontId;
/**
* @brief The style id used to render the text. (this is a handle/id to a previously registered rdpq_fontstyle_t struct for the fontId specified earlier)
*/
uint8_t fontStyleId;
int16_t charSpacing; ///< Extra spacing between chars (in addition to glyph width and kerning)
int16_t lineSpacing; ///< Extra spacing between lines (in addition to font height)
/**
* @brief The horizontal alignment of the text
*/
rdpq_align_t halign;
/**
* @brief The vertical alignment of the text
*/
rdpq_valign_t valign;
} TextRenderSettings;
typedef struct SpriteRenderSettings SpriteRenderSettings;