Irrlicht 3D Engine
IGUIFontBitmap.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_GUI_FONT_BITMAP_H_INCLUDED__
00006 #define __I_GUI_FONT_BITMAP_H_INCLUDED__
00007 
00008 #include "IGUIFont.h"
00009 
00010 namespace irr
00011 {
00012 namespace gui
00013 {
00014     class IGUISpriteBank;
00015 
00017 class IGUIFontBitmap : public IGUIFont
00018 {
00019 public:
00020 
00022     virtual EGUI_FONT_TYPE getType() const { return EGFT_BITMAP; }
00023 
00025     virtual IGUISpriteBank* getSpriteBank() const = 0;
00026 
00028     virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0;
00029 
00031 
00039     virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0;
00040 };
00041 
00042 } // end namespace gui
00043 } // end namespace irr
00044 
00045 #endif
00046