diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-05-14 15:23:23 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-05-14 15:23:23 +0000 |
| commit | 7bc4a59528ab13f3062dc1520e76f9ecedd87400 (patch) | |
| tree | 9d6e91be12147eee77d82ec5b49c24ae44f85bd3 /lib/gdi | |
| parent | ab8d418f82b2835c267d88ded5d748a6f0e8a852 (diff) | |
| download | enigma2-7bc4a59528ab13f3062dc1520e76f9ecedd87400.tar.gz enigma2-7bc4a59528ab13f3062dc1520e76f9ecedd87400.zip | |
- work on timers
- add eInput widget
- add python/Tools
- add flexible listbox content
Diffstat (limited to 'lib/gdi')
| -rw-r--r-- | lib/gdi/font.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gdi/font.h b/lib/gdi/font.h index ff2a88c5..c55b8f46 100644 --- a/lib/gdi/font.h +++ b/lib/gdi/font.h @@ -130,9 +130,16 @@ public: return boundBox; } + + const int size() const + { + return glyphs.size(); + } const eRect& getGlyphBBox(int num) const { + assert(num >= 0); + assert(num < (int)glyphs.size()); return glyphs[num].bbox; } }; |
