gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas-window-cpp.h
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年08月01日 19:48:08 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年08月01日 19:48:08 +0200
commit5a132340703270e5de65fed6499e475846a56dd5 (patch)
tree963941b3abe7a99cbce0edd4fc17d18c39be93ac /agg-plot/canvas-window-cpp.h
parent975bbb0229edfb8ca2be826994f5422a0c8d6c38 (diff)
downloadgsl-shell-5a132340703270e5de65fed6499e475846a56dd5.tar.gz
complete the template code for drawable objects.
The class hierarchy is completely parametrized using templates. The Lua binding are there but not tested.
Diffstat (limited to 'agg-plot/canvas-window-cpp.h')
-rw-r--r--agg-plot/canvas-window-cpp.h 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/canvas-window-cpp.h b/agg-plot/canvas-window-cpp.h
index 673ae8f7..df9f02e2 100644
--- a/agg-plot/canvas-window-cpp.h
+++ b/agg-plot/canvas-window-cpp.h
@@ -7,7 +7,7 @@
#include "defs.h"
#include "canvas-window.h"
-#include "vertex-source.h"
+#include "drawable.h"
#include "canvas.h"
#include "utils.h"
@@ -59,7 +59,7 @@ public:
void start_new_thread (lua_State *L);
- bool draw(vertex_source *obj, agg::rgba8 *color, bool as_line)
+ bool draw(drawable *obj, agg::rgba8 *color, bool as_line)
{
if (! m_canvas)
return false;
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月14日 19:16:52 +0000

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