summaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-01-23 13:17:13 +0100
committerSebastian Geerken <devnull@localhost>2015-01-23 13:17:13 +0100
commit80229b2b5159af52b407fdf2f535d57c669bb667 (patch)
tree1119ca90bc237648a1dea0bd5392dbd759239bca /dw/textblock.hh
parent101b4e1ddcf164b55ccf06513fc007463bfc0662 (diff)
Simplified interrupted drawing. (Mouse events will follow.)
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index 143cede3..cc18cdab 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -650,8 +650,7 @@ protected:
void drawSpace (int wordIndex, core::View *view, core::Rectangle *area,
int xWidget, int yWidgetBase);
void drawLine (Line *line, core::View *view, core::Rectangle *area,
- core::StackingIteratorStack *iteratorStack,
- Widget **interruptedWidget);
+ core::DrawingContext *context);
void handleOOFReferences (core::StackingIteratorStack *iteratorStack,
Widget **interruptedWidget, bool backwards);
@@ -810,9 +809,8 @@ protected:
void alignLine (int lineIndex);
void calcTextOffset (int lineIndex, int totalWidth);
- void drawLevel (core::View *view, core::Rectangle *area,
- core::StackingIteratorStack *iteratorStack,
- Widget **interruptedWidget, int majorLevel);
+ void drawLevel (core::View *view, core::Rectangle *area, int level,
+ core::DrawingContext *context);
Widget *getWidgetAtPointLevel (int x, int y,
core::StackingIteratorStack *iteratorStack,