fixed alignment of empty text

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@129 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-19 17:53:02 +00:00
parent 6f852e5846
commit 2552afe8be
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class TextViewer {
vector<Line> lines; ///< The lines in the text box
/// Prepare the lines, layout the text
void prepareLines(RotatedDC& dc, const String& text, const TextStyle& style);
void prepareLines(RotatedDC& dc, const String& text, const TextStyle& style, Context& ctx);
/// Prepare the lines, layout the text; at a specific scale
bool prepareLinesScale(RotatedDC& dc, const vector<CharInfo>& chars, const TextStyle& style, bool stop_if_too_long);
/// Align the lines within the textbox