📄 menu_operation_def.h
字号:
/* **************************************************************************************
* Copyright (c) 2004 ZORAN Corporation, All Rights Reserved
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
* File: $Workfile: menu_operation_def.h $
*
* Description:
* ============
*
*
****************************************************************************************/
#ifndef _MENU_OPERATION_DEF_H_
#define _MENU_OPERATION_DEF_H_
#include "Config.h" // Global Configuration - do not remove!
#include "include\sysdefs.h"
#include "gui\menu_system\ms_operation_def.h"
#include "gui\object_class\mso_operation_def.h"
#include "GUI\Menu_system\ms_send_op.h"
#define OPERATION_CLASS_CORE OPERATION_CLASS_PROJECT1
#define OPERATION_CLASS_MSG OPERATION_CLASS_PROJECT2
#define OPERATION_CLASS_MENU OPERATION_CLASS_PROJECT3
#define MS_IS_CORE_OP(_operation_) MS_IS_CLASS_OP(_operation_, OPERATION_CLASS_CORE)
#define MS_IS_MSG_OP(_operation_) MS_IS_CLASS_OP(_operation_, OPERATION_CLASS_MSG)
///////////////////////////////////////////////////
//Messages from Core/System
enum
{
MS_OP_CORE_REFRESH_DEVICE_LIST = (OPERATION_CLASS_CORE | 0x0001), // Recieved by the UI when a device is inserted/removed.
MS_OP_CORE_INSERT_DEVICE ,
MS_OP_CORE_REMOVE_DEVICE ,
MS_OP_CORE_CACHE_FINISHED ,
#ifdef I86_USB_SUPPORT
MS_OP_CORE_UNSUPPORT_USB_DEVICE_INSERTED ,
#endif
MS_OP_CORE_RELEASE_FINISHED ,
MS_OP_CORE_ACTION_FINISHED ,
MS_OP_CORE_REFRESH_FILE_LIST ,
MS_OP_CORE_CALLBACK_OPEN_ROOT ,
MS_OP_CORE_DISPLAY_AUX_SUBTITLE ,
MS_OP_CORE_MEDIA_CHANGED , // The media type has changed.
MS_OP_CORE_PASSWORD_CHECK_REQUEST ,
MS_OP_CORE_FUPGRADE_REQUEST ,
MS_OP_CORE_START_DISPLAY_AUX_SUBTITLE ,
MS_OP_CORE_STOP_DISPLAY_AUX_SUBTITLE ,
MS_OP_CORE_SET_CDG_MENU ,
MS_OP_CORE_SET_CDG_RUNTIME_MENU ,
MS_OP_CORE_GET_FG_ACTION_ENGINE ,
MS_OP_CORE_GET_BG_ACTION_ENGINE ,
MS_OP_CORE_PASSWORD_TIME_OUT ,
MS_OP_CORE_FP_UPDATE_ERROR ,
MS_OP_CORE_UNSUPPORTED_FORMAT ,
MS_OP_CORE_DECODING_ERROR ,
MS_OP_CORE_PARTIALLY_CACHED ,
MS_OP_CORE_DIVX_AUTHORIZATION_ERROR , // DivX DRM authorization error
MS_OP_CORE_DIVX_RENTAL_EXPIRED , // DivX DRM rental expired
MS_OP_CORE_DIVX_RENTAL_CONFIRM , // DivX DRM rental confirm
MS_OP_CORE_CLOSE_DRM_MENU , // DivX close DRM rental confirm menu
#ifdef D_DIVX6_SUPPORT
MS_OP_CORE_DIVX6_ROOT_MENU_REQUEST , // DivX6 root menu request.
#endif // D_DIVX6_SUPPORT
MS_OP_CORE_CACHE_FAILED ,
MS_OP_CORE_CACHE_ABORT ,
MS_OP_CORE_HDMI_PLUG_INOUT ,
#ifdef USE_AUX_SUBTITLES
MS_OP_CORE_PLAY_DIVX_CLIP ,
#endif
#ifdef TV_GUARDIAN_ENABLE
MS_OP_CORE_TVG_ADVERTISEMENT ,
#endif // TV_GUARDIAN_ENABLE
MS_OP_CORE_GET_THUMBNAIL_POSITION ,
MS_OP_CORE_UNSUPPORTED_HD_RESOLUTION ,
MS_OP_CORE_UNSUPPORTED_PROFILE ,
#if D_SUPPORT_SACD
MS_OP_CORE_SACD_TRACK_UPDATE , // Sent by the Core when a new track begins to play.
MS_OP_CORE_SACD_AREA_CHANGED , // Sent by the Core when the HD area is changed.
MS_OP_CORE_SACD_SWITCH_LAYER , // Sent by the Core when the SACD layer is switched.
#endif // D_SUPPORT_SACD
#ifdef FTA_SUPPORT
MS_OP_CORE_FTA_SCANNING_DONE, // send by core wehn FTA scanning is finished
#endif
};
///////////////////////////////////////////////////
//
//User OPs
#include "UI_Manager\UIOP_Lib\UIOP_DEF.h"
//User OPs which don't need UICC/UIOP Handler, starts from 0x00A0 (OPERATION_CLASS_USER | 0x00a0)
#define MS_OP_RIPPING (OPERATION_CLASS_USER | 0x00a1)
///////////////////////////////////////////////////
//
enum
{
MS_OP_JUMP_TO_TRACK = (OPERATION_CLASS_MENU | 0x0001),
MS_OP_JUMP_TO_DISC_TIMEINDEX ,
MS_OP_JUMP_TO_TIMEINDEX ,
MS_OP_INTERNAL_MENU_CLOSE ,
MS_OP_BUTTON_YES ,
MS_OP_BUTTON_NO ,
MS_OP_SUBT_SELECTION_FINISHED ,
MS_OP_IS_MSG_DISPLAYED ,
MS_OP_OPEN_MENU ,
MS_OP_CLOSE_MENU ,
MS_OP_CLOSE_CHOICE ,
MS_OP_DIVX_DRM_STOP ,
MS_OP_MENU_SWITCH_RESUME_PLAY ,
MS_OP_MENU_SWITCH_RESUME_STOP ,
MS_OP_PLAY_DIVX_SELECTION ,
MS_OP_MENU_ON_EJECT ,
MS_OP_MENU_STOP_DISPLAY_AUX_SUBTITLE ,
MS_OP_MENU_PLAY ,
MS_OP_MENU_FOCUS_SET ,
MS_OP_MENU_SELECT_DEVICE ,
MS_OP_MENU_CLIPS_IS_DEVICE_PRESENT ,
MS_OP_MENU_ENABLE_USE_OP ,
MS_OP_MENU_SET_REQUESTED_DEVICE ,
#ifdef TV_GUARDIAN_ENABLE
MS_OP_MENU_TVG_ADVERTISEMENT ,
MS_OP_MENU_TVG_ACTIVATIVATE ,
MS_OP_MENU_TVG_SETUP ,
MS_OP_MENU_TVG_SETUP_HELP ,
#endif//TV_GUARDIAN_ENABLE
MS_OP_MENU_GET_ITEM_INDEX ,
MS_OP_MENU_BOOK_MARK_TO_PLAY ,
MS_OP_MENU_BOOK_MARK_TO_SET ,
#ifdef D_GUI_SINGLE_LINE_COMPONENT
MS_OP_MENU_CLIPS_SET_LAYOUT_RUNTIME ,
#endif //D_GUI_SINGLE_LINE_COMPONENT
#ifdef FTA_SUPPORT
MS_OP_FTA_SELECTION_FINISHED ,
#endif // FTA_SUPPORT
MS_OP_MENU_CLOSE_POPUP_COMPONENT ,
#if D_SUPPORT_SACD
MS_OP_MENU_SWITCH_SACD_LAYER ,
#endif // D_SUPPORT_SACD
MS_OP_MENU_SET_FOCUS_TO_INDEX ,
MS_OP_MENU_GET_ITEM_ACCESS ,
MS_OP_MENU_GET_ACCESS_TOTAL_ITEMS ,
MS_OP_MENU_GET_ITEM_PLAYED_CURRENT ,
MS_OP_MENU_GET_ITEM_PLAYED_TOTAL ,
MS_OP_MENU_ITEM_ACCESS_TIMEOUT ,
MS_OP_MENU_ITEM_ACCESS_INVALID_DIGITAL_INPUT , //add by Tranmin
#ifdef DVD_AUDIO_SUPPORT
MS_OP_MENU_DVDA_REQUEST_PASSWORD,
MS_OP_MENU_DVDA_PENDING_PLAY_SET,
MS_OP_MENU_DVDA_PENDING_PLAY_RUN,
MS_OP_MENU_DVDA_USER_PASSWORD_SET,
MS_OP_MENU_DVDA_USER_PASSWORD_GET,
#endif
#ifdef D_CD_GRAPHIC_ENABLED
MS_OP_MENU_CDG_PLAYBACK_STOP,
MS_OP_MENU_CDG_PLAYBACK_RESTART,
#endif//D_CD_GRAPHIC_ENABLED
#ifdef FTA_SUPPORT
MS_OP_MENU_SET_FTA_DISPLAY_TIME_TO_INFINIT,
#endif
};
///////////////////////////////////////////////////
//Operations to request information display to the user
enum
{
MS_OP_MSG_MUTE = (OPERATION_CLASS_MSG | 0x0001),
MS_OP_MSG_PLAYSTATE , // Display the playstate supplied as the parameter
MS_OP_MSG_PLAYSTATE_PLAY , // Display the "play" indicator
MS_OP_MSG_PLAYSTATE_RESUME_PLAY , // Display the "resume play" indicator
MS_OP_MSG_PLAYSTATE_STOP , // Display the "stop" indicator
MS_OP_MSG_PLAYSTATE_STOP_RESUME , // Display the "resume stop" indicator
MS_OP_MSG_PLAYSTATE_PAUSE , // Display the "pause" indicator
MS_OP_MSG_PLAYSTATE_SCAN , // Display the "fast forward" indicator
MS_OP_MSG_PLAYSTATE_SLOW , // Display the "slow forward" indicator
MS_OP_MSG_PLAYSTATE_NEXT , // Display the "next" indicator
MS_OP_MSG_PLAYSTATE_PREV , // Display the "previous" indicator
MS_OP_MSG_PLAYSTATE_PREV_CHAPTER , // Display the MP4 "prev chapter"
MS_OP_MSG_PLAYSTATE_NEXT_CHAPTER , // Display the MP4 "next chapter"
MS_OP_MSG_PLAYSTATE_NEXT_INDEX , // Display the DVDA "next page" indicator
MS_OP_MSG_PLAYSTATE_PREV_INDEX , // Display the DVDA "previous page" indicator
MS_OP_MSG_PLAYSTATE_LOADING_FILE , // Display the "file loading" indicator
MS_OP_MSG_PLAYSTATE_STEP , // Display the "step" indicator
MS_OP_MSG_PLAYSTATE_RETURN , // Display the "return" indicator.
MS_OP_MSG_PLAYSTATE_ROOT_MENU , // Display the "Root Menu" indicatior.
MS_OP_MSG_PLAYSTATE_TITLE_MENU , // Display the "Title Menu" indicatior.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -