gui_getfontinfo.c

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

C
22
字号
/*************************************************************************************************************
                                                   uC/GUI
                                               嵌入式通用图形软件
File        : GUI_GetFontInfo.C
Purpose     : Get GUI_FONTINFO structure
************************************************************************************************************/
#include "GUI_Protected.H"
#include <stddef.h>

#ifndef __C51__ /* Avoid Keil C51 limitation */

void GUI_GetFontInfo(const GUI_FONT*pFont, GUI_FONTINFO* pfi) 
{
  GUI_LOCK();
  if (pFont==NULL)
    pFont = GUI_Context.pAFont;
  pFont->pfGetFontInfo((void*)pFont, pfi);
  GUI_UNLOCK();
}

#endif

⌨️ 快捷键说明

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