From 1afc8a529f52c9b50b85a16f6d5f4e2bd38f516e Mon Sep 17 00:00:00 2001 From: Lothar Behrens Date: Fri, 24 Feb 1995 21:03:00 +0100 Subject: [PATCH] Initial commit with date and time out of DISK_055 backup --- KANTE.H | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 KANTE.H diff --git a/KANTE.H b/KANTE.H new file mode 100644 index 0000000..4ded43f --- /dev/null +++ b/KANTE.H @@ -0,0 +1,37 @@ +// Das Objekt Kante stellt eine Verbindung von +// zwei Knoten dar, wobei Daten wie Entfernung +// usw. in der Kante gespeichert werden. + +#ifndef __KANTE_H__ +#define __KANTE_H__ + +class CDrawView; +class CDrawDoc; +class CDrawNode; + +class CKante : public CDrawRect +{ +protected: + DECLARE_SERIAL(CKante); + CKante(); + +public: + CKante(const CRect& position); + +// Implementation +public: + virtual void Serialize(CArchive& ar); + virtual void Draw(CDC* pDC); + +protected: + + CDrawNode* node_AB; + int entfernung_AB; + + CDrawNode* node_BA; + int entfernung_BA; + + friend class CNodeTool; +} + +#endif // Kante