⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uigui_cfg.c

📁 嵌入工linux开发的源码
💻 C
字号:
#include <uiGui_Cfg.h>
#include <uiFont.h>

//
// 可视区范围  
//

//const  short GUI_SCREEN_WIDTH=240;
//const  short GUI_SCREEN_HEIGHT=160;

#ifndef _EMU160x240_
	const  short GUI_SCREEN_WIDTH=160;
	const  short GUI_SCREEN_HEIGHT=160;
#else
	const  short GUI_SCREEN_WIDTH=160;
	const  short GUI_SCREEN_HEIGHT=240;
#endif

//
// 触控区范围  
//

//const  short GUI_TOUCH_WIDTH= 240;
//const  short GUI_TOUCH_HEIGHT= 160;
#ifndef _EMU160x240_
	const  short GUI_TOUCH_WIDTH= 160;
	const  short GUI_TOUCH_HEIGHT= 160;
#else
	const  short GUI_TOUCH_WIDTH= 160;
	const  short GUI_TOUCH_HEIGHT= 240;
#endif                    

/**************************************************************
 Max message number in GUI Windows' mesage queue
*************************************************************/
//const unsigned short GUI_MAX_MESSAGE_NO=20;

//Ram_disk size
//const unsigned short GUI_RAM_DISK_SIZE=1500;

//Keypad
//const unsigned short GUI_MAX_KEYPAD_EVENT_NO=12;

// Rolling Wheel Event Number
//const unsigned short GUI_MAX_ROLL_EVENT_NO=4;

//gui default font
#ifdef _LANGUAGE_CHT
const unsigned char GUI_DEFAULT_FONT=FONT_ENG12_BIG12;
const unsigned char GUI_CALENDAR_FONT=FONT_ENGHT12_BIG12;	// 日历字体
#else
const unsigned char GUI_DEFAULT_FONT=FONT_ENG12_GB12;
const unsigned char GUI_CALENDAR_FONT=FONT_ENGHT12_GB12;	// 日历字体
#endif

const unsigned char GUI_IS_3D=1;
const unsigned char GUI_3D=1;		

// 最小消息盒的座标
const short MSGBOX_LEFT=20;
const short MSGBOX_TOP=30;
const short MSGBOX_RIGHT=139;
const short MSGBOX_BOTTOM=129;

⌨️ 快捷键说明

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