From b46740de8a3c8b6f2b83ecd005557302cdc5e805 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sun, 27 Jun 2021 16:53:58 -0400 Subject: [PATCH] Image class rewrite. --- libs/borealis | 2 +- source/about_tab.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/borealis b/libs/borealis index 24aaf09..803670d 160000 --- a/libs/borealis +++ b/libs/borealis @@ -1 +1 @@ -Subproject commit 24aaf094be42c8910f486fce51e0701b34971f9e +Subproject commit 803670dc42611af6deba5355d2069a944234cbb5 diff --git a/source/about_tab.cpp b/source/about_tab.cpp index 5476cc9..2b5c69b 100644 --- a/source/about_tab.cpp +++ b/source/about_tab.cpp @@ -36,7 +36,8 @@ namespace nxdt::views this->setMarginBottom(20); /* 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->setHeight(LOGO_SIZE); this->logo->setScaleType(brls::ImageScaleType::NO_RESIZE);