Initial Commit

Blank working project
This commit is contained in:
William Miceli
2020-08-05 17:53:34 -04:00
commit c2f788aa3e
677 changed files with 244742 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/* DO NOT EDIT THIS FILE */
/* This file is autogenerated by the text-database code generator */
#ifndef APPLICATIONFONTPROVIDER_HPP
#define APPLICATIONFONTPROVIDER_HPP
#include <touchgfx/FontManager.hpp>
struct Typography
{
<% typographies.each_with_index do |typography, index| %>
static const touchgfx::FontId <%= typography.name.upcase %> = <%= index %>;
<% end %>
};
struct TypographyFontIndex
{
<% typographies.each_with_index do |typography, index| %>
static const touchgfx::FontId <%= typography.name.upcase %> = <%= font_index(index) %>; <%= font_comment(index) %>
<% end %>
static const uint16_t NUMBER_OF_FONTS = <%= max_font_index %>;
};
class ApplicationFontProvider : public touchgfx::FontProvider
{
public:
virtual touchgfx::Font* getFont(touchgfx::FontId typography);
};
#endif // APPLICATIONFONTPROVIDER_HPP