]> git.tdb.fi Git - r2c2.git/blob - source/designer/routebar.h
Store zone blocks in order and use add_tracks to load them
[r2c2.git] / source / designer / routebar.h
1 #ifndef ROUTEBAR_H_
2 #define ROUTEBAR_H_
3
4 #include <msp/gltk/dropdown.h>
5 #include "toolbar.h"
6
7 class Routebar: public Toolbar, public sigc::trackable
8 {
9 private:
10         Designer &designer;
11         Msp::GLtk::FunctionListData<R2C2::Route *> routes;
12         Msp::GLtk::Dropdown *drp_routes;
13
14 public:
15         Routebar(Designer &);
16
17 private:
18         void route_selected(unsigned);
19         void delete_route_clicked();
20         void track_chain_added(R2C2::TrackChain &);
21         void track_chain_removed(R2C2::TrackChain &);
22         void route_name_changed(const std::string &, R2C2::Route *);
23 };
24
25 #endif