]> git.tdb.fi Git - r2c2.git/blob - routebar.h
07ca3ea457db6a583f9ca01ab231747fa95b039a
[r2c2.git] / routebar.h
1 /* $Id$
2
3 This file is part of R²C²
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
6 */
7
8 #ifndef ROUTEBAR_H_
9 #define ROUTEBAR_H_
10
11 #include <msp/gltk/dropdown.h>
12 #include "toolbar.h"
13
14 class Routebar: public Toolbar, public sigc::trackable
15 {
16 private:
17         Designer &designer;
18         Msp::GLtk::Dropdown *drp_routes;
19
20 public:
21         Routebar(Designer &);
22
23 private:
24         void route_selected(unsigned, const std::string &);
25         void delete_route_clicked();
26         void route_added(R2C2::Route &);
27         void update_routes();
28 };
29
30 #endif