This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const spdlog_example: () => void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FS.h" | |
#include "SD.h" | |
extern "C" { | |
typedef void lvbe_FILE; | |
lvbe_FILE *lvbe_fopen(const char *filename, const char *mode) { | |
File f = SD.open(filename, mode); | |
if (f) { | |
File *f_ptr = new File(f); // copy to dynamic object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "../../lv_examples.h" | |
#if LV_USE_FREETYPE && LV_BUILD_EXAMPLES | |
/** | |
* Load a font with FreeType | |
*/ | |
void lv_example_freetype_1(void) | |
{ | |
/*Create a font*/ | |
static lv_ft_info_t info; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Rectangle.h" | |
Rectangle::Rectangle() { | |
_x = 0; | |
_y = 0; | |
_width = 0; | |
_height = 0; | |
} | |
Rectangle::Rectangle(int xPos, int yPos, int width, int height) { | |
_x = xPos; |