COIN-OR::LEMON - Graph Library

Changeset 17:c95aff79e893 in glemon-0.x


Ignore:
Timestamp:
06/15/05 15:05:09 (14 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@1978
Message:

Broken edges are appearing.

Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r9 r17  
    1616        map_win.h \
    1717        edit_win.cc \
    18         edit_win.h
     18        edit_win.h \
     19        broken_edge.cc \
     20        broken_edge.h
     21
    1922
    2023gd_CXXFLAGS = $(GTK_CFLAGS)
  • graph_displayer_canvas.cc

    r16 r17  
    11#include <graph_displayer_canvas.h>
     2#include <broken_edge.h>
    23#include <math.h>
    34
     
    2324    coos.push_back(Gnome::Art::Point(cm[g.target(i)].x,cm[g.target(i)].y));
    2425   
    25     edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);
     26    //edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);
     27    edgesmap[i]=new BrokenEdge(displayed_graph, coos);
    2628    *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green");
    2729    edgesmap[i]->property_width_pixels().set_value(10);   
Note: See TracChangeset for help on using the changeset viewer.