📄 mycodes.c
字号:
#include "stdlib.h"
#include "GUI.H"
#include "LCD_Private.h" /* private modul definitions & config */
#include "GUI_Private.h"
#include "GUIDebug.h"
unsigned int errno;
void OS_X_Delay(int time)
{
unsigned long i;
for ( ; time > 0; time-- )
for( i = 0; i < 1000; i++ )
{
asm(" nop ");
}
}
void GUI_X_ErrorOut(const char *s)
{
}
void GUI_X_Log(const char *s)
{
}
void GUI_X_Warn(const char *s)
{
}
/* Palette
The following are the entries of the palette table.
Every entry is a 32-bit value (of which 24 bits are actually used)
the lower 8 bits represent the Red component,
the middle 8 bits represent the Green component,
the highest 8 bits (of the 24 bits used) represent the Blue component
as follows: 0xBBGGRR
*/
static const GUI_COLOR Colorsface[] = {
0x000000,0x000055,0x0000AA,0x0000FF
,0x002400,0x002455,0x0024AA,0x0024FF
,0x004800,0x004855,0x0048AA,0x0048FF
,0x006D00,0x006D55,0x006DAA,0x006DFF
,0x009100,0x009155,0x0091AA,0x0091FF
,0x00B600,0x00B655,0x00B6AA,0x00B6FF
,0x00DA00,0x00DA55,0x00DAAA,0x00DAFF
,0x00FF00,0x00FF55,0x00FFAA,0x00FFFF
,0x240000,0x240055,0x2400AA,0x2400FF
,0x242400,0x242455,0x2424AA,0x2424FF
,0x244800,0x244855,0x2448AA,0x2448FF
,0x246D00,0x246D55,0x246DAA,0x246DFF
,0x249100,0x249155,0x2491AA,0x2491FF
,0x24B600,0x24B655,0x24B6AA,0x24B6FF
,0x24DA00,0x24DA55,0x24DAAA,0x24DAFF
,0x24FF00,0x24FF55,0x24FFAA,0x24FFFF
,0x480000,0x480055,0x4800AA,0x4800FF
,0x482400,0x482455,0x4824AA,0x4824FF
,0x484800,0x484855,0x4848AA,0x4848FF
,0x486D00,0x486D55,0x486DAA,0x486DFF
,0x489100,0x489155,0x4891AA,0x4891FF
,0x48B600,0x48B655,0x48B6AA,0x48B6FF
,0x48DA00,0x48DA55,0x48DAAA,0x48DAFF
,0x48FF00,0x48FF55,0x48FFAA,0x48FFFF
,0x6D0000,0x6D0055,0x6D00AA,0x6D00FF
,0x6D2400,0x6D2455,0x6D24AA,0x6D24FF
,0x6D4800,0x6D4855,0x6D48AA,0x6D48FF
,0x6D6D00,0x6D6D55,0x6D6DAA,0x6D6DFF
,0x6D9100,0x6D9155,0x6D91AA,0x6D91FF
,0x6DB600,0x6DB655,0x6DB6AA,0x6DB6FF
,0x6DDA00,0x6DDA55,0x6DDAAA,0x6DDAFF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -