gui_setcolorindex.c

来自「uCGUI」· C语言 代码 · 共 28 行

C
28
字号
/*************************************************************************************************************
                                  SEGGER MICROCONTROLLER SYSTEME GmbH
*                          Solutions for real time microcontroller applications

File        : GUI_DrawBitmap.C
Purpose     : Implementation of GUI_DrawBitmap
************************************************************************************************************/
#include "GUI_Protected.H"

// 设置背景颜色的索引
void GUI_SetBkColorIndex(int Index)
{
  GUI_LOCK();
  {
    LCD_SetBkColorIndex(Index);
  } GUI_UNLOCK();
}
// 设置前景颜色的索引
void GUI_SetColorIndex(int Index)
{
  GUI_LOCK();
  {
    LCD_SetColorIndex(Index);
  }
  GUI_UNLOCK();
}

⌨️ 快捷键说明

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