summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoye <joye>2014-05-16 20:17:59 (GMT)
committerjoye <joye>2014-05-16 20:17:59 (GMT)
commit9248e8754c3af5c9432322e337a05cf4492fef5c (patch)
treeb2fbb2b6f852a0310761de01115517940aab285f
parent7e1f750f32dc1097d7469106a088fcba9bd1ce84 (diff)
downloadblt-9248e8754c3af5c9432322e337a05cf4492fef5c.zip
blt-9248e8754c3af5c9432322e337a05cf4492fef5c.tar.gz
blt-9248e8754c3af5c9432322e337a05cf4492fef5c.tar.bz2
*** empty log message ***
-rw-r--r--src/bltGrAxisOp.C2
-rw-r--r--src/bltGrMisc.h13
-rw-r--r--src/bltGraph.C2
3 files changed, 1 insertions, 16 deletions
diff --git a/src/bltGrAxisOp.C b/src/bltGrAxisOp.C
index 5b830b4..7bb482e 100644
--- a/src/bltGrAxisOp.C
+++ b/src/bltGrAxisOp.C
@@ -511,7 +511,7 @@ int AxisActivateOp(Axis* axisPtr, Tcl_Interp* interp,
axisPtr->active_ = (string[0] == 'a') ? 1 : 0;
if (!ops->hide && axisPtr->use_) {
- graphPtr->flags |= DRAW_MARGINS | CACHE_DIRTY;
+ graphPtr->flags |= CACHE_DIRTY;
graphPtr->eventuallyRedraw();
}
diff --git a/src/bltGrMisc.h b/src/bltGrMisc.h
index 15fdbb4..d65768e 100644
--- a/src/bltGrMisc.h
+++ b/src/bltGrMisc.h
@@ -70,22 +70,10 @@ using namespace std;
* REDRAW_PENDING Non-zero means a DoWhenIdle handler has
* already been queued to redraw this window.
*
- * DRAW_MARGINS Indicates that the margins bordering
- * the plotting area need to be redrawn.
- * The possible reasons are:
- *
- * 1) an axis configuration changed
- * 2) an axis limit changed
- * 3) titles have changed
- * 4) window was resized.
- *
*/
#define REDRAW_PENDING (1<<2) /* 0x0004 */
-#define ACTIVE_PENDING (1<<3) /* 0x0008 */
#define MAP_ITEM (1<<4) /* 0x0010 */
-#define DIRTY (1<<5) /* 0x0020 */
-#define ACTIVE (1<<6) /* 0x0040 */
#define FOCUS (1<<7) /* 0x0080 */
#define MAP_ALL (1<<8) /* 0x0100 */
@@ -93,7 +81,6 @@ using namespace std;
#define RESET_AXES (1<<10)/* 0x0400 */
#define GET_AXIS_GEOMETRY (1<<11)/* 0x0800 */
-#define DRAW_MARGINS (1<<13)/* 0x2000 */
#define CACHE_DIRTY (1<<14)/* 0x4000 */
#define GRAPH_DELETED (1<<15)/* 0x4000 */
diff --git a/src/bltGraph.C b/src/bltGraph.C
index 7dd16d5..da0486c 100644
--- a/src/bltGraph.C
+++ b/src/bltGraph.C
@@ -564,8 +564,6 @@ void Graph::drawMargins(Drawable drawable)
TextStyle ts(this, &ops->titleTextStyle);
ts.drawText(drawable, ops->title, titleX_, titleY_);
}
-
- flags &= ~DRAW_MARGINS;
}
void Graph::printMargins(Blt_Ps ps)