implemented platform_support_ext as a subclass of platform_support - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/window.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年09月18日 17:46:13 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年09月18日 17:46:13 +0200
commit80eb1e25cb2925ee38672bd8187ce85e39e30258 (patch)
tree6dc3ccf5232db6f7354c225ccef536edeaf12bca /agg-plot/window.cpp
parentc6bb452d9c23ccf7b5512a7564854a1e321a54b2 (diff)
downloadgsl-shell-80eb1e25cb2925ee38672bd8187ce85e39e30258.tar.gz
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.
Diffstat (limited to 'agg-plot/window.cpp')
-rw-r--r--agg-plot/window.cpp 4
1 files changed, 2 insertions, 2 deletions
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<int> bbw(bb.x1 - 4, bb.y1 - 4, bb.x2 + 4, bb.y2 + 4);
agg::rect_base<int> dbox;
ref.dirty_rect.compose(dbox, bbw);
- platform_support_update_region (this, dbox);
+ update_region (dbox);
ref.dirty_rect.set(bbw);
}
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 14:42:46 +0000

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