From a4a0348e5f6017f1f8eddec42ccdb24d77628571 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Wed, 5 Apr 2006 15:57:22 +0000 Subject: [PATCH] Box lines drawing keys was changed from EditGo* to EditBlock* --- golded3/geedit2.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/golded3/geedit2.cpp b/golded3/geedit2.cpp index 6800e94..e1f28f3 100644 --- a/golded3/geedit2.cpp +++ b/golded3/geedit2.cpp @@ -1656,7 +1656,7 @@ void IEclass::DrawLines(gkey key) switch (key) { - case KK_EditGoRight: + case KK_EditBlockRight: drawx = -1; drawy = 0; if ((lines[0] == type1) || (!lines[0] && (lines[2] || lines[3]))) @@ -1668,7 +1668,7 @@ void IEclass::DrawLines(gkey key) break; - case KK_EditGoLeft: + case KK_EditBlockLeft: drawx = +1; drawy = 0; if ((lines[1] == type1) || (!lines[1] && (lines[2] || lines[3]))) @@ -1680,7 +1680,7 @@ void IEclass::DrawLines(gkey key) break; - case KK_EditGoDown: + case KK_EditBlockDown: drawx = 0; drawy = -1; if ((lines[2] == type1) || (!lines[2] && (lines[0] || lines[1]))) @@ -1692,7 +1692,7 @@ void IEclass::DrawLines(gkey key) break; - case KK_EditGoUp: + case KK_EditBlockUp: drawx = 0; drawy = +1; if ((lines[3] == type1) || (!lines[3] && (lines[0] || lines[1]))) @@ -1713,7 +1713,7 @@ void IEclass::DrawLines(gkey key) switch (key) { - case KK_EditGoRight: + case KK_EditBlockRight: if (col >= (maxcol-1)) { lines[1] = 0; gonext = false; } if (!drawx && gonext) @@ -1744,7 +1744,7 @@ void IEclass::DrawLines(gkey key) } break; - case KK_EditGoLeft: + case KK_EditBlockLeft: if (col <= mincol) { lines[0] = 0; gonext = false; } if (!drawx && gonext) @@ -1775,7 +1775,7 @@ void IEclass::DrawLines(gkey key) } break; - case KK_EditGoDown: + case KK_EditBlockDown: if (!currline->next) { lines[3] = 0; gonext = false; } if (!drawy && gonext) @@ -1806,7 +1806,7 @@ void IEclass::DrawLines(gkey key) } break; - case KK_EditGoUp: + case KK_EditBlockUp: if (!currline->prev) { lines[2] = 0; gonext = false; } if (!drawy && gonext) @@ -1863,10 +1863,10 @@ void IEclass::DrawLines(gkey key) { switch (key) { - case KK_EditGoRight: GoRight(); break; - case KK_EditGoLeft: GoLeft(); break; + case KK_EditBlockRight: GoRight(); break; + case KK_EditBlockLeft: GoLeft(); break; default: - (key == KK_EditGoDown) ? GoDown() : GoUp(); + (key == KK_EditBlockDown) ? GoDown() : GoUp(); if (col < pcol) { size_t len = pcol - col; @@ -1882,16 +1882,16 @@ void IEclass::DrawLines(gkey key) switch (key) { - case KK_EditGoRight: + case KK_EditBlockRight: if ((drawx == -1) && (lines[0] == type1)) drawx++; break; - case KK_EditGoLeft: + case KK_EditBlockLeft: if ((drawx == +1) && (lines[1] == type1)) drawx--; break; - case KK_EditGoDown: + case KK_EditBlockDown: if ((drawy == -1) && (lines[2] == type1)) drawy++; break; - case KK_EditGoUp: + case KK_EditBlockUp: if ((drawy == +1) && (lines[3] == type1)) drawy--; break; }