gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/plot.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/plot.h')
-rw-r--r--agg-plot/plot.h 6
1 files changed, 3 insertions, 3 deletions
diff --git a/agg-plot/plot.h b/agg-plot/plot.h
index e2b6467b..95430d20 100644
--- a/agg-plot/plot.h
+++ b/agg-plot/plot.h
@@ -34,8 +34,8 @@ class plot {
container(): vs(NULL), color(), outline(false) {};
- container(VertexSource* vs, agg::rgba8 c, bool as_outline):
- vs(vs), color(c), outline(as_outline)
+ container(VertexSource* vs, agg::rgba8 *c, bool as_outline):
+ vs(vs), color(*c), outline(as_outline)
{};
~container() {};
@@ -85,7 +85,7 @@ public:
bool use_units() const { return m_use_units; };
void set_units(bool use_units);
- void add(VertexSource* vs, agg::rgba8 color, bool outline = false)
+ void add(VertexSource* vs, agg::rgba8 *color, bool outline = false)
{
container d(vs, color, outline);
m_elements.add(d);
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月18日 11:07:42 +0000

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