25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
678 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. //
  11. // The Forge class
  12. // ---------------
  13. // The Forge is a static class that manages fonts.
  14. //
  15. #if !defined __DH_FORGE_H__
  16. #define __DH_FORGE_H__
  17. #include "font.h"
  18. class Forge
  19. {
  20. public:
  21. static int Register(char const *path);
  22. static void Deregister(int id);
  23. static Font *GetFont(int id);
  24. };
  25. #endif // __DH_FORGE_H__