X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fdesigner%2Ftrackwrap.h;h=36285150dc58b619946f74efb597d3e81ee6f196;hb=277e8e7e4230aa8867f507ace62476afe575cff1;hp=09bacda3e7f8be18ba9dd43ffa802b93b2c89255;hpb=897f9bae5f647bae43e9786796eb9ea18325ec17;p=r2c2.git diff --git a/source/designer/trackwrap.h b/source/designer/trackwrap.h index 09bacda..3628515 100644 --- a/source/designer/trackwrap.h +++ b/source/designer/trackwrap.h @@ -1,6 +1,6 @@ /* $Id$ -This file is part of the MSP Märklin suite +This file is part of R²C² Copyright © 2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -10,7 +10,7 @@ Distributed under the GPL #include #include -#include "libmarklin/track.h" +#include "libr2c2/track.h" class Designer; class Selection; @@ -20,23 +20,24 @@ class TrackWrap: public Msp::GL::Renderable private: struct Wrap { - Marklin::Track *track; + R2C2::Track *track; Msp::GL::Mesh *mesh; }; Designer &designer; Selection &selection; - std::map meshes; + std::map meshes; std::list wraps; public: TrackWrap(Designer &, Selection &); + ~TrackWrap(); virtual void render(const Msp::GL::Tag &) const; private: void selection_changed(); - Msp::GL::Mesh &get_mesh(const Marklin::TrackType &); + Msp::GL::Mesh &get_mesh(const R2C2::TrackType &); }; #endif