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

📄 osd_font.h

📁 一个LCD TV的源程序, 用的是realtek的IC
💻 H
字号:
/*********************************************************************

      COPYRIGHT  (C)  Himax Technologies, Inc.

      File name     : OSD_FONT.h

      Description   : Declare OSD Color Palettes & Fonts' Data

      Author        : Nice

      Create date   : 2004/10/18

      Modifications :
*********************************************************************/

#ifndef _OSD_FONT_H
#define _OSD_FONT_H

/******************* External Function Process  *********************/

#undef EXTERN

#ifdef _OSD_C
    #define EXTERN
#else
    #define EXTERN extern
#endif
/********************************************************************/

/**************** OSD Look Up Table *********************************/

EXTERN Byte code byOsdColorTbl[32*3] =
{
    0x00,0x00,0x00,       // R G B  Black Screen 	0
    0xff,0x00,0x00,       // R G B  Red  			1
    0x00,0xff,0x00,       // R G B  Green   		2
    0x00,0x00,0xff,       // R G B  Blue  			3
    0xff,0x00,0xff,       // R G B  Magenta     	4
    0xff,0xff,0x00,       // R G B  Yellow 			5
    0x00,0xff,0xff,       // R G B  Cyan   			6
    0xff,0xff,0xff,    	  // R G B  White			7
    0x7f,0x7f,0x7f,       // R G B  Dark-Gray		8
    0x00,0x00,0x7f,       // R G B  Dark-blue       9
    0x00,0x7f,0x00,       // R G B  Dark-green  	10
    0x7f,0x00,0x00,       // R G B  Dark-red		11
    0x7F,0x7f,0x00,       // R G B  Dark-yellow r+g 12
    0x00,0x7f,0x7f,       // R G B  Dark-cyan   g+b	13
    0x7f,0x00,0x7f,       // R G B  Dark-purple r+b	14
    0xFF,0xFF,0xFF,       // R G B  Light-Gray  	15

    0x80,0x00,0xFF,       // R G B                	16
    0x2f,0x80,0x00,       // R G B    			    17
    0x00,0x8e,0xa8,       // R G B     			    18
    0x00,0xff,0x80,       // R G B    			    19
    0xff,0xC1,0x00,       // R G B      			20
    0xff,0xff,0xC1,       // R G B   			    21
    0x7d,0x81,0xff,       // R G B     			    22
    0xff,0x88,0xff,    	  // R G B  			    23
    0x7f,0x7f,0x7f,       // R G B  		        24
    0xC1,0x00,0xC1,       // R G B                  25
    0x00,0x7f,0xC1,       // R G B      	        26
    0x7f,0xC1,0x00,       // R G B  		        27
    0x7F,0x7f,0x00,       // R G B                  28
    0xC1,0x7f,0x7f,       // R G B     	            29
    0x7f,0x80,0x7f,       // R G B   	            30
    0xC1,0xC1,0xC1,       // R G B   	            31
};

/**************** OSD Number Count Table *********************************
 そΑ:
 Mono Font Address = Mono Fonts x 1
 2-bits Color address = (Mono fonts 

⌨️ 快捷键说明

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