guicolor2index.c
来自「uCGUI」· C语言 代码 · 共 17 行
C
17 行
/*************************************************************************************************************
uC/GUI
嵌入式通用图形软件
File : GUIColor2Index.C
Purpose : Converts a RGB-value to a color index
************************************************************************************************************/
#include "GUI_Protected.H"
int GUI_Color2Index(GUI_COLOR Color)
{
int Index;
GUI_LOCK();
Index = LCD_Color2Index(Color);
GUI_UNLOCK();
return Index;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?