#ifndef TEXT_ELEMENT_ID_HXX
#define TEXT_ELEMENT_ID_HXX
+#include <pangomm/item.h>
+#include <pangomm/glyphstring.h>
#include <boost/shared_ptr.hpp>
#include "text_element_anchor.hxx"
Anchor(range, bold, id), id_map_(id_map) {
}
virtual ~ID() {}
-
protected:
- /*! @brief set attributes for drawing the ID text element.
- *
- * @param list
- */
- virtual void set_attributes(Pango::AttrList& list) const;
+ virtual void do_draw_glyphs(text_view::DrawingSet&, const Pango::Item&,
+ const Pango::GlyphString&, double x, double y,
+ bool in_selection) const;
private:
virtual ID* do_clone() const { return new ID(*this); }
-
boost::shared_ptr<const IDMap> id_map_;
};