Guiliani  Version 2.6 revision 7293 (documentation build 12)
FontCacheGlyphLib.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 __FONTCACHE_GLYPHLIB_H__
11#define __FONTCACHE_GLYPHLIB_H__
12
13#include "FontCache.h"
14
15// GlyphLib
16#include "glyphlib.h"
17#include "gui_font.h"
18
19#include "eC_Types.h"
20#include "eC_TArray.h"
21#include "GUIImageData.h"
22#include "GUIFontResource.h"
23
28{
29public:
40 gui_font_t* pkFont,
41 const FontResource_t& eFontID,
42 const eC_UInt& uiInitialCacheSize,
43 const eC_Bool& bAutoResize,
44 const eC_UInt& uiResizeBy);
45
48
49protected:
55 virtual CachedChar_t AddChar(const eC_UInt &uiUnicode, const eC_UInt &uiPos);
56
62
69
70private:
73 void Init();
74
75private:
78 gui_font_t* m_pkFontHandle;
79};
80
81#endif
Helper Macros in Guiliani
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
Definition: FontCacheGlyphLib.h:28
virtual ~CFontCacheGlyphLib()
CFontCacheGlyphLib(const CFontCacheGlyphLib &kSource)
virtual CachedChar_t AddChar(const eC_UInt &uiUnicode, const eC_UInt &uiPos)
CFontCacheGlyphLib & operator=(const CFontCacheGlyphLib &kSource)
CFontCacheGlyphLib(gui_font_t *pkFont, const FontResource_t &eFontID, const eC_UInt &uiInitialCacheSize, const eC_Bool &bAutoResize, const eC_UInt &uiResizeBy)
FontCache is the base-class for glyph-cache.
Definition: FontCache.h:24
struct for holding the unicode and a pointer to the related info-block
Definition: FontCache.h:53