27#ifndef __PLATFORMFONT_H__
28#define __PLATFORMFONT_H__
30#include "../../objects/PFont.h"
31#include "../../objects/PColor.h"
32#include "../../utility/rc_ptrs.h"
33#include "../../base/PEBLObject.h"
34#include "../../utility/FontCache.h"
70 SDL_Surface *
RenderText(
const std::string & text);
74 unsigned int GetPosition(
const std::string & text,
unsigned int x);
75 virtual std::string
ObjectName()
const{
return "Platform Font";};
86 virtual std::ostream &
SendToStream(std::ostream& out)
const;
90 std::string StripText(
const std::string & text);
95 SDL_Color mSDL_FGColor;
96 SDL_Color mSDL_BGColor;