After this short break, I have to announce that this project is no longer called openth. The name was stereotypical and conflicted with Open Theme Hospital. Thus, gentlemen, we are now working on Seiyou (西洋). Thanks to lachs0r for this wonderful suggestion. Also the lincense has changed. Farewell, gnutardedness, hello MIT. I feel somehow relieved now after freeing the project of nearly one thousand lines.
24 lines
No EOL
468 B
C
24 lines
No EOL
468 B
C
/*
|
|
* This software is licensed under the terms of the MIT-License
|
|
* See COPYING for further information.
|
|
* ---
|
|
* Copyright (C) 2011, Lukas Weber <laochailan@web.de>
|
|
*/
|
|
|
|
#ifndef FONT_H
|
|
#define FONT_H
|
|
|
|
#include <SDL/SDL.h>
|
|
#include <SDL/SDL_ttf.h>
|
|
#include "texture.h"
|
|
|
|
Texture *load_text(const char *text, TTF_Font *font);
|
|
void draw_text(const char *text, int x, int y, TTF_Font *font);
|
|
|
|
struct Fonts {
|
|
TTF_Font *biolinum;
|
|
};
|
|
|
|
extern struct Fonts _fonts;
|
|
|
|
#endif |