From 80eb1e25cb2925ee38672bd8187ce85e39e30258 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: 2010年9月18日 17:46:13 +0200 Subject: implemented platform_support_ext as a subclass of platform_support This code change is purely aesthetic but the code is improved in term of clarity. --- agg-plot/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agg-plot/window.cpp') diff --git a/agg-plot/window.cpp b/agg-plot/window.cpp index b3987f63..a6d3dbd7 100644 --- a/agg-plot/window.cpp +++ b/agg-plot/window.cpp @@ -177,7 +177,7 @@ void window::draw_slot_by_ref(window::ref& ref, bool update_req) if (update_req) { - platform_support_update_region (this, r); + update_region(r); } } @@ -252,7 +252,7 @@ window::refresh_slot_by_ref(ref& ref) agg::rect_base bbw(bb.x1 - 4, bb.y1 - 4, bb.x2 + 4, bb.y2 + 4); agg::rect_base dbox; ref.dirty_rect.compose(dbox, bbw); - platform_support_update_region (this, dbox); + update_region (dbox); ref.dirty_rect.set(bbw); } } -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /