Changeset 1468:d0ccb2fdeeff in lemon-0.x for gui/main_win.cc
- Timestamp:
- 06/10/05 13:58:03 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1948
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/main_win.cc
r1442 r1468 2 2 3 3 MainWin::MainWin(const std::string& title, Graph & graph, CoordinatesMap & cm, 4 MapStorage & ms):mapwin("Map Setup", ms, gd_canvas), gd_canvas(graph, cm, ms)4 MapStorage & ms):mapwin("Map Setup", ms, gd_canvas),editwin("Editorial Window", gd_canvas),gd_canvas(graph, cm, ms) 5 5 { 6 6 set_title (title); … … 35 35 ag->add( Gtk::Action::create("ShowMaps", "_Maps"), 36 36 sigc::mem_fun(*this, &MainWin::showMaps)); 37 ag->add( Gtk::Action::create("ShowEditorials", "_Editorials"), 38 sigc::mem_fun(*this, &MainWin::showEditorials)); 37 39 38 40 uim=Gtk::UIManager::create(); … … 61 63 " <menu action='ShowMenu'>" 62 64 " <menuitem action='ShowMaps'/>" 65 " <menuitem action='ShowEditorials'/>" 63 66 " </menu>" 64 67 " </menubar>" … … 108 111 } 109 112 113 void MainWin::showEditorials() 114 { 115 editwin.show(); 116 } 117 110 118 void MainWin::quit() 111 119 {
Note: See TracChangeset
for help on using the changeset viewer.