diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-10-14 20:19:38 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-10-14 20:19:38 +0200 |
commit | eb5cd22a430b8a4db21aad162164e1c1ae5f44cb (patch) | |
tree | 4c83902eb5cb330656e145ef5cd40e5e4a4d51ee | |
parent | 656e22f0e5b59ad55e9b3519bf9966b81362be56 (diff) | |
download | skin-flatplus-eb5cd22a430b8a4db21aad162164e1c1ae5f44cb.tar.gz skin-flatplus-eb5cd22a430b8a4db21aad162164e1c1ae5f44cb.tar.bz2 |
add sort icons in recording menu
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | displaymenu.c | 7 | ||||
-rw-r--r-- | icons/default/menuIcons/RecsSortDate.png | bin | 0 -> 4665 bytes | |||
-rw-r--r-- | icons/default/menuIcons/RecsSortName.png | bin | 0 -> 3242 bytes |
4 files changed, 8 insertions, 2 deletions
@@ -1,8 +1,9 @@ VDR Plugin 'skinflatplus' Revision History --------------------------------------- -2014-09-XX: Version 0.4.3 +2014-XX-XX: Version 0.4.3 - [add] option to draw the menu background over the entire height +- [add] sort icons in recordings menu 2014-08-10: Version 0.4.2 - [update] change direcotry of config-files diff --git a/displaymenu.c b/displaymenu.c index b640b209..7ffd12b0 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -234,7 +234,12 @@ void cFlatDisplayMenu::SetTitle(const char *Title) { icon = "menuIcons/Timers"; break; case mcRecording: - icon = "menuIcons/Recordings"; + if( RecordingsSortMode == rsmName ) + icon = "menuIcons/RecsSortName"; + else if( RecordingsSortMode == rsmTime ) + icon = "menuIcons/RecsSortDate"; + else + icon = "menuIcons/Recordings"; break; case mcSetup: icon = "menuIcons/Setup"; diff --git a/icons/default/menuIcons/RecsSortDate.png b/icons/default/menuIcons/RecsSortDate.png Binary files differnew file mode 100644 index 00000000..de718d00 --- /dev/null +++ b/icons/default/menuIcons/RecsSortDate.png diff --git a/icons/default/menuIcons/RecsSortName.png b/icons/default/menuIcons/RecsSortName.png Binary files differnew file mode 100644 index 00000000..a47eb345 --- /dev/null +++ b/icons/default/menuIcons/RecsSortName.png |