diff -r a979fcdda073 -r 8e27998e9b1d gui/gui_writer.cc --- a/gui/gui_writer.cc Wed Jun 21 08:35:23 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#include "gui_writer.h" -#include "xml.h" -#include "mapstorage.h" -#include -#include - -std::string GuiWriter::header() -{ - return "@gui"; -} - -void GuiWriter::write(std::ostream& os) -{ - XmlIo x(os); - std::map > m; - for (EdgeIt e(mapstorage->graph); e != INVALID; ++e) - { - int edgeid = (int)(*(mapstorage->edgemap_storage["label"]))[e]; - m[edgeid] = mapstorage->arrow_pos[e]; - } - x("arrow_pos", m); -} - -GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms) -{ -}