1 #include <boost/python.hpp>
2 using namespace boost::python;
3 #include <boost/shared_ptr.hpp>
5 #include "alg/annotation_colors.hpp"
6 #include "alg/glsequence.hpp"
7 #include "alg/sequence.hpp"
9 void export_glsequence()
11 class_<GlSequence, bases<Sequence> >("GlSequence",
14 boost::shared_ptr<AnnotationColors>
16 .def(init<GlSequence &>())
17 .def("draw", &GlSequence::draw)
18 .add_property("x", &GlSequence::x, &GlSequence::setX)
19 .add_property("y", &GlSequence::y, &GlSequence::setY)
20 .add_property("size", &GlSequence::size)