1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-22 18:26:39 +00:00

Image class rewrite.

This commit is contained in:
Pablo Curiel 2021-06-27 16:53:58 -04:00
parent 5aa3eb05b7
commit b46740de8a
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 24aaf094be42c8910f486fce51e0701b34971f9e Subproject commit 803670dc42611af6deba5355d2069a944234cbb5

View file

@ -36,7 +36,8 @@ namespace nxdt::views
this->setMarginBottom(20); this->setMarginBottom(20);
/* Logo. */ /* Logo. */
this->logo = new brls::Image(BOREALIS_ASSET("icon/" APP_TITLE ".jpg")); this->logo = new brls::Image();
this->logo->setImage(BOREALIS_ASSET("icon/" APP_TITLE ".jpg"));
this->logo->setWidth(LOGO_SIZE); this->logo->setWidth(LOGO_SIZE);
this->logo->setHeight(LOGO_SIZE); this->logo->setHeight(LOGO_SIZE);
this->logo->setScaleType(brls::ImageScaleType::NO_RESIZE); this->logo->setScaleType(brls::ImageScaleType::NO_RESIZE);