Changeset 162:aaa517c9dc23 in glemon-0.x
- Timestamp:
- 10/13/06 15:53:10 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2986
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r160 r162 45 45 gettext.h \ 46 46 design_win.h \ 47 design_win.cc 47 design_win.cc \ 48 dijkstrabox.h \ 49 dijkstrabox.cc 48 50 49 51 glemon_CXXFLAGS = $(GTK_CFLAGS) $(LEMON_CFLAGS) -
algobox.cc
r116 r162 82 82 //update_cbt(eml, *(edgemapcbts[i])); 83 83 } 84 signal_maplist_updated.emit(); 84 85 } 85 86 -
algobox.h
r125 r162 45 45 ///In that case will be this signal emitted. 46 46 sigc::signal<void, std::string, bool> signal_newmapwin_need; 47 48 ///Signal emitted when maplists are updated after tab change 49 sigc::signal<void> signal_maplist_updated; 50 47 51 48 52 protected: … … 97 101 ///Emitted if user wants to create a new map for inpuit or output. 98 102 sigc::signal<void, std::string, bool> signal_newmapwin_needed(){return signal_newmapwin_need;}; 103 104 sigc::signal<void> signal_upon_maplist_updated(){return signal_maplist_updated;}; 99 105 100 106 ///Emits signal that requires list of maps for the recently selected \ref NoteBookTab. -
algowin.cc
r114 r162 1 1 #include <algowin.h> 2 2 #include <kruskalbox.h> 3 #include <dijkstrabox.h> 3 4 4 5 sigc::signal<void, AlgoWin *> AlgoWin::signal_closing() … … 39 40 ab=new KruskalBox(tabnames); 40 41 set_title("Kruskal Algorithm"); 42 break; 43 case 2: 44 ab=new DijkstraBox(tabnames); 45 set_title("Dijkstra Algorithm"); 41 46 break; 42 47 default: -
main_win.cc
r160 r162 108 108 ag->add( Gtk::Action::create("AlgoKruskal", _("_Kruskal")), 109 109 sigc::bind( sigc::mem_fun ( *this, &MainWin::createAlgoWin ), 1) ); 110 ag->add( Gtk::Action::create("AlgoDijkstra", _("_Dijkstra")), 111 sigc::bind( sigc::mem_fun ( *this, &MainWin::createAlgoWin ), 2) ); 110 112 111 113 Gtk::RadioAction::Group tool_group; … … 160 162 " <menuitem action='AlgoGeneral'/>" 161 163 " <menuitem action='AlgoKruskal'/>" 164 " <menuitem action='AlgoDijkstra'/>" 162 165 " </menu>" 163 166 " </menubar>"
Note: See TracChangeset
for help on using the changeset viewer.