/* * draw-text.h * This file is part of Find Four * * Copyright (C) 2015 - Félix Arreola Rodríguez * * Find Four is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Find Four is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Find Four. If not, see . */ #ifndef __DRAW_TEXT_H__ #define __DRAW_TEXT_H__ #include #include SDL_Surface *draw_text (TTF_Font *font, const char *cadena, SDL_Color *color); SDL_Surface *draw_text_with_shadow (TTF_Font *font, int outline, const char *text, SDL_Color foreground, SDL_Color background); #endif /* __DRAW_TEXT_H__ */