summaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-10-15 15:36:41 +0200
committerSebastian Geerken <devnull@localhost>2013-10-15 15:36:41 +0200
commit78172bb4bd05f70d089a8025cd63fd72c7cccadc (patch)
tree568bee50a94553ad19afe38bd86d80594fb6280e /dw/textblock.hh
parent8de011d8d7357509c487b3de5e052dfc52730b2b (diff)
Constant strechability when line is not justified.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index aae0edad..48213e6c 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -573,8 +573,10 @@ protected:
void handleWordExtremes (int wordIndex);
void correctLastWordExtremes ();
- static int getShrinkability(struct Word *word);
- static int getStretchability(struct Word *word);
+ static int getSpaceShrinkability(struct Word *word);
+ static int getSpaceStretchability(struct Word *word);
+ static int getLineShrinkability(struct Word *someWord);
+ static int getLineStretchability(struct Word *someWord);
int hyphenateWord (int wordIndex);
void accumulateWordForLine (int lineIndex, int wordIndex);
void accumulateWordData (int wordIndex);