From aec64e8c6c447585c3a0b69241b22a8adff58b6c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 22 Dec 2015 11:36:17 +0100 Subject: [PATCH] personalize.cpp: add doc for disable conditions --- src/gui/personalize.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/personalize.cpp b/src/gui/personalize.cpp index 7161a5c11..44a5f3696 100644 --- a/src/gui/personalize.cpp +++ b/src/gui/personalize.cpp @@ -58,6 +58,10 @@ const bool item_mode = optional, default true, if you don't want to see this item in personalize menue, then set it to false CMenuItem *observer_Item = optional, default NULL, if you want to observe this item with another item (observer), then use this prameter. Effect: this observed item will be deactivated, if observer is set to 'visible' or 'pin-protected' + menu_item_disable_cond_t& disable_condition = optional, default DCOND_MODE_NONE + Effect: on used condition eg. DCOND_MODE_TS, this item is disabled in mode_ts + Also usable are combined conditions: eg: DCOND_MODE_TV | DCOND_MODE_TS, this item is disabled in mode_tv and mode_ts + More possible conditions are defined in menue.h. Icon handling: If you define an icon in the item object, this will be shown in the personalized menu but not the personilazitions menue itself, otherwise a shortcut will be create