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/canvas-window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agg-plot/canvas-window.cpp') diff --git a/agg-plot/canvas-window.cpp b/agg-plot/canvas-window.cpp index f42a00a2..794ba3e5 100644 --- a/agg-plot/canvas-window.cpp +++ b/agg-plot/canvas-window.cpp @@ -95,7 +95,7 @@ canvas_window::start_new_thread (lua_State *L) void * canvas_thread_function (void *_win) { - platform_support_prepare(); + platform_support_ext::prepare(); canvas_window *win = (canvas_window *) _win; @@ -126,7 +126,7 @@ canvas_window_close (lua_State *L) canvas_window *win = object_check(L, 1, GS_CANVAS_WINDOW); win->lock(); if (win->status == canvas_window::running) - win->close(); + win->close_request(); win->unlock(); return 0; } -- cgit v1.2.3

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