mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
test_menu: add image demo into test window
Origin commit data
------------------
Branch: ni/coolstream
Commit: c897a1b731
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-20 (Sat, 20 Nov 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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()){
|
||||
|
Reference in New Issue
Block a user