Changeset 165:2cd447b0bd3a in glemon-0.x for dijkstrabox.h
- Timestamp:
- 10/13/06 17:31:58 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2990
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dijkstrabox.h
r163 r165 8 8 #include <all_include.h> 9 9 #include <algobox.h> 10 #include <lemon/dijkstra.h>11 10 #include <libgnomecanvasmm.h> 12 11 #include <libgnomecanvasmm/polygon.h> … … 24 23 class DijkstraBox : public AlgoBox 25 24 { 25 protected: 26 26 ///Shows result of Dijkstra algorithm 27 27 Gtk::Label resultlabel; … … 37 37 Gtk::ComboBoxText target; 38 38 39 ///Gets to and from node from combobox 40 void get_from_to(Node &, Node &, Graph &); 41 39 42 public: 40 43 ///Calls \ref AlgoBox::init function to initialize class properly, automatically. … … 47 50 ///As postprocess this bool map should be transformed to 48 51 ///double map. 49 v oid run();52 virtual void run(); 50 53 51 54 ///Builds the graphical design of the interface. 52 v oid build_box();55 virtual void build_box(); 53 56 54 57 void maplists_updated(); 55 58 }; 59 60 class SuurballeBox : public DijkstraBox 61 { 62 ///number of paths to find 63 int num; 64 65 ///Widget to set numbewr of paths to find 66 Gtk::SpinButton * num_set; 67 68 ///Holder widget 69 Gtk::HBox hbox; 70 71 public: 72 SuurballeBox(std::vector<std::string> t); 73 void run(); 74 void build_box(); 75 }; 56 76 #endif //DIJKSTRABOX_H
Note: See TracChangeset
for help on using the changeset viewer.