mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
neutrino: rework infoviewer
Make the infoviewer more "tuxbox-like". The default appearance should only change marginally, but this provides infrastructure to: *) disable the crypto icons (default if --disable-blinkenlights) *) resize the infobar better to adapt to changed font sizes (not yet perfect, but better than before) *) always vertically center the icons in the button bar (red green blue and AC3/16:9 etc) The one thing visible immediately is that the infobar is always drawn at the same height, regardless if the buttonbar is drawn below or not. Originally I did it that way because a) the code was simpler and b) I liked it better. If this is an issue, please report an I can change that. I deliberately did not touch the display in file playback mode, this can be done later once potential issues are shaken out. Tis is a massive change, so I expect it to be not perfect. Please report anything you find. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@98 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -485,6 +485,9 @@ extern const neutrino_locale_t timing_setting_name[TIMING_SETTING_COUNT];
|
||||
#define RADIUS_MID (g_settings.rounded_corners ? CORNER_RADIUS_MID : 0)
|
||||
#define RADIUS_SMALL (g_settings.rounded_corners ? CORNER_RADIUS_SMALL : 0)
|
||||
|
||||
// shadow
|
||||
#define SHADOW_OFFSET 6
|
||||
|
||||
/* end default values */
|
||||
|
||||
struct SglobalInfo
|
||||
|
Reference in New Issue
Block a user