Guiliani  Version 2.5 revision 7293 (documentation build 13)
FntWrapGlyphLibGLFontAtlas.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef __FNTWRAP_GLYPHLIB_GL_FONTATLAS__H__
11#define __FNTWRAP_GLYPHLIB_GL_FONTATLAS__H__
12
13#include "FntWrapGLFontAtlas.h"
14
15#include "eC_Types.h"
16#include "eC_TArray.h"
17#include "GUIFontResource.h"
18
19#include "glyphlib.h"
20#include "gui_font.h"
21
25{
26public:
33 const FontResource_t& reFontID,
34 const eC_UInt& uiNumberOfRows,
35 gui_font_t* pkFont);
36
39
43 virtual void* GetFace() { return (void*)m_pkFontHandle->font_handle; }
44
45protected:
50 virtual FontAtlasRecord_t AddGlyph(const eC_UInt &uiUnicode);
51
52private:
55 void Init();
56
60
64
65private:
66 gui_font_t* m_pkFontHandle;
67};
68#endif
Helper Macros in Guiliani
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
Definition: FntWrapGLFontAtlas.h:24
Definition: FntWrapGlyphLibGLFontAtlas.h:25
virtual void * GetFace()
Definition: FntWrapGlyphLibGLFontAtlas.h:43
CFntWrapGlyphLibGLFontAtlas(const FontResource_t &reFontID, const eC_UInt &uiNumberOfRows, gui_font_t *pkFont)
virtual ~CFntWrapGlyphLibGLFontAtlas()
virtual FontAtlasRecord_t AddGlyph(const eC_UInt &uiUnicode)
Struct representing one character inside the cache array.
Definition: FntWrapGLFontAtlas.h:28