Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

39 řádky
752 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright © 2010—2018 Sam Hocevar <sam@hocevar.net>
  5. //
  6. // Lol Engine is free software. It comes without any warranty, to
  7. // the extent permitted by applicable law. You can redistribute it
  8. // and/or modify it under the terms of the Do What the Fuck You Want
  9. // to Public License, Version 2, as published by the WTFPL Task Force.
  10. // See http://www.wtfpl.net/ for more details.
  11. //
  12. #pragma once
  13. //
  14. // The Forge class
  15. // ---------------
  16. // The Forge is a static class that manages fonts.
  17. //
  18. #include "font.h"
  19. namespace lol
  20. {
  21. class Forge
  22. {
  23. public:
  24. static int Register(std::string const &path);
  25. static void Deregister(int id);
  26. static Font *GetFont(int id);
  27. private:
  28. Forge() {}
  29. };
  30. } /* namespace lol */