summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2014-02-12 20:52:11 (GMT)
committerjoye <joye>2014-02-12 20:52:11 (GMT)
commit5d3da478d5c9ae6351b38b46b9a716176a817c65 (patch)
tree68d63c05589b5af17ba427862a1268aeb88d165e /src
parentcbe4559e2c40b8a75895763588f6ac2d464d23d8 (diff)
downloadblt-5d3da478d5c9ae6351b38b46b9a716176a817c65.zip
blt-5d3da478d5c9ae6351b38b46b9a716176a817c65.tar.gz
blt-5d3da478d5c9ae6351b38b46b9a716176a817c65.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrAxis.C8
-rw-r--r--src/bltGrElemLine.C29
-rw-r--r--src/bltGraph.C19
-rw-r--r--src/bltGraph.h2
4 files changed, 0 insertions, 58 deletions
diff --git a/src/bltGrAxis.C b/src/bltGrAxis.C
index 23e6a25..b5ebe9f 100644
--- a/src/bltGrAxis.C
+++ b/src/bltGrAxis.C
@@ -3890,14 +3890,6 @@ ConfigureAxis(Axis *axisPtr)
if (angle < 0.0f) {
angle += 360.0f;
}
- if (axisPtr->normalBg != NULL) {
- Blt_SetBackgroundChangedProc(axisPtr->normalBg, Blt_UpdateGraph,
- graphPtr);
- }
- if (axisPtr->activeBg != NULL) {
- Blt_SetBackgroundChangedProc(axisPtr->activeBg, Blt_UpdateGraph,
- graphPtr);
- }
axisPtr->tickAngle = angle;
ResetTextStyles(axisPtr);
diff --git a/src/bltGrElemLine.C b/src/bltGrElemLine.C
index 5e4f752..362093e 100644
--- a/src/bltGrElemLine.C
+++ b/src/bltGrElemLine.C
@@ -655,7 +655,6 @@ static ElementMapProc MapLineProc;
static DistanceProc DistanceToYProc;
static DistanceProc DistanceToXProc;
static DistanceProc DistanceToLineProc;
-static Blt_BackgroundChangedProc BackgroundChangedProc;
INLINE static int
Round(double x)
@@ -3083,30 +3082,6 @@ GetLineExtentsProc(Element *basePtr, Region2d *extsPtr)
/*
*---------------------------------------------------------------------------
*
- * BackgroundChangedProc
- *
- * Results:
- * None.
- *
- *---------------------------------------------------------------------------
- */
-/*ARGSUSED*/
-static void
-BackgroundChangedProc(ClientData clientData)
-{
- Element *elemPtr = clientData;
- Graph *graphPtr;
-
- graphPtr = elemPtr->obj.graphPtr;
- if (graphPtr->tkwin != NULL) {
- graphPtr->flags |= REDRAW_WORLD;
- Blt_EventuallyRedrawGraph(graphPtr);
- }
-}
-
-/*
- *---------------------------------------------------------------------------
- *
* ConfigureLineProc --
*
* Sets up the appropriate configuration parameters in the GC. It is
@@ -3149,10 +3124,6 @@ ConfigureLineProc(Graph *graphPtr, Element *basePtr)
stylePtr = Blt_Chain_GetValue(link);
stylePtr->penPtr = NORMALPEN(elemPtr);
- if (elemPtr->fillBg != NULL) {
- Blt_SetBackgroundChangedProc(elemPtr->fillBg, BackgroundChangedProc,
- elemPtr);
- }
/*
* Set the outline GC for this pen: GCForeground is outline color.
* GCBackground is the fill color (only used for bitmap symbols).
diff --git a/src/bltGraph.C b/src/bltGraph.C
index 6ff51c6..d05b7c4 100644
--- a/src/bltGraph.C
+++ b/src/bltGraph.C
@@ -557,14 +557,6 @@ static void ConfigureGraph(Graph* graphPtr)
}
graphPtr->drawGC = newGC;
- if (graphPtr->plotBg != NULL)
- Blt_SetBackgroundChangedProc(graphPtr->plotBg, Blt_UpdateGraph,
- graphPtr);
-
- if (graphPtr->normalBg != NULL)
- Blt_SetBackgroundChangedProc(graphPtr->normalBg, Blt_UpdateGraph,
- graphPtr);
-
// If the -inverted option changed, we need to readjust the pointers
// to the axes and recompute the their scales.
if (graphPtr->flags & RESET_AXES)
@@ -1007,17 +999,6 @@ static int nGraphOps = sizeof(graphOps) / sizeof(Blt_OpSpec);
// Support
-void Blt_UpdateGraph(ClientData clientData)
-{
- Graph* graphPtr = clientData;
-
- graphPtr->flags |= REDRAW_WORLD;
- if ((graphPtr->tkwin != NULL) && !(graphPtr->flags & REDRAW_PENDING)) {
- Tcl_DoWhenIdle(DisplayGraph, graphPtr);
- graphPtr->flags |= REDRAW_PENDING;
- }
-}
-
void Blt_EventuallyRedrawGraph(Graph* graphPtr)
{
if ((graphPtr->tkwin != NULL) &&
diff --git a/src/bltGraph.h b/src/bltGraph.h
index 2c8cd8a..9b5b2dd 100644
--- a/src/bltGraph.h
+++ b/src/bltGraph.h
@@ -657,8 +657,6 @@ extern Blt_BindTagProc Blt_AxisTags;
extern int Blt_GraphType(Graph *graphPtr);
-extern void Blt_UpdateGraph(ClientData clientData);
-
extern void Blt_GraphSetObjectClass(GraphObj *graphObjPtr,ClassId classId);
extern void Blt_MarkersToPostScript(Graph *graphPtr, Blt_Ps ps, int under);