summaryrefslogtreecommitdiff
path: root/geometrymanager.h
AgeCommit message (Collapse)Author
2022-06-09Remove some unnessesary variablekamel5
channelX is always 0 channelWidth is always channelOsdWidth replayWidth is always replayOsdWidth replayHeight is always replayOsdHeight
2022-06-09Add a simple VolumeBox for DisplayMenukamel5
Adds a simpler volume box in DisplayMenu. An setup option is added to change the type of volume box.
2022-06-09Add a simple VolumeBox for DisplayChannelkamel5
Adds a simpler volume box in DisplayChannel. An setup option is added to change the type of volume box.
2022-06-09Add a simple VolumeBox for DisplayReplaykamel5
Adds a simpler volume box in DisplayReplay. An setup option is added to change the type of volume box.
2022-06-09Moves various variables into the Geomanager to reuse it laterkamel5
2022-05-21Align channel logo backgroundSoeren Moch
Use maximum logo space for background. So the logo background image is aligned to the menu background. The channel logo itself is usually smaller than the background due to scaling with preserved aspect ratio. So use separate geometry settings for logo and background. Signed-off-by: Soeren Moch <smoch@web.de>
2022-05-09Optimize channelview OSD sizeSoeren Moch
When displayPoster is disabled, most of the OSD area is not used in channelview. Reduze the requested osd size in this case. This helps to speed-up the display and reduces the variation in osd flush time, e.g. for animations. Signed-off-by: Soeren Moch <smoch@web.de>
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-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-16Cleanup global declarationsSoeren Moch
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>
2014-05-24Vertical channel logo alignment configurable in displaychannellouis
2014-02-01Fixed bug that messages are not displayed during replay of a recording if ↵louis
DisplayReplay is active
2013-11-07changed channel logos in main menu timers display to scale automaticallylouis
2013-11-07changed build environment that every class is build seperatelylouis
2013-11-03changed header icons to scale automaticallylouis
2013-11-02changed way of calculating number of menu items in narrow menuslouis
2013-10-25Version 0.9.0louis
2013-09-29Added Cache for images and fontslouis