Irrlicht 3D Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IGUIFontBitmap.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_GUI_FONT_BITMAP_H_INCLUDED__
6 #define __I_GUI_FONT_BITMAP_H_INCLUDED__
7 
8 #include "IGUIFont.h"
9 
10 namespace irr
11 {
12 namespace gui
13 {
14  class IGUISpriteBank;
15 
17 class IGUIFontBitmap : public IGUIFont
18 {
19 public:
20 
22  virtual EGUI_FONT_TYPE getType() const { return EGFT_BITMAP; }
23 
25  virtual IGUISpriteBank* getSpriteBank() const = 0;
26 
28  virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0;
29 
31 
39  virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0;
40 };
41 
42 } // end namespace gui
43 } // end namespace irr
44 
45 #endif
46