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 16
1 files changed, 8 insertions, 8 deletions
diff --git a/agg-plot/plot.h b/agg-plot/plot.h
index 539b29c0..1bda3c8c 100644
--- a/agg-plot/plot.h
+++ b/agg-plot/plot.h
@@ -24,7 +24,7 @@
#include <new>
#include "utils.h"
-#include "my_list.h"
+#include "list.h"
#include "strpp.h"
#include "canvas.h"
#include "units.h"
@@ -92,7 +92,7 @@ class plot {
};
public:
- typedef pod_list<item> iterator;
+ typedef list<item> iterator;
typedef virtual_canvas<VertexSource> canvas_type;
enum axis_e { x_axis, y_axis };
@@ -276,7 +276,7 @@ protected:
item_list *m_current_layer;
agg::trans_affine m_trans;
- pod_list<item> *m_drawing_queue;
+ list<item> *m_drawing_queue;
bool m_clip_flag;
@@ -326,21 +326,21 @@ template <class VS, class RM>
void plot<VS,RM>::add(VS* vs, agg::rgba8& color, bool outline)
{
item d(vs, color, outline);
- pod_list<item> *new_node = new pod_list<item>(d);
- m_drawing_queue = pod_list<item>::push_back(m_drawing_queue, new_node);
+ list<item> *new_node = new list<item>(d);
+ m_drawing_queue = list<item>::push_back(m_drawing_queue, new_node);
RM::acquire(vs);
}
template <class VS, class RM>
void plot<VS,RM>::push_drawing_queue()
{
- for (pod_list<item> *c = m_drawing_queue; c != 0; c = c->next())
+ for (list<item> *c = m_drawing_queue; c != 0; c = c->next())
{
m_current_layer->add(c->content());
}
while (m_drawing_queue)
- m_drawing_queue = list::pop(m_drawing_queue);
+ m_drawing_queue = list<item>::pop(m_drawing_queue);
}
template <class VS, class RM>
@@ -350,7 +350,7 @@ void plot<VS,RM>::clear_drawing_queue()
{
item& d = m_drawing_queue->content();
RM::dispose(d.vs);
- m_drawing_queue = list::pop(m_drawing_queue);
+ m_drawing_queue = list<item>::pop(m_drawing_queue);
}
}
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月14日 13:48:04 +0000

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