Rev | Line | |
---|
[1871] | 1 | // -*- C++ -*- // |
---|
| 2 | |
---|
| 3 | #ifndef ALGOBOX_H |
---|
| 4 | #define ALGOBOX_H |
---|
| 5 | |
---|
| 6 | class AlgoBox; |
---|
| 7 | |
---|
| 8 | #include <all_include.h> |
---|
| 9 | #include <libgnomecanvasmm.h> |
---|
| 10 | #include <libgnomecanvasmm/polygon.h> |
---|
| 11 | |
---|
| 12 | class AlgoBox : public Gtk::VBox |
---|
| 13 | { |
---|
[1876] | 14 | sigc::signal<void, std::string> signal_maplist_need; |
---|
[1871] | 15 | |
---|
[1876] | 16 | Gtk::ComboBoxText tabcbt; |
---|
| 17 | |
---|
| 18 | protected: |
---|
[1871] | 19 | Gtk::Label * label; |
---|
[1876] | 20 | std::vector<Gtk::ComboBoxText *> nodemapcbts; |
---|
| 21 | std::vector<Gtk::ComboBoxText *> edgemapcbts; |
---|
[1871] | 22 | |
---|
[1876] | 23 | public: |
---|
| 24 | AlgoBox(){}; |
---|
| 25 | AlgoBox(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>); |
---|
[1871] | 26 | |
---|
[1876] | 27 | virtual void init(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>); |
---|
[1871] | 28 | |
---|
[1876] | 29 | sigc::signal<void, std::string> signal_maplist_needed(); |
---|
| 30 | void emit_tab_change(); |
---|
[1871] | 31 | |
---|
[1876] | 32 | void update_tablist( std::vector< std::string > tl ); |
---|
| 33 | void update_maplist( std::vector< std::string >, std::vector< std::string >); |
---|
[1871] | 34 | |
---|
[1876] | 35 | void update_cbt( std::vector< std::string > tl, Gtk::ComboBoxText &); |
---|
| 36 | |
---|
| 37 | virtual void run(); |
---|
| 38 | |
---|
| 39 | virtual void build_box(); |
---|
[1871] | 40 | }; |
---|
| 41 | #endif //ALGOBOX_H |
---|
Note: See
TracBrowser
for help on using the repository browser.