aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
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/fltkui.cc
parent101b4e1ddcf164b55ccf06513fc007463bfc0662 (diff)
Simplified interrupted drawing. (Mouse events will follow.)
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index 29008055..6099fd69 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -223,7 +223,8 @@ void FltkResource::sizeAllocate (core::Allocation *allocation)
DBG_OBJ_LEAVE ();
}
-void FltkResource::draw (core::View *view, core::Rectangle *area)
+void FltkResource::draw (core::View *view, core::Rectangle *area,
+ core::DrawingContext *context)
{
FltkView *fltkView = (FltkView*)view;
if (fltkView->usesFltkWidgets () && this->view == fltkView) {
@@ -324,9 +325,11 @@ template <class I> void FltkSpecificResource<I>::sizeAllocate (core::Allocation
}
template <class I> void FltkSpecificResource<I>::draw (core::View *view,
- core::Rectangle *area)
+ core::Rectangle *area,
+ core::DrawingContext
+ *context)
{
- FltkResource::draw (view, area);
+ FltkResource::draw (view, area, context);
}
template <class I> void FltkSpecificResource<I>::setStyle (core::style::Style