aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IGUIFontBitmap.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IGUIFontBitmap.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/include/IGUIFontBitmap.h')
-rw-r--r--libraries/irrlicht-1.8/include/IGUIFontBitmap.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/libraries/irrlicht-1.8/include/IGUIFontBitmap.h b/libraries/irrlicht-1.8/include/IGUIFontBitmap.h
index 36ae37e..c05a652 100644
--- a/libraries/irrlicht-1.8/include/IGUIFontBitmap.h
+++ b/libraries/irrlicht-1.8/include/IGUIFontBitmap.h
@@ -1,46 +1,46 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __I_GUI_FONT_BITMAP_H_INCLUDED__ 5#ifndef __I_GUI_FONT_BITMAP_H_INCLUDED__
6#define __I_GUI_FONT_BITMAP_H_INCLUDED__ 6#define __I_GUI_FONT_BITMAP_H_INCLUDED__
7 7
8#include "IGUIFont.h" 8#include "IGUIFont.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace gui 12namespace gui
13{ 13{
14 class IGUISpriteBank; 14 class IGUISpriteBank;
15 15
16//! Font interface. 16//! Font interface.
17class IGUIFontBitmap : public IGUIFont 17class IGUIFontBitmap : public IGUIFont
18{ 18{
19public: 19public:
20 20
21 //! Returns the type of this font 21 //! Returns the type of this font
22 virtual EGUI_FONT_TYPE getType() const { return EGFT_BITMAP; } 22 virtual EGUI_FONT_TYPE getType() const { return EGFT_BITMAP; }
23 23
24 //! returns the parsed Symbol Information 24 //! returns the parsed Symbol Information
25 virtual IGUISpriteBank* getSpriteBank() const = 0; 25 virtual IGUISpriteBank* getSpriteBank() const = 0;
26 26
27 //! returns the sprite number from a given character 27 //! returns the sprite number from a given character
28 virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0; 28 virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0;
29 29
30 //! Gets kerning values (distance between letters) for the font. If no parameters are provided, 30 //! Gets kerning values (distance between letters) for the font. If no parameters are provided,
31 /** the global kerning distance is returned. 31 /** the global kerning distance is returned.
32 \param thisLetter: If this parameter is provided, the left side kerning for this letter is added 32 \param thisLetter: If this parameter is provided, the left side kerning for this letter is added
33 to the global kerning value. For example, a space might only be one pixel wide, but it may 33 to the global kerning value. For example, a space might only be one pixel wide, but it may
34 be displayed as several pixels. 34 be displayed as several pixels.
35 \param previousLetter: If provided, kerning is calculated for both letters and added to the global 35 \param previousLetter: If provided, kerning is calculated for both letters and added to the global
36 kerning value. For example, EGFT_BITMAP will add the right kerning value of previousLetter to the 36 kerning value. For example, EGFT_BITMAP will add the right kerning value of previousLetter to the
37 left side kerning value of thisLetter, then add the global value. 37 left side kerning value of thisLetter, then add the global value.
38 */ 38 */
39 virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0; 39 virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0;
40}; 40};
41 41
42} // end namespace gui 42} // end namespace gui
43} // end namespace irr 43} // end namespace irr
44 44
45#endif 45#endif
46 46