[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/liblines Lines.cxx Lines.hxx
From: |
Matti Katila |
Subject: |
[Gzz-commits] gzz/gfx/liblines Lines.cxx Lines.hxx |
Date: |
Mon, 20 Jan 2003 03:28:19 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Matti Katila <address@hidden> 03/01/20 03:28:17
Modified files:
gfx/liblines : Lines.cxx Lines.hxx
Log message:
some thinking..
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/liblines/Lines.cxx.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/liblines/Lines.hxx.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: gzz/gfx/liblines/Lines.cxx
diff -u gzz/gfx/liblines/Lines.cxx:1.16 gzz/gfx/liblines/Lines.cxx:1.17
--- gzz/gfx/liblines/Lines.cxx:1.16 Wed Dec 18 11:16:51 2002
+++ gzz/gfx/liblines/Lines.cxx Mon Jan 20 03:28:17 2003
@@ -166,15 +166,36 @@
}
- ContinuousLine::ContinuousLine(int textId, string corner_behaviour, float
linewidth) {}
- ContinuousLine::~ContinuousLine() {}
+ /* -------------------------------------------------------
+ *
+ * Continuous Line
+ * ===============
+ */
- void ContinuousLine::add(float * point) {
+ ContinuousLine::ContinuousLine(int textId,
+ string corner_behaviour,
+ float linewidth): drawNotDone(true)
+ {
+ if (corner_behaviour == "foo"){}
+
+
+ }
+
+ ContinuousLine::~ContinuousLine() {
+ if (drawNotDone) draw();
}
- void ContinuousLine::makeChain() {}
+ void ContinuousLine::add(float x, float y, float z) {
+ cout << "foo..\n";
+ }
+
+ void ContinuousLine::makeChain() {
+ // not implemented
+ }
- void ContinuousLine::draw() {}
+ void ContinuousLine::draw() {
+ drawNotDone = false;
+ }
Index: gzz/gfx/liblines/Lines.hxx
diff -u gzz/gfx/liblines/Lines.hxx:1.6 gzz/gfx/liblines/Lines.hxx:1.7
--- gzz/gfx/liblines/Lines.hxx:1.6 Wed Dec 18 11:16:51 2002
+++ gzz/gfx/liblines/Lines.hxx Mon Jan 20 03:28:17 2003
@@ -42,7 +42,7 @@
class ContinuousLine {
private:
vector<float> points;
- bool foo;
+ bool drawNotDone;
public:
/** ContinuousLine is line constructed from various points.
* It bends in given points.
@@ -56,7 +56,7 @@
/** Add new point at the end of line.
*/
- void add(float * point);
+ void add(float x, float y, float z);
/** Join first and last point.
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gfx/liblines Lines.cxx Lines.hxx,
Matti Katila <=