?? o_playmode_config.c
字號(hào):
},
_PlaymodeKitOperation,
VScrollListFillOSDSeg,
mpParamNull,
}, // Descriptor end
maContentsNull,
mwNbrContentsNull,
}, // Container descriptor end
(MS_DESCRIPTOR_VLIST*)&oPlaymodeKitVListDescriptor, // mpDescriptorVList
PLAYMODEKIT_SCROLL_XPADDING,
PLAYMODEKIT_SCROLL_ARROW_HEIGHT,
CIDX_8, // Text color
NULL, // Background bitmap
BMP_BG_PUSHED_1, // Scrollbar background bitmap
BMP_BG_3 // Scrollbar bitmap
};
#endif//D_CUSTOM_oPlaymodeKitDescriptor
/***************************************************************************************
* Descriptor : oProgramVListDescriptor
*
* Purpose : Descriptor of the list (MSO_VLIST) containing the Program list.
****************************************************************************************/
#ifndef D_CUSTOM_oProgramVListDescriptor
STATIC CONST MS_DESCRIPTOR_VLIST oProgramVListDescriptor =
{ // Container descriptor start
{// Descriptor start
sizeof(MSO_VLIST),
MS_NAV_CONTAINER_WRAP_UD | MS_NAV_CONTAINER_GOTO_PREV_FOCUS | MS_NAV_CONTAINER_GOTO_TOP,
MS_ATTR_CONTAINER | MS_ATTR_FOCUSABLE | MS_ATTR_OSD_LAYER_0 | MS_ATTR_VLIST_OFFSET_FIRSTITEM | MS_ATTR_VLIST_SCROLL_SINGLE_ITEM,
{
AREA_PLAYMODEKIT_X,
AREA_PLAYMODEKIT_Y,
AREA_PLAYMODEKIT_W,
AREA_PLAYMODEKIT_H
},
_ProgramVListOperation,
mpfFillOsdSegNull,
(UINT8*)&oVListParam
},// Descriptor end
maContentsNull,
mwNbrContentsNull,
};
#endif //D_CUSTOM_oProgramVListDescriptor
/***************************************************************************************
* Descriptor : oProgramListDescriptor
*
* Purpose : Descriptor of the program list.
****************************************************************************************/
#ifndef D_CUSTOM_oProgramListDescriptor
STATIC CONST MS_DESCRIPTOR_VSCROLL_LIST oProgramListDescriptor =
{
{ // Container descriptor start
{ // Descriptor start
sizeof(MSO_VSCROLL_LIST),
MS_NAV_NULL,
MS_ATTR_CONTAINER | MS_ATTR_FOCUSABLE | MS_ATTR_OSD_LAYER_1 | MS_ATTR_VSLIST_DISPLAY_BG_BMP |
MS_ATTR_VSLIST_SCROLL_ARROW | MS_ATTR_VSLIST_SCROLL_ARROW_ON_SIDE,
{
AREA_PROGRAMLIST_X,
AREA_PROGRAMLIST_Y,
AREA_PROGRAMLIST_W,
AREA_PROGRAMLIST_H
},
_ProgramKitOperation,
VScrollListFillOSDSeg,
mpParamNull,
}, // Descriptor end
maContentsNull,
mwNbrContentsNull,
}, // Container descriptor end
(MS_DESCRIPTOR_VLIST*)&oProgramVListDescriptor, // mpDescriptorVList
PLAYMODEKIT_SCROLL_XPADDING,
PLAYMODEKIT_SCROLL_ARROW_HEIGHT,
CIDX_8, // Text color
NULL, // Background bitmap
BMP_BG_PUSHED_1, // Scrollbar background bitmap
BMP_BG_3 // Scrollbar bitmap
};
#endif//D_CUSTOM_oProgramListDescriptor
/***************************************************************************************
* Descriptor : oProgramEntryText
*
* Purpose : The VCD Program Entry descriptor.
****************************************************************************************/
#ifndef D_CUSTOM_oProgramEntryText
static CONST OSD_TEXT oProgramEntryText = { _ProgramItemGetValue, 0};
#endif//D_CUSTOM_oProgramEntryText
#ifndef D_CUSTOM_oProgramEntryDescriptor
static CONST MS_DESCRIPTOR_PROGRAM_ENTRY oProgramEntryDescriptor =
{
{
sizeof(MSO_PROGRAM_ENTRY),
MS_NAV_NULL,
MS_ATTR_OSD_LAYER_0 | MS_ATTR_FOCUSABLE,
{
20, 50, 120, OPTION_HEIGHT
},
_ProgramEntryOperation,
_ProgramEntryFillOSDSeg,
mpParamNull
},
(MS_X_Y_ALIGN*)&oCenterAlignToContainer,
(MS_COLOR_SET*)&oDefaultTextColorSet,
(MS_BITMAP_SET*)&oHighlightOnlyBitmapSet,
(OSD_TEXT*)&oProgramEntryText,
FONT_0,
NULL,
NULL
};
#endif//D_CUSTOM_oProgramEntryDescriptor
/***************************************************************************************
* Descriptor : oProgramTitleEntryDescriptor
*
* Purpose : The DVD title Program Entry descriptor.
****************************************************************************************/
#ifndef D_CUSTOM_oProgramTitleEntryDescriptor
static CONST MS_DESCRIPTOR_TEXT oProgramTitleEntryDescriptor =
{
{
sizeof(MSO_TEXT),
MS_NAV_NULL,
MS_ATTR_OSD_LAYER_0 | MS_ATTR_FOCUSABLE,
{
AREA_DVD_TITLE_ENTRY_X,
0,
AREA_DVD_PROGRAM_ENTRY_W,
OPTION_HEIGHT
},
_DVDProgramTitleEntryOperation,
OTEXT_FillOSDSeg,
mpParamNull
},
(MS_X_Y_ALIGN*)&oCenterAlignToContainer,
(MS_COLOR_SET*)&oDefaultTextColorSet,
(MS_BITMAP_SET*)&oHighlightOnlyBitmapSet,
(OSD_TEXT*)&oProgramEntryText,
FONT_0,
NULL,
NULL
};
#endif//D_CUSTOM_oProgramTitleEntryDescriptor
/***************************************************************************************
* Descriptor : oProgramChapterEntryDescriptor
*
* Purpose : The DVD title Program Entry descriptor.
****************************************************************************************/
#ifndef D_CUSTOM_oProgramChapterEntryDescriptor
static CONST MS_DESCRIPTOR_TEXT oProgramChapterEntryDescriptor =
{
{
sizeof(MSO_TEXT),
MS_NAV_NULL,
MS_ATTR_OSD_LAYER_0 | MS_ATTR_FOCUSABLE,
{
AREA_DVD_CHAPTER_ENTRY_X,
0,
AREA_DVD_PROGRAM_ENTRY_W,
OPTION_HEIGHT
},
_DVDProgramChapterEntryOperation,
OTEXT_FillOSDSeg,
mpParamNull
},
(MS_X_Y_ALIGN*)&oCenterAlignToContainer,
(MS_COLOR_SET*)&oDefaultTextColorSet,
(MS_BITMAP_SET*)&oHighlightOnlyBitmapSet,
(OSD_TEXT*)&oProgramEntryText,
FONT_0,
NULL,
NULL
};
#endif//D_CUSTOM_oProgramChapterEntryDescriptor
/***************************************************************************************
* Descriptor : oDVDProgramEntryDescriptor
*
* Purpose : The DVD Program Entry descriptor.
****************************************************************************************/
#ifndef D_CUSTOM_apDVDProgramEntryContents
#define NBR_DVD_PROGRAM_ENTRY_CONTENTS 2
STATIC CONST MS_DESCRIPTOR* CONST apDVDProgramEntryContents[NBR_DVD_PROGRAM_ENTRY_CONTENTS] = {
(MS_DESCRIPTOR*)&oProgramTitleEntryDescriptor,
(MS_DESCRIPTOR*)&oProgramChapterEntryDescriptor,
};
#endif//D_CUSTOM_apDVDProgramEntryContents
#ifndef D_CUSTOM_oDVDProgramEntryDescriptor
static CONST MS_DESCRIPTOR_DVD_PROGRAM_ENTRY oDVDProgramEntryDescriptor =
{
{// MS_DESCRIPTOR_CONTAINER
{// MS_DESCRIPTOR
sizeof(MSO_DVD_PROGRAM_ENTRY),
MS_NAV_NULL,
MS_ATTR_CONTAINER | MS_ATTR_OSD_LAYER_0 | MS_ATTR_FOCUSABLE,
{
20, 50, 120, OPTION_HEIGHT
},
_DVDProgramEntryOperation,
_DVDProgramEntryFillOSDSeg,
mpParamNull
},
(CONST MS_DESCRIPTOR**)apDVDProgramEntryContents, //maContentsNull,
NBR_DVD_PROGRAM_ENTRY_CONTENTS, //mwNbrContentsNull,
},
BMP_BG_3,
CIDX_6
};
#endif//D_CUSTOM_oDVDProgramEntryDescriptor
/***************************************************************************************
* Descriptor : oPlaymodeDescriptor
*
* Purpose : Descriptor of the list (MSO_PLAYMODE) Playmode component.
****************************************************************************************/
#ifndef D_CUSTOM_apPlaymodeContents
#ifndef D_GUI_SINGLE_LINE_COMPONENT
#define NBR_PLAYMODE_CONTENTS 2
#else // D_GUI_SINGLE_LINE_COMPONENT
#define NBR_PLAYMODE_CONTENTS 1
#endif // D_GUI_SINGLE_LINE_COMPONENT
STATIC CONST MS_DESCRIPTOR* CONST apPlaymodeContents[NBR_PLAYMODE_CONTENTS] = {
#ifndef D_GUI_SINGLE_LINE_COMPONENT
(MS_DESCRIPTOR*)&oPlaymodeComponentTitleDescriptor,
#endif // D_GUI_SINGLE_LINE_COMPONENT
(MS_DESCRIPTOR*)&oPlaymodeKitDescriptor,
};
#endif//D_CUSTOM_apPlaymodeContents
#ifndef D_CUSTOM_oPlaymodeDescriptor
CONST MS_DESCRIPTOR_PLAYMODE oPlaymodeDescriptor =
{
{// MS_DESCRIPTOR_COMPONENT
{// MS_DESCRIPTOR_CONTAINER
{// MS_DESCRIPTOR
sizeof(MSO_PLAYMODE),
MS_NAV_TO_ALGINED_Y | MS_NAV_DISABLE_LR | MS_NAV_DISABLE_UD |
MS_NAV_CONTAINER_WRAP_LR | MS_NAV_CONTAINER_WRAP_UD | MS_NAV_CONTAINER_GOTO_TOP,
MS_ATTR_CONTAINER | MS_ATTR_FOCUSABLE | MS_ATTR_OSD_LAYER_2,
{
AREA_PLAYMODE_X,
AREA_PLAYMODE_Y,
AREA_PLAYMODE_W,
AREA_PLAYMODE_H
},
_PlaymodeOperation,
_PlaymodeFillOSDSeg,
mpParamNull
},
(CONST MS_DESCRIPTOR**)apPlaymodeContents, //maContentsNull,
NBR_PLAYMODE_CONTENTS, //mwNbrContentsNull,
},
(MS_DESCRIPTOR*)&oPlayModeChoiceDescriptor
},
BMP_BG_2,
CIDX_6
};
#endif//D_CUSTOM_oPlaymodeDescriptor
/***************************************************************************************
* Array : aPlayModeKit
*
* Purpose : Contains an array of pointer to descriptors of the objects that would be
* added to oPlaymodeKitVListDescriptor.
****************************************************************************************/
#ifndef D_CUSTOM_aPlayModeKit
static CONST MS_DESCRIPTOR* CONST aPlayModeKit[] = {
(MS_DESCRIPTOR*)&oPlayModeChoiceDescriptor,
(MS_DESCRIPTOR*)&oRepeatChoiceDescriptor,
(MS_DESCRIPTOR*)&oPlayProgramButtonDescriptor,
(MS_DESCRIPTOR*)&oClearProgramButtonDescriptor,
NULL // IMPORTANT : Last item must always be NULL.
};
#endif//D_CUSTOM_aPlayModeKit
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -