COIN-OR::LEMON - Graph Library

Changeset 47:9a0e6e92d06c in glemon-0.x for graph_displayer_canvas-event.cc


Ignore:
Timestamp:
07/28/05 16:31:32 (14 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2103
Message:

Redundant functions from main_win disappeared, entry is now bigger, properties refresh upon edition, edgewidth is zoomable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graph_displayer_canvas-event.cc

    r46 r47  
    590590                    entry_coos.y-=edgetextmap[active_edge]->property_text_height().get_value()*1.5/2;
    591591                    canvasentrywidget=new Gnome::Canvas::Widget(displayed_graph, entry_coos.x, entry_coos.y, entrywidget);
    592                     canvasentrywidget->property_width().set_value(edgetextmap[active_edge]->property_text_width().get_value()*1.5);
     592                    canvasentrywidget->property_width().set_value(edgetextmap[active_edge]->property_text_width().get_value()*4);
    593593                    canvasentrywidget->property_height().set_value(edgetextmap[active_edge]->property_text_height().get_value()*1.5);
    594594                  }
     
    768768                        edgetextmap[active_edge]->property_text().set_value(ostr.str());
    769769                        (*(mapstorage.edgemap_storage)[edgemap_to_edit])[active_edge]=mapvalue_d;
     770                        mapwin->updateEdge(active_edge);
    770771                        break;
    771772                      case NODE_MAP_EDIT:
    772773                        nodetextmap[active_node]->property_text().set_value(ostr.str());
    773774                        (*(mapstorage.nodemap_storage)[nodemap_to_edit])[active_node]=mapvalue_d;
     775                        mapwin->updateNode(active_node);
    774776                        break;
    775777                      default:
Note: See TracChangeset for help on using the changeset viewer.