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

📄 uidraw.c

📁 TFT 屏驱动IC源码头TFT 屏驱动IC源码
💻 C
📖 第 1 页 / 共 2 页
字号:
#include "Common.h"
#include "Global.h"
#include "ICControl.h"	
#include "System.h"
#include "Timer0.h"
#include "TWICreg.h"
#include "OSD1_Define.h"
#include "OSD1CSL.h"
#include "OSD2_Define.h"
#include "OSD2CSL.h"	  
#include "E_OSDString.H"
#include "IconJigsaw.h"
#include "UIDraw.h"
#include "FONT_INDEX.H"

//	void Show_Menu1_ColorAdj(uCHAR ItemNow)
//	{							
//	//Draw OSD1
//	   ItemNow=1;
//	//Draw OSD2
//	
//	}

//	void Show_Menu1_ItemAdjNum(uCHAR ItemNow)
//	{
//	   ItemNow=1;
//	}
void Show_Demo_Page1()
{
	EX0 = 0;	// Disable Externel Interrup 0	
	ClosePanel(0, 0x80, 0x80);
	ShowDialogPage( );
	OSD1Enable();
	OSD2Enable();
	OSD2Menu1Enable();
	EX0 = 1;	// Enable Externel Interrup 0
}
void Show_Demo_Page()
{
	EX0 = 0;	// Disable Externel Interrup 0	
	ClosePanel(0, 0x80, 0x80);
	
#ifdef PICTURECDPage
	ShowPictureCDPage();
#endif
	OSD1Enable();
	OSD2Enable();
	OSD2Menu1Enable();
	
	twdDelay(50000);
	twdDelay(50000);
	
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#ifdef AllOSD1Font
	ShowOSD1Font();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif	
#ifdef Warning1Page
	ShowWarning1Page();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef DVDMenuPage
	ShowDVDMenuPage();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef Warning3Page
	ShowWarning3Page();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef QueryPage
	ShowQueryPage();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef DVD1Page
	ShowDVD1Page();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef AnglePage
	ShowAnglePage();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef DialogPage
	ShowDialogPage();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef AudioFreqPage
	ShowAudioFreqPage();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef MenuPage3
	ShowMenuPage3();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
#ifdef MenuPage3
	OSD2ShowAllFont();
	twdDelay(50000);
	twdDelay(50000);
	OSD2ClearMenu(1);
	OSD1ClearMenu(BGND_COLOR_TRANSPERANT|FGND_COLOR_TRANSPERANT);
#endif
	
	EX0 = 1;	// Enable Externel Interrup 0
}
#ifdef AllOSD1Font
void ShowOSD1Font(void)
{
	uCHAR i,j;
	
//		OSD1SetLineAttribute(2,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);
	for(j = 0; j < 6; j++)
	{
		for(i = 0; i < 40; i++)
			OSD1PutChar(i+40*j,i,2+j,BGND_COLOR_TRANSPERANT|FGND_COLOR_PINK,0);
	}
}
#endif
#ifdef Warning1Page
void ShowWarning1Page(void)
{
	uCHAR i;
	
//		OSD1SetLineAttribute(5,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iCAUTION,17,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_PINK,OSD_LENGTH,0);
    for(i = 0; i<8; i++)
    {
		OSD1PutChar(0x0B5+i,7+i,6,BGND_COLOR_TRANSPERANT|FGND_COLOR_PINK,0);
    }
	OSD1DrawRect(6,3,28,10,BGND_COLOR_TRANSPERANT|FGND_COLOR_GRAYEST);
	OSD2ShowFuncBtn1(25,11,3,OSD2BGNDColor_TRANSPRENT);
	OSD1ShowLine(iOK,27,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_YELLOW,OSD_LENGTH,0);	
}
#endif
#ifdef MenuPage3
void ShowMenuPage3(void)
{
	OSD2DrawBackgroundwithBorder(5,13,30,1,OSD2BGNDColor_5,2);
	OSD2Show4BPIcon(Icon_CDOperation,8,13,0,0,0,1,OSD2BGNDColor_5);
	
//		OSD1SetLineAttribute(14,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iReadingFormat,11,14,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);	

}
#endif


#ifdef Warning3Page
void ShowWarning3Page(void)
{
	uCHAR j;
    DrawTitleBar();	
//		OSD1SetLineAttribute(1,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);//0x82
	OSD1ShowLine(i_BTN_DVD_V,2,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(i_TITLE,8,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1ShowLine(i_CHAPTER,15,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);	
	OSD1ShowLine(i_TIME,28,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);	
	OSD1ShowLine(i_Random,6,2,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);	
	
//		OSD1SetLineAttribute(5,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iATTENTION,17,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_PINK,OSD_LENGTH,0);
    for(j = 0; j < 8; j++)
		OSD2ShowFuncBtn1(0+5*j,17,3,OSD2BGNDColor_TRANSPRENT);
}
#endif
#ifdef DVDMenuPage
void ShowDVDMenuPage(void)
{
	uCHAR i,j;
    DrawTitleBar();	
	OSD1ShowLine(i_BTN_DVD_V,2,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(i_TITLE,6,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1ShowLine(i_CHAPTER,15,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);	
	OSD1ShowLine(i_TIME,28,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);	
	OSD1ShowLine(i_Random,6,2,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	
	OSD1SetLineAttribute(3,RGAP_BG|RGAP_8|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iANGLE,33,3,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iREPEAT,33,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iCHANNEL,33,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iSTITLE,33,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iSEARCH,33,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iTITLE,33,13,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iMENU,33,15,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);

	OSD1ShowLine(i_BTN_DISP,22,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(i_BTN_AUDIO,27,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(i_BTN_AMENU,37,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_btn_pause,3,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_btn_rec,8,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_btn_last,13,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_btn_next,18,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_btn_zoom,33,17,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
    

//-----------OSD2	
	OSD2Show4BPIcon(Icon_Btn_Unit1_LU,31,3,0,0,0,1,OSD2BGNDColor_7);
	OSD2Show4BPIcon(Icon_Btn_Unit2_LD,31,4,0,0,0,1,OSD2BGNDColor_7);
    for(j = 0; j < 6; j++)
    {
		OSD2Show4BPIcon(Icon_Btn_Unit_M,32+j,3,0,0,0,1,OSD2BGNDColor_7);
    }
	OSD2Show4BPIcon(Icon_Btn_Unit1_RU,38,3+2*i,0,0,0,1,OSD2BGNDColor_7);
	OSD2Show4BPIcon(Icon_Btn_Unit2_RD,38,4+2*i,0,0,0,1,OSD2BGNDColor_7);	
	
    for(i = 0; i < 3; i++)
    {
		OSD2Show4BPIcon(Icon_Btn_Unit2_LU,31,5+2*i,0,0,0,1,OSD2BGNDColor_7);
		OSD2Show4BPIcon(Icon_Btn_Unit2_LD,31,6+2*i,0,0,0,1,OSD2BGNDColor_7);
	    for(j = 0; j < 6; j++)
	    {
			OSD2Show4BPIcon(Icon_Btn_Unit_M,32+j,5+2*i,0,0,0,1,OSD2BGNDColor_7);
	    }
		OSD2Show4BPIcon(Icon_Btn_Unit2_RU,38,5+2*i,0,0,0,1,OSD2BGNDColor_7);
		OSD2Show4BPIcon(Icon_Btn_Unit2_RD,38,6+2*i,0,0,0,1,OSD2BGNDColor_7);
    }
	OSD2Show4BPIcon(Icon_Btn_Unit2_LU,31,11,0,0,0,1,OSD2BGNDColor_6);
	OSD2Show4BPIcon(Icon_Btn_Unit2_LD,31,12,0,0,0,1,OSD2BGNDColor_6);
    for(j = 0; j < 7; j++)
    {
		OSD2Show4BPIcon(Icon_Btn_Unit_M,32+j,11,0,0,0,1,OSD2BGNDColor_6);
    }
	OSD2Show4BPIcon(Icon_Btn_Unit2_RU,38,11,0,0,0,1,OSD2BGNDColor_6);
	OSD2Show4BPIcon(Icon_Btn_Unit2_RD,38,12,0,0,0,1,OSD2BGNDColor_6);	

	OSD2Show4BPIcon(Icon_Btn_Unit2_LU,31,13,0,0,0,1,OSD2BGNDColor_7);
	OSD2Show4BPIcon(Icon_Btn_Unit2_LD,31,14,0,0,0,1,OSD2BGNDColor_7);
    for(j = 0; j < 6; j++)
    {
		OSD2Show4BPIcon(Icon_Btn_Unit_M,32+j,13,0,0,0,1,OSD2BGNDColor_7);
    }
	OSD2Show4BPIcon(Icon_Btn_Unit2_RU,38,13,0,0,0,1,OSD2BGNDColor_7);
	OSD2Show4BPIcon(Icon_Btn_Unit2_RD,38,14,0,0,0,1,OSD2BGNDColor_7);

	OSD2Show4BPIcon(Icon_Btn_Unit2_LU,31,15,0,0,0,1,OSD2BGNDColor_7);
	OSD2Show4BPIcon(Icon_Btn_Unit1_LD,31,16,0,0,0,1,OSD2BGNDColor_7);
    for(j = 0; j < 6; j++)
    {
		OSD2Show4BPIcon(Icon_Btn_Unit_M,32+j,15,0,0,0,1,OSD2BGNDColor_7);
    }
	OSD2Show4BPIcon(Icon_Btn_Unit2_RU,38,15,0,0,0,1,OSD2BGNDColor_7);
	OSD2Show4BPIcon(Icon_Btn_Unit2_RD,38,16,0,0,0,1,OSD2BGNDColor_7);
	
    for(j = 0; j < 6; j++)
		OSD2ShowFuncBtn1(0+5*j,17,3,OSD2BGNDColor_TRANSPRENT);

	OSD2Show4BPIcon(IconFuncBtnUnit1,30,17,0,0,0,1,OSD2BGNDColor_TRANSPRENT);
	for(j = 0; j < 3; j++)
		OSD2Show4BPIcon(IconFuncBtnUnit2,31+j,17,0,0,0,1,OSD2BGNDColor_TRANSPRENT);	
	OSD2Show4BPIcon(Icon_Btn_Special3,34,17,0,0,0,1,OSD2BGNDColor_TRANSPRENT);
	OSD2Show4BPIcon(IconFuncBtn_RD,34,18,0,0,0,1,OSD2BGNDColor_TRANSPRENT);

	OSD2Show4BPIcon(Icon_Btn_Special5,35,17,0,0,0,1,OSD2BGNDColor_TRANSPRENT);
	OSD2Show4BPIcon(Icon_Btn_Special6,35,18,0,0,0,1,OSD2BGNDColor_TRANSPRENT);
	for(j = 0; j < 3; j++)
	{
		OSD2Show4BPIcon(Icon_Btn_Special7,36+j,17,0,0,0,1,OSD2BGNDColor_TRANSPRENT);	
		OSD2Show4BPIcon(Icon_Btn_Special8,36+j,18,0,0,0,1,OSD2BGNDColor_TRANSPRENT);	
	}
	OSD2Show4BPIcon(Icon_Btn_Special1,39,17,0,0,0,1,OSD2BGNDColor_TRANSPRENT);
	OSD2Show4BPIcon(Icon_Btn_Special2,39,18,0,0,0,1,OSD2BGNDColor_TRANSPRENT);	
}
#endif
#ifdef DialogPage
void ShowDialogPage(void)
{
	uCHAR i,j;
	
	DrawTitleBar();
	OSD2DrawBackgroundwithBorder(5,4,28,11,OSD2BGNDColor_5,1);
	
    for(j = 0; j < 3; j++)
    {
		OSD2Show4BPIcon(BtnTextBarUpUnitStart,12,5+2*j,0,0,0,1,OSD2BGNDColor_6);
		OSD2Show4BPIcon(BtnTextBarUpUnitEnd,19,5+2*j,0,0,0,1,OSD2BGNDColor_6);
		OSD2Show4BPIcon(BtnTextBarDownUnitStart,12,6+2*j,0,0,0,1,OSD2BGNDColor_6);
		OSD2Show4BPIcon(BtnTextBarDownUnitEnd,19,6+2*j,0,0,0,1,OSD2BGNDColor_6);
	
	    for(i = 0; i < 6; i++)
	    {
			OSD2Show4BPIcon(BtnTextBarUpUnitMid,13+i,5+2*j,0,0,0,1,OSD2BGNDColor_6);
			OSD2Show4BPIcon(BtnTextBarDownUnitMid,13+i,6+2*j,0,0,0,1,OSD2BGNDColor_6);
	    }
    }
	
    for(j = 0; j < 4; j++)
    {
	    for(i = 0; i < 3; i++)
			OSD2ShowFuncBtn1(21+4*i,5+2*j,2,OSD2BGNDColor_5);
    }
	
    for(i = 0; i < 2; i++)
		OSD2ShowFuncBtn1(13+6*i,13,3,OSD2BGNDColor_5);
	
	OSD1SetLineAttribute(0,RGAP_BG|RGAP_8|Char_Height_Single|Char_Width_Single);	
	OSD1ShowLine(iTITLE,8,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1PutChar(_underline,13,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);
	OSD1PutChar(_underline,14,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);
	OSD1ShowLine(iTitlepara,15,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_1,23,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_2,27,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_3,31,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	
	OSD1ShowLine(iChapter,6,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1ShowLine(iChapterpara,13,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_4,23,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_5,27,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_6,31,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);

	OSD1ShowLine(iTime,9,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1ShowLine(iTimepara,13,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_7,23,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_8,27,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1PutChar(_9,31,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);

	OSD1ShowLine(i_CLEAR,23,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1ShowLine(i_ENTER,27,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_0,27,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);	

	OSD1ShowLine(iOK,15,13,BGND_COLOR_TRANSPERANT|FGND_COLOR_YELLOW,OSD_LENGTH,0);
	OSD1ShowLine(i_CANCEL,20,13,BGND_COLOR_TRANSPERANT|FGND_COLOR_YELLOW,OSD_LENGTH,0); 

	
}
#endif
#ifdef PICTURECDPage
void ShowPictureCDPage(void)
{
	uCHAR i,j;
	
//		OSD1SetLineAttribute(1,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);//0x82
	OSD1ShowLine(iPICTURE_CD,2,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iFOLDERS,8,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	OSD1ShowLine(iFILES,20,0,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	
//		OSD1SetLineAttribute(3,RGAP_BG|RGAP_8|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iPICTURE,8,3,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,OSD_LENGTH,0);
	
//		OSD1SetLineAttribute(5,RGAP_BG|RGAP_4|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iYFDFDF,4,5,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	
//		OSD1SetLineAttribute(7,RGAP_BG|RGAP_0|Char_Height_Single|Char_Width_Single);
	OSD1ShowLine(iPICTURE,2,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_1,9,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1ShowLine(iJPEG,10,7,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iPICTURE,2,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_2,9,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1ShowLine(iJPEG,10,9,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iPICTURE,2,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_3,9,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1ShowLine(iJPEG,10,11,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iPICTURE,2,13,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_4,9,13,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1ShowLine(iJPEG,10,13,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(iPICTURE,2,15,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_5,9,15,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,0);
	OSD1ShowLine(iJPEG,10,15,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	
//		OSD1SetLineAttribute(16,RGAP_BG|RGAP_8|Char_Height_Single|Char_Width_Single);
	OSD1PutChar(_btn_pause,3,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);
	OSD1PutChar(_btn_rec,8,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);
	OSD1PutChar(_btn_last,13,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);
	OSD1PutChar(_btn_next,18,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);
	OSD1ShowLine(i_BTN_DISP,22,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1ShowLine(i_BTN_AUDIO,27,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_BLACK,OSD_LENGTH,0);
	OSD1PutChar(_btn_zoom,33,16,BGND_COLOR_TRANSPERANT|FGND_COLOR_WHITE,0);

⌨️ 快捷键说明

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