doc: renamed project
This commit is contained in:
committed by
Sylvan Arnold
parent
244e516bd8
commit
32618389d1
2362
pico-sensor/McuLib/fonts/McuFontCour08Bold.c
Normal file
2362
pico-sensor/McuLib/fonts/McuFontCour08Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour08Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour08Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour08Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour08Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 8
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour08Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour08Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour08Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour08Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour08Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour08Bold_Deinit(void);
|
||||
** Init - void McuFontCour08Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour08Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour08Bold_module McuFontCour08Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour08Bold_H
|
||||
#define __McuFontCour08Bold_H
|
||||
|
||||
/* MODULE McuFontCour08Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour08Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour08Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour08Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour08Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour08Bold_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour08Bold_GetUnderlineBoxHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour08Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour08Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour08Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour08Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
2370
pico-sensor/McuLib/fonts/McuFontCour08Normal.c
Normal file
2370
pico-sensor/McuLib/fonts/McuFontCour08Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour08Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour08Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour08Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour08Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 8
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour08Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour08Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour08Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour08Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour08Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour08Normal_Deinit(void);
|
||||
** Init - void McuFontCour08Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour08Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour08Normal_module McuFontCour08Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour08Normal_H
|
||||
#define __McuFontCour08Normal_H
|
||||
|
||||
/* MODULE McuFontCour08Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour08Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour08Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour08Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour08Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour08Normal_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour08Normal_GetUnderlineBoxHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour08Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour08Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour08Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour08Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
2831
pico-sensor/McuLib/fonts/McuFontCour10Bold.c
Normal file
2831
pico-sensor/McuLib/fonts/McuFontCour10Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour10Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour10Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour10Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour10Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 10
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour10Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour10Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour10Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour10Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour10Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour10Bold_Deinit(void);
|
||||
** Init - void McuFontCour10Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour10Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour10Bold_module McuFontCour10Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour10Bold_H
|
||||
#define __McuFontCour10Bold_H
|
||||
|
||||
/* MODULE McuFontCour10Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour10Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour10Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour10Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour10Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour10Bold_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour10Bold_GetUnderlineBoxHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour10Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour10Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour10Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour10Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
2823
pico-sensor/McuLib/fonts/McuFontCour10Normal.c
Normal file
2823
pico-sensor/McuLib/fonts/McuFontCour10Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour10Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour10Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour10Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour10Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 10
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour10Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour10Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour10Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour10Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour10Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour10Normal_Deinit(void);
|
||||
** Init - void McuFontCour10Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour10Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour10Normal_module McuFontCour10Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour10Normal_H
|
||||
#define __McuFontCour10Normal_H
|
||||
|
||||
/* MODULE McuFontCour10Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour10Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour10Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour10Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour10Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour10Normal_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour10Normal_GetUnderlineBoxHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour10Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour10Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour10Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour10Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3014
pico-sensor/McuLib/fonts/McuFontCour12Bold.c
Normal file
3014
pico-sensor/McuLib/fonts/McuFontCour12Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour12Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour12Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour12Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour12Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 12
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour12Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour12Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour12Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour12Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour12Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour12Bold_Deinit(void);
|
||||
** Init - void McuFontCour12Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour12Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour12Bold_module McuFontCour12Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour12Bold_H
|
||||
#define __McuFontCour12Bold_H
|
||||
|
||||
/* MODULE McuFontCour12Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour12Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour12Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour12Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour12Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour12Bold_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour12Bold_GetUnderlineBoxHeight() \
|
||||
5
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour12Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour12Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour12Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour12Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
2994
pico-sensor/McuLib/fonts/McuFontCour12Normal.c
Normal file
2994
pico-sensor/McuLib/fonts/McuFontCour12Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour12Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour12Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour12Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour12Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 12
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour12Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour12Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour12Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour12Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour12Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour12Normal_Deinit(void);
|
||||
** Init - void McuFontCour12Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour12Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour12Normal_module McuFontCour12Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour12Normal_H
|
||||
#define __McuFontCour12Normal_H
|
||||
|
||||
/* MODULE McuFontCour12Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour12Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour12Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour12Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour12Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour12Normal_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour12Normal_GetUnderlineBoxHeight() \
|
||||
5
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour12Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour12Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour12Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour12Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3282
pico-sensor/McuLib/fonts/McuFontCour14Bold.c
Normal file
3282
pico-sensor/McuLib/fonts/McuFontCour14Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour14Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour14Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour14Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour14Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 14
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour14Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour14Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour14Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour14Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour14Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour14Bold_Deinit(void);
|
||||
** Init - void McuFontCour14Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour14Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour14Bold_module McuFontCour14Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour14Bold_H
|
||||
#define __McuFontCour14Bold_H
|
||||
|
||||
/* MODULE McuFontCour14Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour14Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour14Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour14Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour14Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour14Bold_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour14Bold_GetUnderlineBoxHeight() \
|
||||
7
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour14Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour14Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour14Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour14Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3198
pico-sensor/McuLib/fonts/McuFontCour14Normal.c
Normal file
3198
pico-sensor/McuLib/fonts/McuFontCour14Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour14Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour14Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour14Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour14Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 14
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour14Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour14Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour14Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour14Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour14Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour14Normal_Deinit(void);
|
||||
** Init - void McuFontCour14Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour14Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour14Normal_module McuFontCour14Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour14Normal_H
|
||||
#define __McuFontCour14Normal_H
|
||||
|
||||
/* MODULE McuFontCour14Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour14Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour14Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour14Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour14Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour14Normal_GetLineSpaceHeight() \
|
||||
1
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour14Normal_GetUnderlineBoxHeight() \
|
||||
7
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour14Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour14Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour14Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour14Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3931
pico-sensor/McuLib/fonts/McuFontCour18Bold.c
Normal file
3931
pico-sensor/McuLib/fonts/McuFontCour18Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour18Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour18Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour18Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour18Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 18
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour18Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour18Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour18Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour18Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour18Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour18Bold_Deinit(void);
|
||||
** Init - void McuFontCour18Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour18Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour18Bold_module McuFontCour18Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour18Bold_H
|
||||
#define __McuFontCour18Bold_H
|
||||
|
||||
/* MODULE McuFontCour18Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour18Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour18Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour18Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour18Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour18Bold_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour18Bold_GetUnderlineBoxHeight() \
|
||||
8
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour18Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour18Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour18Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour18Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3802
pico-sensor/McuLib/fonts/McuFontCour18Normal.c
Normal file
3802
pico-sensor/McuLib/fonts/McuFontCour18Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour18Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour18Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour18Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour18Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 18
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour18Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour18Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour18Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour18Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour18Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour18Normal_Deinit(void);
|
||||
** Init - void McuFontCour18Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour18Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour18Normal_module McuFontCour18Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour18Normal_H
|
||||
#define __McuFontCour18Normal_H
|
||||
|
||||
/* MODULE McuFontCour18Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour18Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour18Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour18Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour18Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour18Normal_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour18Normal_GetUnderlineBoxHeight() \
|
||||
8
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour18Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour18Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour18Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour18Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
4887
pico-sensor/McuLib/fonts/McuFontCour24Bold.c
Normal file
4887
pico-sensor/McuLib/fonts/McuFontCour24Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour24Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour24Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour24Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour24Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 24
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour24Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour24Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour24Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour24Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour24Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour24Bold_Deinit(void);
|
||||
** Init - void McuFontCour24Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour24Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour24Bold_module McuFontCour24Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour24Bold_H
|
||||
#define __McuFontCour24Bold_H
|
||||
|
||||
/* MODULE McuFontCour24Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour24Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour24Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour24Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour24Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour24Bold_GetLineSpaceHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour24Bold_GetUnderlineBoxHeight() \
|
||||
11
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour24Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour24Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour24Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour24Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
4715
pico-sensor/McuLib/fonts/McuFontCour24Normal.c
Normal file
4715
pico-sensor/McuLib/fonts/McuFontCour24Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontCour24Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontCour24Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontCour24Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontCour24Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Cour
|
||||
** Size : 24
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontCour24Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontCour24Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontCour24Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontCour24Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontCour24Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontCour24Normal_Deinit(void);
|
||||
** Init - void McuFontCour24Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontCour24Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontCour24Normal_module McuFontCour24Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontCour24Normal_H
|
||||
#define __McuFontCour24Normal_H
|
||||
|
||||
/* MODULE McuFontCour24Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontCour24Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontCour24Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontCour24Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontCour24Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour24Normal_GetLineSpaceHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontCour24Normal_GetUnderlineBoxHeight() \
|
||||
11
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour24Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontCour24Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontCour24Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontCour24Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
2582
pico-sensor/McuLib/fonts/McuFontHelv08Bold.c
Normal file
2582
pico-sensor/McuLib/fonts/McuFontHelv08Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv08Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv08Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv08Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv08Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 8
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv08Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv08Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv08Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv08Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv08Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv08Bold_Deinit(void);
|
||||
** Init - void McuFontHelv08Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv08Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv08Bold_module McuFontHelv08Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv08Bold_H
|
||||
#define __McuFontHelv08Bold_H
|
||||
|
||||
/* MODULE McuFontHelv08Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv08Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv08Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv08Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv08Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv08Bold_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv08Bold_GetUnderlineBoxHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv08Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv08Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv08Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv08Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
2585
pico-sensor/McuLib/fonts/McuFontHelv08Normal.c
Normal file
2585
pico-sensor/McuLib/fonts/McuFontHelv08Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv08Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv08Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv08Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv08Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 8
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv08Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv08Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv08Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv08Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv08Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv08Normal_Deinit(void);
|
||||
** Init - void McuFontHelv08Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv08Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv08Normal_module McuFontHelv08Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv08Normal_H
|
||||
#define __McuFontHelv08Normal_H
|
||||
|
||||
/* MODULE McuFontHelv08Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv08Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv08Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv08Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv08Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv08Normal_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv08Normal_GetUnderlineBoxHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv08Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv08Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv08Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv08Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3062
pico-sensor/McuLib/fonts/McuFontHelv10Bold.c
Normal file
3062
pico-sensor/McuLib/fonts/McuFontHelv10Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv10Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv10Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv10Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv10Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 10
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv10Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv10Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv10Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv10Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv10Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv10Bold_Deinit(void);
|
||||
** Init - void McuFontHelv10Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv10Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv10Bold_module McuFontHelv10Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv10Bold_H
|
||||
#define __McuFontHelv10Bold_H
|
||||
|
||||
/* MODULE McuFontHelv10Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv10Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv10Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv10Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv10Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv10Bold_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv10Bold_GetUnderlineBoxHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv10Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv10Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv10Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv10Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3059
pico-sensor/McuLib/fonts/McuFontHelv10Normal.c
Normal file
3059
pico-sensor/McuLib/fonts/McuFontHelv10Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv10Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv10Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv10Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv10Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 10
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv10Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv10Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv10Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv10Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv10Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv10Normal_Deinit(void);
|
||||
** Init - void McuFontHelv10Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv10Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv10Normal_module McuFontHelv10Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv10Normal_H
|
||||
#define __McuFontHelv10Normal_H
|
||||
|
||||
/* MODULE McuFontHelv10Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv10Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv10Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv10Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv10Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv10Normal_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv10Normal_GetUnderlineBoxHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv10Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv10Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv10Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv10Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3301
pico-sensor/McuLib/fonts/McuFontHelv12Bold.c
Normal file
3301
pico-sensor/McuLib/fonts/McuFontHelv12Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv12Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv12Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv12Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv12Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 12
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv12Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv12Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv12Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv12Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv12Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv12Bold_Deinit(void);
|
||||
** Init - void McuFontHelv12Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv12Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv12Bold_module McuFontHelv12Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv12Bold_H
|
||||
#define __McuFontHelv12Bold_H
|
||||
|
||||
/* MODULE McuFontHelv12Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv12Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv12Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv12Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv12Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv12Bold_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv12Bold_GetUnderlineBoxHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv12Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv12Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv12Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv12Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3306
pico-sensor/McuLib/fonts/McuFontHelv12Normal.c
Normal file
3306
pico-sensor/McuLib/fonts/McuFontHelv12Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv12Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv12Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv12Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv12Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 12
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv12Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv12Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv12Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv12Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv12Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv12Normal_Deinit(void);
|
||||
** Init - void McuFontHelv12Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv12Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv12Normal_module McuFontHelv12Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv12Normal_H
|
||||
#define __McuFontHelv12Normal_H
|
||||
|
||||
/* MODULE McuFontHelv12Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv12Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv12Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv12Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv12Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv12Normal_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv12Normal_GetUnderlineBoxHeight() \
|
||||
4
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv12Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv12Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv12Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv12Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3602
pico-sensor/McuLib/fonts/McuFontHelv14Bold.c
Normal file
3602
pico-sensor/McuLib/fonts/McuFontHelv14Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv14Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv14Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv14Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv14Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 14
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv14Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv14Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv14Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv14Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv14Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv14Bold_Deinit(void);
|
||||
** Init - void McuFontHelv14Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv14Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv14Bold_module McuFontHelv14Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv14Bold_H
|
||||
#define __McuFontHelv14Bold_H
|
||||
|
||||
/* MODULE McuFontHelv14Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv14Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv14Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv14Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv14Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv14Bold_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv14Bold_GetUnderlineBoxHeight() \
|
||||
4
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv14Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv14Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv14Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv14Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
3583
pico-sensor/McuLib/fonts/McuFontHelv14Normal.c
Normal file
3583
pico-sensor/McuLib/fonts/McuFontHelv14Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv14Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv14Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv14Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv14Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 14
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv14Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv14Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv14Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv14Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv14Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv14Normal_Deinit(void);
|
||||
** Init - void McuFontHelv14Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv14Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv14Normal_module McuFontHelv14Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv14Normal_H
|
||||
#define __McuFontHelv14Normal_H
|
||||
|
||||
/* MODULE McuFontHelv14Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv14Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv14Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv14Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv14Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv14Normal_GetLineSpaceHeight() \
|
||||
2
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv14Normal_GetUnderlineBoxHeight() \
|
||||
5
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv14Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv14Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv14Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv14Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
4444
pico-sensor/McuLib/fonts/McuFontHelv18Bold.c
Normal file
4444
pico-sensor/McuLib/fonts/McuFontHelv18Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv18Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv18Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv18Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv18Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 18
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv18Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv18Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv18Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv18Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv18Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv18Bold_Deinit(void);
|
||||
** Init - void McuFontHelv18Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv18Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv18Bold_module McuFontHelv18Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv18Bold_H
|
||||
#define __McuFontHelv18Bold_H
|
||||
|
||||
/* MODULE McuFontHelv18Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv18Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv18Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv18Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv18Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv18Bold_GetLineSpaceHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv18Bold_GetUnderlineBoxHeight() \
|
||||
5
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv18Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv18Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv18Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv18Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
4440
pico-sensor/McuLib/fonts/McuFontHelv18Normal.c
Normal file
4440
pico-sensor/McuLib/fonts/McuFontHelv18Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv18Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv18Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv18Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv18Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 18
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv18Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv18Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv18Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv18Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv18Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv18Normal_Deinit(void);
|
||||
** Init - void McuFontHelv18Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv18Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv18Normal_module McuFontHelv18Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv18Normal_H
|
||||
#define __McuFontHelv18Normal_H
|
||||
|
||||
/* MODULE McuFontHelv18Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv18Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv18Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv18Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv18Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv18Normal_GetLineSpaceHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv18Normal_GetUnderlineBoxHeight() \
|
||||
5
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv18Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv18Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv18Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv18Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
5519
pico-sensor/McuLib/fonts/McuFontHelv24Bold.c
Normal file
5519
pico-sensor/McuLib/fonts/McuFontHelv24Bold.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv24Bold.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv24Bold.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv24Bold.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv24Bold
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 24
|
||||
** Style : bold
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv24Bold_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv24Bold_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv24Bold_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv24Bold_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv24Bold_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv24Bold_Deinit(void);
|
||||
** Init - void McuFontHelv24Bold_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv24Bold.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv24Bold_module McuFontHelv24Bold module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv24Bold_H
|
||||
#define __McuFontHelv24Bold_H
|
||||
|
||||
/* MODULE McuFontHelv24Bold. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv24Boldconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv24Bold_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv24Bold_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv24Bold_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv24Bold_GetLineSpaceHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv24Bold_GetUnderlineBoxHeight() \
|
||||
7
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv24Bold_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv24Bold_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv24Bold. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv24Bold_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
5473
pico-sensor/McuLib/fonts/McuFontHelv24Normal.c
Normal file
5473
pico-sensor/McuLib/fonts/McuFontHelv24Normal.c
Normal file
File diff suppressed because it is too large
Load Diff
218
pico-sensor/McuLib/fonts/McuFontHelv24Normal.h
Normal file
218
pico-sensor/McuLib/fonts/McuFontHelv24Normal.h
Normal file
@@ -0,0 +1,218 @@
|
||||
/* ###################################################################
|
||||
** This component module is generated by Processor Expert. Do not modify it.
|
||||
** Filename : McuFontHelv24Normal.h
|
||||
** Project : FRDM-K64F_Generator
|
||||
** Processor : MK64FN1M0VLL12
|
||||
** Component : GFont
|
||||
** Version : Component 01.131, Driver 01.00, CPU db: 3.00.000
|
||||
** Compiler : GNU C Compiler
|
||||
** Date/Time : 2020-08-13, 18:42, # CodeGen: 675
|
||||
** Abstract :
|
||||
** Driver for graphical fonts
|
||||
** Settings :
|
||||
** Component name : McuFontHelv24Normal
|
||||
** SDK : McuLib
|
||||
** Overwrite Bounding Box Height : Disabled
|
||||
** Name : Helv
|
||||
** Size : 24
|
||||
** Style : normal
|
||||
** Contents :
|
||||
** GetFontChar - PGFONT_CharInfo McuFontHelv24Normal_GetFontChar(uint8_t ch);
|
||||
** GetBoxHeight - uint8_t McuFontHelv24Normal_GetBoxHeight(void);
|
||||
** GetFont - PGFONT_Callbacks McuFontHelv24Normal_GetFont(void);
|
||||
** GetUnderlineBoxHeight - uint8_t McuFontHelv24Normal_GetUnderlineBoxHeight(void);
|
||||
** GetLineSpaceHeight - uint8_t McuFontHelv24Normal_GetLineSpaceHeight(void);
|
||||
** Deinit - void McuFontHelv24Normal_Deinit(void);
|
||||
** Init - void McuFontHelv24Normal_Init(void);
|
||||
**
|
||||
** * Copyright (c) 2011-2020, Erich Styger
|
||||
** * Web: https://mcuoneclipse.com
|
||||
** * SourceForge: https://sourceforge.net/projects/mcuoneclipse
|
||||
** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx
|
||||
** * All rights reserved.
|
||||
** *
|
||||
** * Redistribution and use in source and binary forms, with or without modification,
|
||||
** * are permitted provided that the following conditions are met:
|
||||
** *
|
||||
** * - Redistributions of source code must retain the above copyright notice, this list
|
||||
** * of conditions and the following disclaimer.
|
||||
** *
|
||||
** * - Redistributions in binary form must reproduce the above copyright notice, this
|
||||
** * list of conditions and the following disclaimer in the documentation and/or
|
||||
** * other materials provided with the distribution.
|
||||
** *
|
||||
** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
** * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
** * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
** * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
** * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
** * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
** * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
** * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
** * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
** ###################################################################*/
|
||||
/*!
|
||||
** @file McuFontHelv24Normal.h
|
||||
** @version 01.00
|
||||
** @brief
|
||||
** Driver for graphical fonts
|
||||
*/
|
||||
/*!
|
||||
** @addtogroup McuFontHelv24Normal_module McuFontHelv24Normal module documentation
|
||||
** @{
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __McuFontHelv24Normal_H
|
||||
#define __McuFontHelv24Normal_H
|
||||
|
||||
/* MODULE McuFontHelv24Normal. */
|
||||
#include "McuLib.h" /* SDK and API used */
|
||||
#include "McuFontHelv24Normalconfig.h" /* configuration */
|
||||
|
||||
/* Include inherited components */
|
||||
#include "McuLib.h"
|
||||
|
||||
|
||||
#ifndef __BWUserType_PConstByte
|
||||
#define __BWUserType_PConstByte
|
||||
typedef const uint8_t *PConstByte; /* Pointer to a constant byte. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_CharInfo
|
||||
#define __BWUserType_GFONT_CharInfo
|
||||
typedef struct { /* A descriptor describing the font. */
|
||||
int8_t dwidth; /* position of next char. relative to the current */
|
||||
uint8_t width; /* width of character in pixels */
|
||||
uint8_t height; /* height of character in pixels */
|
||||
int8_t offsetX; /* horizontal offset to left edge of bounding box */
|
||||
int8_t offsetY; /* vertical offset to bottom edge of bounding box */
|
||||
PConstByte CharBMP; /* pointer to character bitmap defined above */
|
||||
} GFONT_CharInfo;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_CharInfo
|
||||
#define __BWUserType_PGFONT_CharInfo
|
||||
typedef GFONT_CharInfo* PGFONT_CharInfo ; /* A pointer to GFONT_CharInfo */
|
||||
#endif
|
||||
#ifndef __BWUserType_CallbackGetFontChar
|
||||
#define __BWUserType_CallbackGetFontChar
|
||||
typedef PGFONT_CharInfo (*CallbackGetFontChar)(uint8_t ch); /* Callback used to get the font information for a single character. */
|
||||
#endif
|
||||
#ifndef __BWUserType_GFONT_Callbacks
|
||||
#define __BWUserType_GFONT_Callbacks
|
||||
typedef struct { /* Structure with font relevant callbacks. */
|
||||
CallbackGetFontChar GetFontChar; /* Callback for retrieving a font character. */
|
||||
uint8_t boundingBoxHeight; /* Height of the bounding box. This includes the height of the underline box height. */
|
||||
uint8_t underlineBoxHeight; /* Height of the underline box height. */
|
||||
uint8_t lineSpaceBoxHeight; /* Height of the space between lines */
|
||||
} GFONT_Callbacks;
|
||||
#endif
|
||||
#ifndef __BWUserType_PGFONT_Callbacks
|
||||
#define __BWUserType_PGFONT_Callbacks
|
||||
typedef GFONT_Callbacks* PGFONT_Callbacks ; /* Pointer to struct for font callbacks. */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
PGFONT_CharInfo McuFontHelv24Normal_GetFontChar(uint8_t ch);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFontChar (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns for a given character the corresponding font bitmap.
|
||||
** Parameters :
|
||||
** NAME - DESCRIPTION
|
||||
** ch - The character for that a bitmap is required.
|
||||
** Returns :
|
||||
** --- - Character font bitmap
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
uint8_t McuFontHelv24Normal_GetBoxHeight(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Function to get the height of the bounding box.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Height of bounding box
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
PGFONT_Callbacks McuFontHelv24Normal_GetFont(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetFont (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns callbacks for fonts to be used by the font driver.
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Font callbacks.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv24Normal_GetLineSpaceHeight() \
|
||||
3
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetLineSpaceHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the line space height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define McuFontHelv24Normal_GetUnderlineBoxHeight() \
|
||||
7
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : GetUnderlineBoxHeight (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Returns the size of the underline box height
|
||||
** Parameters : None
|
||||
** Returns :
|
||||
** --- - Error code
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv24Normal_Deinit(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Deinit (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver de-initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
void McuFontHelv24Normal_Init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Init (component GFont)
|
||||
**
|
||||
** Description :
|
||||
** Driver initialization
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/* END McuFontHelv24Normal. */
|
||||
|
||||
#endif
|
||||
/* ifndef __McuFontHelv24Normal_H */
|
||||
/*!
|
||||
** @}
|
||||
*/
|
||||
Reference in New Issue
Block a user