aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-05-20 22:47:25 +0200
committerSebastian Geerken <devnull@localhost>2015-05-20 22:47:25 +0200
commitbb6b9a5275d148782cb81811461d5063de38cb92 (patch)
tree04fdfdae48bb291c7c26a87d6044fd3c1ff122a7 /dw/textblock.hh
parent150606242d7da8d9c616e05bdf8a3e92de428c8a (diff)
Size requisitions depending on positions (SRDOP): added method signatures.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index db5d845f..28a9c4f4 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -620,9 +620,10 @@ protected:
int hoverLink; /* The link under the mouse pointer */
void queueDrawRange (int index1, int index2);
+ bool needsPositionForSize ();
int calcVerticalBorder (int widgetPadding, int widgetBorder,
int widgetMargin, int lineBorderTotal,
- int lineMarginTotal);
+ int lineMarginTotal);
void getWordExtremes (Word *word, core::Extremes *extremes);
void justifyLine (Line *line, int diff);
Line *addLine (int firstWord, int lastWord, int newLastOofPos,
@@ -814,7 +815,9 @@ protected:
Widget *getWidgetAtPointLevel (int x, int y, int level,
core::GettingWidgetAtPointContext *context);
- void sizeRequestImpl (core::Requisition *requisition);
+ void sizeRequestImpl (core::Requisition *requisition, bool posDefined, int x,
+ int y);
+ Widget *sizeRequestReference ();
void getExtremesImpl (core::Extremes *extremes);
void sizeAllocateImpl (core::Allocation *allocation);