Age | Commit message (Collapse) | Author |
|
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().
|
|
- 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.
|
|
- 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.
|
|
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.
|
|
Make imgcache global so that it doesn't always have to be passed
explicitly to other functions.
|
|
|
|
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>
|
|
|
|
Also use MessageBox here to get the unified appearence of messages
everywhere.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
Besides the unified message view this allows great code simplification.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
Besides the unified message view this fixes a segfault when displaying
a message with modeOnly display.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
So we can reuse this MessageBox code later.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
We unconditionally create a channelView in the constructor, no need to check
its presence.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
Delete global geoManager and fontManager in the same class (cNopacity) where
they were created.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
Follow the usual pattern to implement global variables in source files
and declare these variables as extern in corresponding headers.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
.. to simplify code
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
... to simplify the code.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
SetMode() is called after the first call to Flush() in cSkinDisplayReplay,
so control icons are displayed uninitialized for a short period of time.
Fix this by initializing these icon properly.
Signed-off-by: Soeren Moch <smoch@web.de>
|
|
|
|
|
|
narrow and no banner
|
|
|
|
|
|
timer conflict check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|