Changeset 37:1dc5b49457c0 in glemon-0.x
- Timestamp:
- 07/25/05 12:33:03 (20 years ago)
- Branch:
- gui
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2088
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
all_include.h
r36 r37 23 23 #define WIN_WIDTH 900 24 24 #define WIN_HEIGHT 600 25 #define ALMOST_ONE 0.9999999999 999925 #define ALMOST_ONE 0.9999999999 26 26 27 27 #ifndef MAIN_PART -
graph_displayer_canvas-event.cc
r35 r37 804 804 } 805 805 806 void GraphDisplayerCanvas::addNewEdgeMap() 807 { 808 std::cout << "Add New EdgeMap is not yet implemented." << std::endl; 809 } 810 811 void GraphDisplayerCanvas::addNewNodeMap() 812 { 813 std::cout << "Add New NodeMap is not yet implemented." << std::endl; 814 } 815 -
graph_displayer_canvas.h
r35 r37 110 110 int getActualTool(); 111 111 112 ///creates a new Nodemap 113 void addNewNodeMap(); 114 ///creates a new Edgemap 115 void addNewEdgeMap(); 116 112 117 private: 113 118 ///Deletes the given element. -
main_win.cc
r32 r37 50 50 ag->add( Gtk::Action::create("EditNodeMap", Gtk::Stock::PREFERENCES), 51 51 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 5) ); 52 ag->add( Gtk::Action::create("AddEdgeMap", Gtk::Stock::NEW), 53 sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::addNewEdgeMap ) ); 54 ag->add( Gtk::Action::create("AddNodeMap", Gtk::Stock::NEW), 55 sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::addNewNodeMap ) ); 52 56 53 57 uim=Gtk::UIManager::create(); … … 95 99 " <toolitem action='EditEdgeMap' />" 96 100 " <toolitem action='EditNodeMap' />" 101 " <toolitem action='AddEdgeMap' />" 102 " <toolitem action='AddNodeMap' />" 97 103 " </toolbar>" 98 104 "</ui>";
Note: See TracChangeset
for help on using the changeset viewer.