You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
479 B

#pragma once
#include <SDL.h>
#include "utils/sdl_ptrs.h"
namespace devilution {
struct TtfSurfaceCache {
SDLSurfaceUniquePtr text;
SDLSurfaceUniquePtr shadow;
};
void DrawTTF(const char *text, const SDL_Rect &rect, int flags,
const SDL_Color &text_color, const SDL_Color &shadow_color,
TtfSurfaceCache &render_cache);
void DrawArtStr(const char *text, const SDL_Rect &rect, int flags, bool drawTextCursor = false);
} // namespace devilution