fsNAV_PMP.h
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:2k
源码类别:
DVD
开发平台:
C/C++
- #ifndef __fsNAV_PMP_H
- #define __fsNAV_PMP_H
- #include "types.h"
- #include "udf_167.h"
- #include "global.h"
- #include "fs96602.h"
- #include "fsGUI1.h"
- #include "psd.h"
- //------------------------------------------------
- //for icon menu GUI
- typedef struct
- {
- /* BYTE count_part;
- BYTE part_current;
- BYTE part_will;
- BYTE fs_State;
- UINT16 iso9660_dir_cnt;
- UINT16 iso9660_file_cnt;
- UINT16 dir_current;
- UINT16 file_index_in_dir; //index of all files and subdirs in a dir
- UINT16 file_count_in_dir; //number of all files and subdirs in a dir
- UINT16 file_current_in_page; //file offset in current page
- UINT16 file_page_index;
- */
- BYTE main_icon_index;
- BYTE main_icon_will;
- BYTE first_level_index;
- }FSNAVUI;
- //--------------------------------------
- //location of selected rec in main menu
- #define X_STEP 198
- #define Y_STEP 160
- #define X_LEN 150
- #define Y_LEN 128
- #define X_START (18)
- #define Y_START (14)
- #define X_END (X_START + X_LEN)
- #define Y_END (Y_START + Y_LEN)
- //info of selected rec
- #define COLOR 5
- #define LINEWIDTH 1
- #define REGION 2
- //---------------------------------------
- //defination of icon in first level menu
- #define VIDEO_ICON 0
- #define MUSIC_ICON 1
- #define PHOTO_ICON 2
- #define BROWSE_ICON 3
- #define COPY_ICON 4
- #define SETUP_ICON 5
- //---------------------------------------
- #define BLUE_DARK_Y 0x57
- #define BLUE_DARK_CRCB 0x6194
- #define GRAY_Y 0x80
- #define GRAY_CRCB 0x7882
- #define WHITE_GRAY_Y 0xb3
- #define WHITE_GRAY_CRCB 0x7882
- #define ORANGE_Y 0x9a
- #define ORANGE_CRCB 0xbb2f
- //---------------------------------------
- UINT16 HDDCardJudgeDir(INT16 iDirIndex);
- void PlayFile(DIR_REC *FileInfo);
- void SelectCopyIcon(void);
- void show_path_info(const char *s);
- void update_path_info(void);
- void osd_show_pmp_hl(BYTE index);
- void ShowItemHL(int hl_index);
- void show_copy_page(void);
- BYTE quick_browse_folder(BYTE flag);
- void select_icon(void);
- void FSGUI_DirList(UINT16 iDirIndex);
- void show_copy_select_menu(BYTE index);
- void ShowCopyingProcess(char *s);
- #endif//#ifndef __fsNAV_PMP_H