📄 rasterfont.h
字号:
//*****************************************************************************
//
// rasterfont.h - Prototypes for the font arrays.
//
// Copyright (c) 2006-2007 Luminary Micro, Inc. All rights reserved.
//
// Software License Agreement
//
// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
// exclusively on LMI's microcontroller products.
//
// The software is owned by LMI and/or its suppliers, and is protected under
// applicable copyright laws. All rights are reserved. Any use in violation
// of the foregoing restrictions may subject the user to criminal sanctions
// under applicable laws, as well as to civil liability for the breach of the
// terms and conditions of this license.
//
// THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
//
// This is part of revision 220 of sw01246.
//
//*****************************************************************************
#ifndef __RASTERFONT_H__
#define __RASTERFONT_H__
//*****************************************************************************
//
//! \addtogroup ui_rasterfont_api
//! @{
//
//*****************************************************************************
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the Luminary Micro button
//! image.
//
//*****************************************************************************
#define FONT_CHAR_LMI 128
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the ARM button image.
//
//*****************************************************************************
#define FONT_CHAR_ARM 129
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the Run button image.
//
//*****************************************************************************
#define FONT_CHAR_RUN 130
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the CamelCase button image.
//
//*****************************************************************************
#define FONT_CHAR_Abc 131
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the ALL UPPERCASE button
//! image.
//
//*****************************************************************************
#define FONT_CHAR_ABC 132
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the all lowercase button
//! image.
//
//*****************************************************************************
#define FONT_CHAR_abc 133
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the block cursor image.
//
//*****************************************************************************
#define FONT_CHAR_CURSOR 134
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the backspace button image.
//
//*****************************************************************************
#define FONT_CHAR_BACKSPACE 135
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the shift button image.
//
//*****************************************************************************
#define FONT_CHAR_UP 136
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the first demo button image.
//
//*****************************************************************************
#define FONT_CHAR_DEMO1 137
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the second demo button image.
//
//*****************************************************************************
#define FONT_CHAR_DEMO2 138
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the third demo button image.
//
//*****************************************************************************
#define FONT_CHAR_DEMO3 139
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the fourth demo button image.
//
//*****************************************************************************
#define FONT_CHAR_DEMO4 140
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the fifth demo button image.
//
//*****************************************************************************
#define FONT_CHAR_DEMO5 141
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the sixth demo button image.
//
//*****************************************************************************
#define FONT_CHAR_DEMO6 142
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the pen button image.
//
//*****************************************************************************
#define FONT_CHAR_PEN 143
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the 25 mil depth router
//! button image.
//
//*****************************************************************************
#define FONT_CHAR_ROUTER_25 144
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the 50 mil depth router
//! button image.
//
//*****************************************************************************
#define FONT_CHAR_ROUTER_50 145
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the 75 mil depth router
//! button image.
//
//*****************************************************************************
#define FONT_CHAR_ROUTER_75 146
//*****************************************************************************
//
//! The index into the 24x32 raster font array of the 100 mil depth router
//! button image.
//
//*****************************************************************************
#define FONT_CHAR_ROUTER_100 147
//*****************************************************************************
//
// Close the Doxygen group.
//! @}
//
//*****************************************************************************
//*****************************************************************************
//
// Declarations for the font arrays.
//
//*****************************************************************************
extern const unsigned char g_pucFont8x8[];
extern const unsigned char * const g_ppucFont24x32[];
extern const unsigned char g_pucFont24x32First[];
extern const unsigned char g_pucFont24x32Width[];
#endif // __RASTERFONT_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -