glcd: add own logo directory

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7be4d13a35
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-10 (Mon, 10 May 2021)

Origin message was:
------------------
- glcd: add own logo directory

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-05-10 22:50:17 +02:00
parent 4ba2e439dc
commit 247e1d5140
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);
}