Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

GUILink.h

00001 // Copyright (C) 2001 Jean-Marc Valin
00002 
00003 #ifndef GUILINK_H
00004 #define GUILINK_H
00005 
00006 #include <gnome.h>
00007 //#include <tree.h>
00008 #include "UILink.h"
00009 #include <math.h>
00010 
00011 namespace FD {
00012 
00013 class UINode;
00014 class UINetwork;
00015 class UITerminal;
00016 
00017 
00018 class GUILink : public UILink  {
00019 
00020 protected:
00021 
00022    GnomeCanvasItem *item;
00023 
00024    GnomeCanvasGroup *group;
00025    
00026    const double MIN_POINT_DISTANCE;
00027 
00028 
00029 
00030 
00031 public:
00032    GUILink(UITerminal *_from, UITerminal *_to, char *points_str=NULL);
00033 
00034    ~GUILink();
00035 
00036    gint event(GdkEvent *event);
00037 
00038    void grab(guint32 etime);
00039 
00040    void move (bool isInput, double dx,double dy);
00041 
00042    void update();
00043 
00044 
00045 };
00046 
00047 }//namespace FD
00048 
00049 #endif

Generated on Wed Oct 5 14:28:55 2005 for FlowDesigner by  doxygen 1.4.4