⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup.c

📁 代码有点长,需细心阅读,仅供影音视听类产品的开发人员参考
💻 C
字号:
#include "global.h"
#include "osd.h"
#include "func.h"
#include "ircmd.h"
#include "vpp.h"
#include "auctrl.h"
#include "pcm.h"
#include "osdutil.h"

#ifdef IR_SETUP_MENU_ON
//--------DEBUG MESSAGE--------//
//#define   MONE_SETUP   
//#define TEST_OSD_FONTS 
BYTE    /*index_x = 0, */index_y = C_FIRST_TIME;
UINT8   id_item, id_cat, sel, page;
UINT8   i, j, md;
UINT8   arrow_pos = 0;
 
#if SUPPORT_OSD

#if CONFIG==CONFIG_COMBO_SVCD
#define MAX_SETUP_PAGE  6
#define MAX_PAGE_ITEM   7               //old:6
#define MAX_ITEM_SEL    9               //old:8
#define MIN_ITEM_SEL    2
#define MAX_ITEM_LINE   6               //old:5
#else
#define MAX_SETUP_PAGE  7
#define MAX_PAGE_ITEM   5               //6 //charles 2002/10/2 modify
#define MAX_ITEM_SEL    9               //old:8
#define MIN_ITEM_SEL    2
#define MAX_ITEM_LINE   4
#endif






enum
{
    SET_NE = 0,                                     //none
    SET_BS = 0x1,                                   //root pages
    SET_SH_FUNC = 0x2,                      //execute shift function
    SET_SH = 0x3,                                   //shift only(volume/echo,user defined EQ,previous page)
    SET_SHOW = 0x4,                             //show page title
    SET_SYS = 0x5,                              //get system status
    SET_EQ = 0x6,                                   //display EQ
    SET_ARROW = 0x7,                            //display ARROW_UP
    //SET_NM=0x2,//show number
};

#if CONFIG==CONFIG_COMBO_SVCD
#define MAIN_PAGE     0                 //腞羘禬

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -