summaryrefslogtreecommitdiff
path: root/nopacity.c
AgeCommit message (Collapse)Author
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-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-02-16Cleanup geo and font manager deleteSoeren Moch
Delete global geoManager and fontManager in the same class (cNopacity) where they were created. Signed-off-by: Soeren Moch <smoch@web.de>
2021-02-16Remove unused cNopacity::displayMenuSoeren Moch
... to simplify the code. Signed-off-by: Soeren Moch <smoch@web.de>
2021-02-01Fixed an display error in mainmenukamel5
2021-01-29Optimize displaychannelkamel5
2013-11-21Fixed a bug that setup values are not stored if theme is changedlouis
2013-11-17Freestyle Theme new default theme, old default renamed to bluelouis
2013-11-07changed build environment that every class is build seperatelylouis
2013-11-02Added background with dedicated theme color for channel logos in menuslouis
2013-11-02Added background for status icons in displaychannellouis
2013-10-26Cleand up some further RSS Feed stufflouis
2013-10-25Version 0.9.0louis
2013-09-30added some color definitions and theme keep it lightlouis
2013-09-29Added Cache for images and fontslouis
2013-09-18optimized some theme colors in displaychannel and displaymessagelouis
2013-09-14dedicated theme colors for RSS Feed (closes Feature 1485)louis
2013-09-14dedicated theme colors for timer backgrounds in main menu (closes Feature 1463)louis
2013-09-14dedicated theme colors in display channel for current event, current event ↵louis
info, next evet and next event info (closes Feature 1466)
2013-09-13introduced dedicated theme font colors for different message types and ↵louis
different buttons (closes Feature 1462)
2013-09-12Added REC Icon in displayChannel for current and next event (closes Feature ↵louis
1403)
2013-05-08Introduced plain style without any blending effectslouis
2013-05-04Ignoring first DisplayChannel calllouis
2013-04-08Added standalone RSS Feedlouis
2013-04-07Added RSS Feed supportlouis
2013-02-06Added dedicated colors for MenuHeader and MenuHeaderBlendinglouis
2013-01-27Using theme specific icons, added new theme 'green' with appropriate iconslouis
2013-01-13Added channel logos in main menu timers listlouis
2012-12-29Version 0.0.5louis
2012-12-16Whitespace Cleanuplouis
2012-12-05changed epgsearch handlinglouis
2012-11-27Initial push nOpacity 0.0.3root