Removed TextBackground, it never worked anyway

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@453 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-06-30 18:19:44 +00:00
parent bc6aa2daa8
commit 04f589637b
2 changed files with 0 additions and 20 deletions
-11
View File
@@ -47,15 +47,6 @@ class TextField : public Field {
// ----------------------------------------------------------------------------- : TextStyle
/// Background behind text
class TextBackground : public IntrusivePtrBase<TextBackground> {
public:
ScriptableImage image; ///< background image, stretched to text size
RealSize displacement;
private:
DECLARE_REFLECTION();
};
/// The Style for a TextField
class TextStyle : public Style {
public:
@@ -78,8 +69,6 @@ class TextStyle : public Style {
String mask_filename; ///< Filename of the mask
ContourMask mask; ///< Mask to fit the text to (may be null)
Direction direction; ///< In what direction is text layed out?
TextBackgroundP text_background; ///< Image behind the text
TextBackgroundP text_background_left, text_background_right;
// information from text rendering
double content_width, content_height; ///< Size of the rendered text
int content_lines; ///< Number of rendered lines