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

📄 viporosdfont.h

📁 ct952 source code use for Digital Frame Photo
💻 H
📖 第 1 页 / 共 2 页
字号:
#ifndef  _DVD_OSDFONT_H
#define  _DVD_OSDFONT_H

#define USE_CHAR_SPACE
#define USE_CHAR_0
#define USE_CHAR_1
#define USE_CHAR_2
#define USE_CHAR_3
#define USE_CHAR_4
#define USE_CHAR_5
#define USE_CHAR_6
#define USE_CHAR_7
#define USE_CHAR_8
#define USE_CHAR_9

#define USE_CHAR_A
#define USE_CHAR_B
#define USE_CHAR_C
//#define USE_CHAR_D
#define USE_CHAR_E
//#define USE_CHAR_F
#define USE_CHAR_G
#define USE_CHAR_H
#define USE_CHAR_I
//#define USE_CHAR_J
//#define USE_CHAR_K
#define USE_CHAR_L
//#define USE_CHAR_M
#define USE_CHAR_N
#define USE_CHAR_O
//#define USE_CHAR_P
//#define USE_CHAR_Q
#define USE_CHAR_R
#define USE_CHAR_S
#define USE_CHAR_T
#define USE_CHAR_U
#define USE_CHAR_V
#define USE_CHAR_W
//#define USE_CHAR_X
#define USE_CHAR_Y
//#define USE_CHAR_Z

#define USE_CHAR_HBARL
#define USE_CHAR_HBAR6
//#define USE_CHAR_HBAR5
//#define USE_CHAR_HBAR4
//#define USE_CHAR_HBAR3
//#define USE_CHAR_HBAR2
//#define USE_CHAR_HBAR1
#define USE_CHAR_HBAR0
#define USE_CHAR_HBARR

//#define USE_CHAR_VOL_L
//#define USE_CHAR_VOL_R
#define USE_CHAR_CON_L
#define USE_CHAR_CON_R
#define USE_CHAR_BRI_L
#define USE_CHAR_BRI_R
#define USE_CHAR_HUE_L
#define USE_CHAR_HUE_R
//#define USE_CHAR_COL_L
//#define USE_CHAR_COL_R
//#define USE_CHAR_SHA_L
//#define USE_CHAR_SHA_R
//#define USE_CHAR_RES_L
//#define USE_CHAR_RES_R

typedef enum
{
#ifdef USE_CHAR_SPACE
	_VIPOR__,	    // the LCD video format is CVBS
#endif	
#ifdef 	USE_CHAR_0
	_VIPOR_0,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_1
	_VIPOR_1,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_2
	_VIPOR_2,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_3
	_VIPOR_3,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_4
	_VIPOR_4,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_5
	_VIPOR_5,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_6
	_VIPOR_6,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_7
	_VIPOR_7,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_8
	_VIPOR_8,	// the LCD video format is SVIDEO
#endif	
#ifdef 	USE_CHAR_9
	_VIPOR_9,	// the LCD video format is SVIDEO
#endif	

#ifdef USE_CHAR_HBARL
	_VIPOR_HBarL,
#endif
#ifdef USE_CHAR_HBAR6
	_VIPOR_HBar6,
#endif
#ifdef USE_CHAR_HBAR5
	_VIPOR_HBar5,
#endif
#ifdef USE_CHAR_HBAR4
	_VIPOR_HBar4,
#endif
#ifdef USE_CHAR_HBAR3
	_VIPOR_HBar3,
#endif
#ifdef USE_CHAR_HBAR2
	_VIPOR_HBar2,
#endif
#ifdef USE_CHAR_HBAR1
	_VIPOR_HBar1,
#endif
#ifdef USE_CHAR_HBAR0
	_VIPOR_HBar0,
#endif
#ifdef USE_CHAR_HBARR
	_VIPOR_HBarR,
#endif

#ifdef USE_CHAR_VOL_L
	_VIPOR_VOL_L,
#endif	
#ifdef USE_CHAR_VOL_R
	_VIPOR_VOL_R,
#endif	
#ifdef USE_CHAR_CON_L
	_VIPOR_CON_L,
#endif	
#ifdef USE_CHAR_CON_R
	_VIPOR_CON_R,
#endif	
#ifdef USE_CHAR_BRI_L
	_VIPOR_BRI_L,
#endif	
#ifdef USE_CHAR_BRI_R
	_VIPOR_BRI_R,
#endif	
#ifdef USE_CHAR_HUE_L
	_VIPOR_HUE_L,
#endif	
#ifdef USE_CHAR_HUE_R
	_VIPOR_HUE_R,
#endif	
#ifdef USE_CHAR_COL_L
	_VIPOR_COL_L,
#endif	
#ifdef USE_CHAR_COL_R
	_VIPOR_COL_R,
#endif	
#ifdef USE_CHAR_SHA_L
	_VIPOR_SHA_L,
#endif	
#ifdef USE_CHAR_SHA_R
	_VIPOR_SHA_R,
#endif	
#ifdef USE_CHAR_RES_L
	_VIPOR_RES_L,
#endif	
#ifdef USE_CHAR_SHA_R
	_VIPOR_RES_R,
#endif	

#ifdef USE_CHAR_A
	_VIPOR_A,
#endif
#ifdef USE_CHAR_B
	_VIPOR_B,
#endif
#ifdef USE_CHAR_C
	_VIPOR_C,
#endif
#ifdef USE_CHAR_D
	_VIPOR_D,
#endif
#ifdef USE_CHAR_E
	_VIPOR_E,
#endif
#ifdef USE_CHAR_F
	_VIPOR_F,
#endif
#ifdef USE_CHAR_G
	_VIPOR_G,
#endif
#ifdef USE_CHAR_H
	_VIPOR_H,
#endif
#ifdef USE_CHAR_I
	_VIPOR_I,
#endif
#ifdef USE_CHAR_J
	_VIPOR_J,
#endif
#ifdef USE_CHAR_K
	_VIPOR_K,
#endif
#ifdef USE_CHAR_L
	_VIPOR_L,
#endif
#ifdef USE_CHAR_M
	_VIPOR_M,
#endif
#ifdef USE_CHAR_N
	_VIPOR_N,
#endif
#ifdef USE_CHAR_O
	_VIPOR_O,
#endif
#ifdef USE_CHAR_P
	_VIPOR_P,
#endif
#ifdef USE_CHAR_Q
	_VIPOR_Q,
#endif
#ifdef USE_CHAR_R
	_VIPOR_R,
#endif
#ifdef USE_CHAR_S
	_VIPOR_S,
#endif
#ifdef USE_CHAR_T
	_VIPOR_T,
#endif
#ifdef USE_CHAR_U
	_VIPOR_U,
#endif
#ifdef USE_CHAR_V
	_VIPOR_V,
#endif
#ifdef USE_CHAR_W
	_VIPOR_W,
#endif
#ifdef USE_CHAR_X
	_VIPOR_X,
#endif
#ifdef USE_CHAR_Y
	_VIPOR_Y,
#endif
#ifdef USE_CHAR_Z
	_VIPOR_Z,
#endif
 _VIPOR_MINUS,
 _VIPOR_COLON,
 _VIPOR_EOF=0xFD,
 _VIPOR_ESC=0xFE,
 _VIPOR_SP=0xFF

}EN_VP77_OSD_FONT_ID;

//=================================  
//	OSD color
#define  VIPOR_OSD_BLACK            (0x00<<1)
#define  VIPOR_OSD_BLUE             (0x02<<1)
#define  VIPOR_OSD_GREEN            (0x04<<1)
#define  VIPOR_OSD_CYAN             (0x06<<1)
#define  VIPOR_OSD_RED              (0x08<<1)
#define  VIPOR_OSD_MAGENTA          (0x0A<<1)
#define  VIPOR_OSD_YELLOW           (0x0C<<1)
#define  VIPOR_OSD_WHITE            (0x0E<<1)

BYTE code OsdFontData[] =
{  /* 24 Bytes in 1 font */
#ifdef USE_CHAR_SPACE
   // Font 000,0x000
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
// 000             
#endif

#ifdef USE_CHAR_0
   // Font 001,0x001
   0x00,0x00,0x00,0x0F,0x01,0xF8,0x30,0xC3,
   0x0C,0x30,0xC3,0x0C,0x30,0xC3,0x0C,0x30,
   0xC3,0x0C,0x1F,0x80,0xF0,0x00,0x00,0x00,
// 000             
// 000             
// 0F0     ****    
// 1F8    ******   
// 30C   **    **  
// 30C   **    **  
// 30C   **    **  
// 30C   **    **  
// 30C   **    **  
// 30C   **    **  
// 30C   **    **  
// 30C   **    **  
// 1F8    ******   
// 0F0     ****    
// 000             
// 000             
#endif

#ifdef USE_CHAR_1
   // Font 002,0x002
   0x00,0x00,0x00,0x06,0x00,0xE0,0x1E,0x00,
   0x60,0x06,0x00,0x60,0x06,0x00,0x60,0x06,
   0x00,0x60,0x06,0x00,0x60,0x00,0x00,0x00,
// 000             
// 000             
// 060      **     
// 0E0     ***     
// 1E0    ****     
// 060      **     
// 060      **     
// 060      **     
// 060      **     
// 060      **     
// 060      **     
// 060      **     
// 060      **     
// 060      **     
// 000             
// 000             
#endif

#ifdef USE_CHAR_2
   // Font 003,0x003
   0x00,0x00,0x00,0x0F,0x01,0xF8,0x30,0xC3,
   0x0C,0x00,0xC0,0x0C,0x01,0x80,0x30,0x06,
   0x00,0xC0,0x1F,0xC3,0xFC,0x00,0x00,0x00,
// 000             
// 000             
// 0F0     ****    
// 1F8    ******   
// 30C   **    **  
// 30C   **    **  
// 00C         **  
// 00C         **  
// 018        **   
// 030       **    
// 060      **     
// 0C0     **      
// 1FC    *******  
// 3FC   ********  
// 000             
// 000             
#endif

#ifdef USE_CHAR_3
   // Font 004,0x004
   0x00,0x00,0x00,0x1F,0x83,0xFC,0x30,0xC0,
   0x0C,0x00,0xC0,0x7C,0x07,0x80,0x0C,0x00,
   0xC3,0x0C,0x3F,0xC1,0xF8,0x00,0x00,0x00,
// 000             
// 000             
// 1F8    ******   
// 3FC   ********  
// 30C   **    **  
// 00C         **  
// 00C         **  
// 07C      *****  
// 078      ****   
// 00C         **  
// 00C         **  
// 30C   **    **  
// 3FC   ********  
// 1F8    ******   
// 000             
// 000             
#endif

#ifdef USE_CHAR_4
   // Font 005,0x005
   0x00,0x00,0x00,0x01,0x80,0x38,0x07,0x80,
   0xD8,0x19,0x83,0x18,0x31,0x83,0x18,0x3F,
   0xC3,0xFC,0x01,0x80,0x18,0x00,0x00,0x00,
// 000             
// 000             
// 018        **   
// 038       ***   
// 078      ****   
// 0D8     ** **   
// 198    **  **   
// 318   **   **   
// 318   **   **   
// 318   **   **   
// 3FC   ********  
// 3FC   ********  
// 018        **   
// 018        **   
// 000             
// 000             
#endif

#ifdef USE_CHAR_5
   // Font 006,0x006
   0x00,0x00,0x00,0x3F,0xC3,0xFC,0x30,0x03,
   0x00,0x3F,0x83,0xFC,0x00,0xC0,0x0C,0x00,
   0xC3,0x0C,0x3F,0xC1,0xF8,0x00,0x00,0x00,
// 000             
// 000             
// 3FC   ********  
// 3FC   ********  
// 300   **        
// 300   **        
// 3F8   *******   
// 3FC   ********  
// 00C         **  
// 00C         **  
// 00C         **  
// 30C   **    **  
// 3FC   ********  
// 1F8    ******   
// 000             
// 000             
#endif

#ifdef USE_CHAR_6
   // Font 007,0x007
   0x00,0x00,0x00,0x1F,0x81,0xFC,0x30,0xC3,
   0x00,0x30,0x03,0xF8,0x3F,0x83,0x0C,0x30,
   0xC3,0x0C,0x3F,0xC1,0xF8,0x00,0x00,0x00,
// 000             
// 000             

⌨️ 快捷键说明

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