]> git.tdb.fi Git - r2c2.git/blob - source/designer/zonebar.h
Strip Id tags and copyright notices from files
[r2c2.git] / source / designer / zonebar.h
1 #ifndef ZONEBAR_H_
2 #define ZONEBAR_H_
3
4 #include <msp/gltk/dropdown.h>
5 #include "toolbar.h"
6
7 class Designer;
8
9 class Zonebar: public Toolbar, public sigc::trackable
10 {
11 private:
12         Designer &designer;
13         Msp::GLtk::Dropdown *drp_groups;
14         Msp::GLtk::Dropdown *drp_numbers;
15
16 public:
17         Zonebar(Designer &);
18
19 private:
20         void zone_added(R2C2::Zone &);
21         void zone_renamed(const std::string &, const std::string &, unsigned);
22         void group_selected(unsigned, const std::string &);
23         void number_selected(unsigned, const std::string &);
24         void delete_zone_clicked();
25         void update_groups();
26         void update_numbers(const std::string &);
27 };
28
29 #endif