mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added separator for recmenu listelement
This commit is contained in:
parent
9090b5554a
commit
c341448bbf
@ -950,6 +950,7 @@ enum class eLeMenuRecordingsST {
|
|||||||
enum class eLeMenuRecordingsIT {
|
enum class eLeMenuRecordingsIT {
|
||||||
nummenuitem = 0,
|
nummenuitem = 0,
|
||||||
current,
|
current,
|
||||||
|
separator,
|
||||||
isnew,
|
isnew,
|
||||||
percentseen,
|
percentseen,
|
||||||
watched,
|
watched,
|
||||||
|
@ -1387,6 +1387,7 @@ bool cLeMenuRecordings::Parse(bool forced) {
|
|||||||
tokenContainer->Clear();
|
tokenContainer->Clear();
|
||||||
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::nummenuitem, num);
|
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::nummenuitem, num);
|
||||||
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::current, current);
|
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::current, current);
|
||||||
|
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::separator, !selectable);
|
||||||
bool isFolder = (total > 0) ? true : false;
|
bool isFolder = (total > 0) ? true : false;
|
||||||
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::folder, isFolder);
|
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::folder, isFolder);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user