Mercurial > public > ostc4
comparison BootLoader/Src/tInfoBootloader.c @ 1048:493a5903ec20 GasConsumption
Merge with 9d9d506a82d3162b6b2323819cc08652887d7dd4 (Bootloader)
| author | Ideenmodellierer |
|---|---|
| date | Sat, 15 Nov 2025 19:29:44 +0100 |
| parents | 0dd92e9b70a2 |
| children |
comparison
equal
deleted
inserted
replaced
| 1047:6fb16ca39125 | 1048:493a5903ec20 |
|---|---|
| 94 uint32_t backup = tIBscreen.FBStartAdress; | 94 uint32_t backup = tIBscreen.FBStartAdress; |
| 95 | 95 |
| 96 tIBscreen.FBStartAdress = getFrame(18); | 96 tIBscreen.FBStartAdress = getFrame(18); |
| 97 line = 1; | 97 line = 1; |
| 98 if(text) | 98 if(text) |
| 99 GFX_write_string(&FontT48, &tIBwindow, text,line); | 99 GFX_write_string(&FontT48min, &tIBwindow, text,line); |
| 100 line++; | 100 line++; |
| 101 | 101 |
| 102 if(*textButtonLeft) | 102 if(*textButtonLeft) |
| 103 write_content_simple(&tIBscreen, 0, 800, 480-24, &FontT24,textButtonLeft,CLUT_ButtonSurfaceScreen); | 103 write_content_simple(&tIBscreen, 0, 800, 480-24, &FontT24min,textButtonLeft,CLUT_ButtonSurfaceScreen); |
| 104 if(*textButtonMid) | 104 if(*textButtonMid) |
| 105 write_content_simple(&tIBscreen, 0, 800, 480-24, &FontT24,textButtonMid,CLUT_ButtonSurfaceScreen); | 105 write_content_simple(&tIBscreen, 0, 800, 480-24, &FontT24min,textButtonMid,CLUT_ButtonSurfaceScreen); |
| 106 if(*textButtonRight) | 106 if(*textButtonRight) |
| 107 write_content_simple(&tIBscreen, 0, 800, 480-24, &FontT24,textButtonRight,CLUT_ButtonSurfaceScreen); | 107 write_content_simple(&tIBscreen, 0, 800, 480-24, &FontT24min,textButtonRight,CLUT_ButtonSurfaceScreen); |
| 108 | 108 |
| 109 GFX_SetFrameTop(tIBscreen.FBStartAdress); | 109 GFX_SetFrameTop(tIBscreen.FBStartAdress); |
| 110 GFX_change_LTDC(); | 110 GFX_change_LTDC(); |
| 111 | 111 |
| 112 if(backup != 0) | 112 if(backup != 0) |
| 119 if((line > 6) || (tIBscreen.FBStartAdress == 0)) | 119 if((line > 6) || (tIBscreen.FBStartAdress == 0)) |
| 120 tInfo_newpage(text); | 120 tInfo_newpage(text); |
| 121 else | 121 else |
| 122 { | 122 { |
| 123 if(text) | 123 if(text) |
| 124 GFX_write_string(&FontT48, &tIBwindow, text,line); | 124 GFX_write_string(&FontT48min, &tIBwindow, text,line); |
| 125 line++; | 125 line++; |
| 126 | 126 |
| 127 } | 127 } |
| 128 } | 128 } |
| 129 | 129 |
