IGUIFontBitmap.h 695 B

12345678910111213141516171819202122232425262728293031
  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. #pragma once
  5. #include "IGUIFont.h"
  6. namespace irr
  7. {
  8. namespace gui
  9. {
  10. class IGUISpriteBank;
  11. //! Font interface.
  12. class IGUIFontBitmap : public IGUIFont
  13. {
  14. public:
  15. //! Returns the type of this font
  16. EGUI_FONT_TYPE getType() const override { return EGFT_BITMAP; }
  17. //! returns the parsed Symbol Information
  18. virtual IGUISpriteBank *getSpriteBank() const = 0;
  19. //! returns the sprite number from a given character
  20. virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0;
  21. };
  22. } // end namespace gui
  23. } // end namespace irr