Added 'paragraph height' property to split a text field into multiple boxes.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@666 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-09-02 21:00:49 +00:00
parent 749a04e822
commit 54fdc78858
5 changed files with 46 additions and 15 deletions
+2
View File
@@ -55,6 +55,7 @@ TextStyle::TextStyle(const TextFieldP& field)
, line_height_soft_max(0.0)
, line_height_hard_max(0.0)
, line_height_line_max(0.0)
, paragraph_height(-1)
, direction(LEFT_TO_RIGHT)
{}
@@ -114,6 +115,7 @@ IMPLEMENT_REFLECTION(TextStyle) {
REFLECT(line_height_soft_max);
REFLECT(line_height_hard_max);
REFLECT(line_height_line_max);
REFLECT(paragraph_height);
REFLECT_N("mask", mask_filename);
REFLECT(direction);
reflect_content(tag, *this);