blog/cpp/fonts/core/head.h

26 lines
485 B
C++

#ifndef __HEAD_H__
#define __HEAD_H__
#include "../reader/reader.h"
#include <list>
class fontHead
{
private:
uint16_t verMain;
uint16_t verSub;
uint16_t tableCount;
std::list<uint16_t> args;
public:
fontHead(/* args */){
verMain = 0;
verSub = 0;
tableCount = 0;
args = {};
};
~fontHead(){};
void read(reader*);
void display();
uint16_t getTableCount(){return tableCount;};
std::list<uint16_t> getArgs(){return args;};
};
#endif