X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Froutebar.h;h=b2c9c8daeacded6241de9bac05c1b62525c4cb00;hb=28947c087bd2d05c1850e320844f2e33fc0fc253;hp=07ca3ea457db6a583f9ca01ab231747fa95b039a;hpb=4e406ca29b1bb87a8e20324e5cf54f5b5de6afb8;p=r2c2.git diff --git a/source/designer/routebar.h b/source/designer/routebar.h index 07ca3ea..b2c9c8d 100644 --- a/source/designer/routebar.h +++ b/source/designer/routebar.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef ROUTEBAR_H_ #define ROUTEBAR_H_ @@ -15,16 +8,18 @@ class Routebar: public Toolbar, public sigc::trackable { private: Designer &designer; + Msp::GLtk::FunctionListData routes; Msp::GLtk::Dropdown *drp_routes; public: Routebar(Designer &); private: - void route_selected(unsigned, const std::string &); + void route_selected(unsigned); void delete_route_clicked(); - void route_added(R2C2::Route &); - void update_routes(); + void track_chain_added(R2C2::TrackChain &); + void track_chain_removed(R2C2::TrackChain &); + void route_name_changed(const std::string &, R2C2::Route *); }; #endif