- glcd: add own logo directory

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-05-10 22:50:17 +02:00
committed by Thilo Graf
parent 47dbf21465
commit f27ff4563c
11 changed files with 55 additions and 10 deletions

View File

@@ -1501,7 +1501,7 @@ bool cGLCD::showImage(uint64_t cid, std::string cname, uint32_t dx, uint32_t dy,
std::string logo;
int sw, sh;
if (g_PicViewer->GetLogoName(cid, cname, logo, &sw, &sh))
if (g_PicViewer->GetLogoName(cid, cname, logo, &sw, &sh, CPictureViewer::GRAPHLCD, true))
{
return showImage(logo, (uint32_t) sw, (uint32_t) sh, dx, dy, dw, dh, transp, maximize);
}