summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-12Fix displayreplay.ckamel5
If cNopacityDisplayReplay::SetTitle() is used, the pixmap pixmapInfo2 was initially not filled.
2021-07-12Add .gitignorekamel5
2021-07-12Prevent fadein and fadeout if MenuCategory is mcPluginSetup or mcSetupPluginskamel5
If fade-in or fade-out is active and the setup menu or its submenus was used, several fade-ins and fade-outs occurred when the "OK" button was pressed. This is normal VDR behavior. This change deactivates fade-in and fade-out in the setup case.
2021-07-12Rework Setupkamel5
Since the settings are theme-specific and the theme is only known if this skin is active, changes were not applied if another skin was active. As a result of this change, the settings of this skin can only be changed if this skin is active. Otherwise there is a note about it. In addition, some setup entries have been rearranged.
2021-07-12Cosmetic changeskamel5
2021-07-12unsigned int is enoughkamel5
In these cases we do not need a "long unsigned int"
2021-07-12Small simplification in display channelkamel5
channelchange can be kept in cNopacityDisplayChannel. So this variable can be deleted in cNopacityDisplayChannelView.
2021-07-12Add "Use scraper infos and pictures" to setupkamel5
With this menu item, the use of scraper information and images can be switched off centrally.
2021-07-12Add TS errors to recording infokamel5
2021-07-12Eliminate cMenuSetupSubMenu::InfoItemkamel5
InfoItem is not required, the same can be done with cOsdItem.
2021-07-12Add fade-out to display menukamel5
2021-07-12Optimize Flush in display menukamel5
These changes ensures that only one flush is active when the fade-in thread is running. The first Pixmap::Lock() in cNopacityDisplayMenu::Action() takes so much longer than the following, Thats why the first Pixmap::Lock() was moved before the while loop. This makes the fade-in softer. The DetailView thread was eliminated.
2021-07-12Eliminate pixmapHeaderLogo in cNopacityViewkamel5
pixmapHeaderLogo can be merged with pixmapHeader
2021-07-12Optimize Flush and add fade-out to display messagekamel5
2021-07-12Add fade-out to display volumekamel5
2021-07-12Optimize Flush in display volumekamel5
Changes in Flush(): This ensures that only one flush is active when the thread is running. Changes in Acton(): Since the first Pixmap::Lock() takes so much longer than the following, the first Pixmap::Lock() was moved before the while loop. This makes the fade-in softer.
2021-07-12Add fade-out to display trackskamel5
2021-07-12Optimize Flush in display trackskamel5
Changes in Flush(): This ensures that only one flush is active when the thread is running. Changes in Acton(): Since the first Pixmap::Lock() takes so much longer than the following, the first Pixmap::Lock() was moved before the while loop. This makes the fade-in softer. Add cNopacityDisplayReplay::SetAlpha() for simplification.
2021-07-12Add fade-out to display replaykamel5
2021-07-12Optimize Flush in display replaykamel5
Changes in Flush(): This ensures that only one flush is active when the thread is running. Changes in Acton(): Since the first Pixmap::Lock() takes so much longer than the following, the first Pixmap::Lock() was moved before the while loop. This makes the fade-in softer. Add cNopacityDisplayReplay::SetAlpha() for simplification.
2021-07-12Add fade-out to display channelkamel5
2021-07-12Optimize Flush in display channelkamel5
Changes in Flush(): This ensures that only one flush is active when the thread is running. Changes in Acton(): Since the first Pixmap::Lock() takes so much longer than the following, the first Pixmap::Lock() was moved before the while loop. This makes the fade-in softer.
2021-06-06Add thread nameskamel5
Better identification of threads in logs
2021-06-06Make cNopacityView::SetFonts privatkamel5
2021-06-06Adding different SetAlphakamel5
This can simplify the calls to SetAlpha.
2021-06-06Rework CreateOsd()kamel5
With this change it is possible to make various functions in cNopacityDisplayChannelView and cNopacityDisplayMenuView private.
2021-06-06Eliminate cNopacityDisplayMenuView::SetDetailViewSize() and ↵kamel5
cNopacityDetailView::SetGeometry() All parameters defined in these functions can be set in the constructor of NopacityDetailView.
2021-06-04Eliminate isFolder in cNopacityDisplayMenu::SetItemRecordingkamel5
This parameter is not required because the Total parameter can be used.
2021-06-04set ff=unixkamel5
2021-06-04Simplify cNopacityDisplayMenu::SetButtons()kamel5
This simplification makes it possible to eliminate the pixmapButtonsText in cNopacityDisplayMenuView.
2021-06-04Update iceblue themekamel5
2021-06-04Cleaning up some commented out osd->Flush()kamel5
2021-05-31Version 1.1.81.1.8kamel5
2021-04-11Fix segfault in cNopacitySetup::~cNopacitySetup()kamel5
A segfault occurred when nOpacity is not the active skin and the plugin's setup page was exited.
2021-03-11Elimintae cNopacityMenuItem::SetFont*kamel5
Fonts assigned in constructor of cNopacityMainMenuItem*. Therefore SetFont(), SetFontSmall(), SetFontEPGWindow() and SetFontEPGWindowLarge() can be deleted.
2021-03-11Fix the clock wasn't updated in Displaychannel.kamel5
2021-03-10Cleanup optimized Start()kamel5
We can return new cNopacity() directly in Start()
2021-03-10Update debug logkamel5
Fix debug log in cGeometryManager::SetGeometry(void). Add debug log in cImageCache::CreateCacheDelayed(void)
2021-03-10Cleanup cNopacity::cNopacity(void)kamel5
config.SetThemeSpecificDefaults(), config.SetThemeSetup(), config.SetFontName(), geoManager->SetGeometry(), fontManager->SetFonts(), imgCache->CreateCache() and imgCache->CreateCacheDelayed() is no longer required here. config.LoadThemeSpecificConfigs() and config.SetPathes() was moved to cNopacity::ReloadCaches(void).
2021-03-10Add cNopacityConfig::.Init()kamel5
In Init() all necessary functions are collected in order to properly initialize the skin. These functions can then be made private in this class. This can also simplify cNopacity::ReloadCaches().
2021-03-10Simplify cImageCachekamel5
- Merge CreateCache(void) and CreateCacheDelayed(void) and move CreateCache() to cImageCache::cImageCache(). This allows a new instance of imgCache to be created after configuration changes. - Eliminate cImageCache::Reload() cImageCache::Reload() is no longer required.
2021-03-10Simplify cGeometryManagerkamel5
- Initiate osdLeft, osdTop, osdWidth and osdHeight with 0 in cGeometryManager::cGeometryManager(). - cGeometryManager::GeometryChanged(void) is renamed to cGeometryManager::SetOSDSize(void) and merged to set osdLeft, osdTop, osdWidth and osdHeight to cOsd::*. The cache is now created via cNopacity::SetOSDSize(void) when the skin is started for the first time or when the geometry is changed. All SetDisplay*() were merged and moved to cGeometryManager::SetGeometry. So we can delete then all unnecessary funktions.
2021-03-10Simplify cFontManagerkamel5
Almost everything is done in the constructor and destructor of cFontManager. So we can delete most of the funktions in this class. This allows a new instance of fontmanager to be created after configuration changes.
2021-03-10Make imgCache globalkamel5
Make imgcache global so that it doesn't always have to be passed explicitly to other functions.
2021-03-10Eliminate cNopacityDisplayMenuView::SetAvrgFontWidthkamel5
2021-03-10Convert menuItems from cList to std::vectorSoeren Moch
This allows to access menu items in arbitrary order. This is required to learn remote control keys in the remote plugin. Also clear Tabs when creating menu to avoid uninitialized use. Signed-off-by: Soeren Moch <smoch@web.de>
2021-02-16Version 1.1.71.1.7kamel5
2021-02-16Use MessageBox for DisplayChannelSoeren Moch
Also use MessageBox here to get the unified appearence of messages everywhere. Signed-off-by: Soeren Moch <smoch@web.de>
2021-02-16Use MessageBox for DisplayMenuSoeren Moch
Besides the unified message view this allows great code simplification. Signed-off-by: Soeren Moch <smoch@web.de>
2021-02-16Use MessageBox for DisplayReplaySoeren Moch
Besides the unified message view this fixes a segfault when displaying a message with modeOnly display. Signed-off-by: Soeren Moch <smoch@web.de>