diff Discovery/Inc/gfx.h @ 1048:493a5903ec20 GasConsumption

Merge with 9d9d506a82d3162b6b2323819cc08652887d7dd4 (Bootloader)
author Ideenmodellierer
date Sat, 15 Nov 2025 19:29:44 +0100
parents 0dd92e9b70a2
children
line wrap: on
line diff
--- a/Discovery/Inc/gfx.h	Sat Nov 15 15:16:14 2025 +0100
+++ b/Discovery/Inc/gfx.h	Sat Nov 15 19:29:44 2025 +0100
@@ -39,6 +39,13 @@
 		 uint16_t width;
 		 uint16_t height;
 		 } tImage;
+typedef struct {
+		 uint8_t *data;
+		 const uint8_t *dataComp;
+		 uint16_t sizeComp;
+ 		 uint16_t width;
+ 		 uint16_t height;
+ 		 } tImageComp;
 
 typedef struct {
 		 long int code;
@@ -46,6 +53,12 @@
 		 } tChar;
 
 typedef struct {
+		long int code;
+		const tImageComp *image;
+		} tCharComp;
+
+
+typedef struct {
 		 uint32_t length;
 		 const tChar *chars;
 		 uint8_t spacesize;
@@ -54,6 +67,15 @@
 		 } tFont;
 
 typedef struct {
+ 		 uint32_t length;
+ 		 const tCharComp *chars;
+ 		 uint8_t spacesize;
+ 		 uint8_t spacesize2Monospaced;
+ 		 uint8_t height;
+ 		 } tFontComp;
+
+
+typedef struct {
 		uint32_t x;
 		uint32_t y;
 } point_t;