?? o_digest_config.c
字號:
/* **************************************************************************************
* Copyright (c) 2004 ZORAN Corporation, All Rights Reserved
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
* File: o_digest_config.c
*
* Description:
* ========
*
****************************************************************************************/
/***************************************************************************************
* Descriptor : oDescriptorListItem
*
* Purpose :
****************************************************************************************/
/***************************************************************************************
* Object definitions
****************************************************************************************/
/***************************************************************************************
* Descriptor : oDigestTitleDescriptor
*
* Purpose : Descriptor of digest item unsupport file text.
****************************************************************************************/
#ifndef D_CUSTOM_oUnsupportTitleText
static CONST OSD_TEXT oUnsupportTitleText = // Unsupport digest label
{ OSDR_GetFormUniStr_OsdMessage, S_UNSUPPORT_FILE};
#endif // D_CUSTOM
#ifndef D_CUSTOM_oDigestTitleDescriptor
static CONST MS_DESCRIPTOR_TEXT oDigestTitleDescriptor =
{ // MS_DESCRIPTOR_TEXT
{ // MS_DESCRIPTOR
sizeof(MSO_TEXT),
MS_NAV_NULL,
MS_ATTR_OSD_LAYER_1 | MS_ATTR_INVISIBLE, //set invisble
{
AREA_DIGEST_TITLE_X,
AREA_DIGEST_TITLE_Y,
AREA_DIGEST_TITLE_W,
AREA_DIGEST_TITLE_H
},
_DigestTexTOperation,
OTEXT_FillOSDSeg,
(UINT8*)NULL
},
(MS_X_Y_ALIGN *)&oCenterAlignToContainer,
(MS_COLOR_SET *)&oDefaultTextColorSet,
NULL,
(OSD_TEXT*)& oUnsupportTitleText,
FONT_0,
NULL,
NULL
};
#endif // D_CUSTOM
/***************************************************************************************
* Descriptor : oDescriptorDigestItem
*
* Purpose : Descriptor of digest item.
****************************************************************************************/
#define NBR_DIGEST_ITEM_CONTENTS 1
#ifndef D_CUSTOM_apDigestItemContents
static CONST MS_DESCRIPTOR* CONST apDigestItemContents[NBR_DIGEST_ITEM_CONTENTS] = {
(MS_DESCRIPTOR*)&oDigestTitleDescriptor
};
#endif //D_CUSTOM
#ifndef D_CUSTOM_oDescriptorDigestItem
static CONST MS_DESCRIPTOR_DIGEST_ITEM oDescriptorDigestItem =
{
{//MS_DESCRIPTOR
sizeof(MSO_DIGEST_ITEM),
MS_NAV_TO_ALGINED_Y |MS_NAV_CONTAINER_FOCUSABLE_NO_FOCUS_CHILD,
MS_ATTR_CONTAINER | MS_ATTR_FOCUSABLE |MS_ATTR_OSD_LAYER_1,
{
AREA_DIGEST_ITEM_X,
AREA_DIGEST_ITEM_Y,
AREA_DIGEST_ITEM_W,
AREA_DIGEST_ITEM_H
},
_DigestItemOperation,
_DigesetItemFillOsdSeg,
mpParamNull,
},
(CONST MS_DESCRIPTOR**)apDigestItemContents,
NBR_DIGEST_ITEM_CONTENTS
};
#endif // D_CUSTOM
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -