From 8ee8566cc84f5ab0bfec2c00d8f0ccc5a41fd80c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 20 Nov 2021 18:42:49 +0100 Subject: [PATCH] test_menu: add image demo into test window Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c897a1b731f6eeb75a7465e7b499dfc77d845b5c Author: Thilo Graf Date: 2021-11-20 (Sat, 20 Nov 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/test_menu.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index b4a17cda3..a05af301e 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -829,6 +829,18 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey) text_2->setFrameThickness(2); text_2->setPageNumber(1); window->addWindowItem(text_2); + + CComponentsPicture *pic0 = new CComponentsPicture (10, 280, 100, 0, "tux"); + pic0->setPageNumber(0); + window->addWindowItem(pic0); + + CComponentsPicture *pic1 = new CComponentsPicture (130, 280, 100, 0, "hint_tvmode"); + pic1->setPageNumber(0); + window->addWindowItem(pic1); + + CComponentsPicture *pic2 = new CComponentsPicture (130, 280, 100, 0, "muted"); + pic2->setPageNumber(1); + window->addWindowItem(pic2); } #if 0 if (!window->isPainted()){