diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-09 11:44:22 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-09 11:44:22 +0200 |
commit | c042eb7a412bc44c66c9e316a1f85cff3fc01727 (patch) | |
tree | 2e5fb9e08f65a6f66bdc14e61b4c4a7c7a47b071 /dw/textblock.hh | |
parent | 8ed1dac050a856b58c41553727a3ffd36d64c80c (diff) |
Empty lines are how (in most cases) higher than one pixel.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index 7b62dd3b..c83c7c83 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -544,6 +544,7 @@ protected: outOfFlowMgr->get...Border, or 0, if outOfFlowMgr is NULL */ + int newLineLeftFloatHeight, newLineRightFloatHeight; // Ascent and descent of the newly constructed line, i. e. maximum // of all words ascent/descent since the end of the last line. Not @@ -566,7 +567,7 @@ protected: void getWordExtremes (Word *word, core::Extremes *extremes); void justifyLine (Line *line, int diff); Line *addLine (int firstWord, int lastWord, int newLastOofPos, - bool temporary); + bool temporary, int minHeight); void calcWidgetSize (core::Widget *widget, core::Requisition *size); void rewrap (); void fillParagraphs (); |