野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 12056|回复: 1

在GUI手册第7章关于字体的应用,说需要将字体的描述包含在GUIConf.h中,可例程里没...

[复制链接]
发表于 2014-6-13 17:19:23 | 显示全部楼层 |阅读模式
#ifndef GUICONF_H
#define GUICONF_H


#define GUI_OS                    (1)  /* Compile with multitasking support */
#define GUI_SUPPORT_TOUCH         (1)  /* Support a touch screen (req. win-manager) */
#define GUI_SUPPORT_UNICODE       (1)  /* Support mixed ASCII/UNICODE strings */


#define GUI_DEFAULT_FONT          &GUI_Font6x8
#define GUI_ALLOC_SIZE            30000  /* Size of dynamic memory ... For WM and memory devices*/




/*********************************************************************
*
*         Configuration of available packages
*/


#define GUI_WINSUPPORT            1  /* Window manager package available */
#define GUI_SUPPORT_MEMDEV        1  /* Memory devices available */
#define GUI_SUPPORT_AA            1  /* Anti aliasing available */


#endif  /* Avoid multiple inclusion */

以上是在野火stm32系统界面例程中的GUIConf.h的代码,这代码里  
#define GUI_DEFAULT_FONT          &GUI_Font6x8是不是就是字体的描述
回复

使用道具 举报

发表于 2014-6-13 17:20:19 | 显示全部楼层
是的,那个是配置了GUI的默认字体
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-5-7 19:50 , Processed in 0.040296 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表