mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
personalize.cpp: add doc for disable conditions
Origin commit data
------------------
Commit: aec64e8c6c
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-22 (Tue, 22 Dec 2015)
This commit is contained in:
@@ -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
|
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.
|
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'
|
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:
|
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
|
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
|
||||||
|
Reference in New Issue
Block a user