Changeset 1616:78704393218d in lemon-0.x
- Timestamp:
- 08/07/05 20:06:41 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2123
- Location:
- gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph-displayer.cc
r1606 r1616 44 44 45 45 MainWin mainwin("Displayed Graph"); 46 47 if ((argc == 2) && (Glib::file_test(argv[1], Glib::FILE_TEST_IS_REGULAR))) 48 { 49 mainwin.readFile(argv[1]); 50 } 51 46 52 app.run(mainwin); 47 53 -
gui/main_win.cc
r1615 r1616 134 134 } 135 135 136 void MainWin::readFile(const std::string &file) 137 { 138 mapstorage.readFromFile(file); 139 mapstorage.file_name = file; 140 mapstorage.modified = false; 141 gd_canvas.drawGraph(); 142 mapwin.update(); 143 } 144 136 145 void MainWin::newFile() 137 146 { -
gui/main_win.h
r1607 r1616 22 22 23 23 MapStorage mapstorage; 24 25 void readFile(const std::string &); 24 26 25 27 protected:
Note: See TracChangeset
for help on using the changeset viewer.