summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2014-04-08 21:22:08 (GMT)
committerjoye <joye>2014-04-08 21:22:08 (GMT)
commita88e2c200e0d32adef08824e911542b08b618d03 (patch)
tree53b6d5fc591450427e45c9fb52f034edd7590984 /src
parent11da9207f0235c018543dcb635a23c374c76a5f7 (diff)
downloadblt-a88e2c200e0d32adef08824e911542b08b618d03.zip
blt-a88e2c200e0d32adef08824e911542b08b618d03.tar.gz
blt-a88e2c200e0d32adef08824e911542b08b618d03.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrLegdOp.C3
-rw-r--r--src/bltGraph.C4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/bltGrLegdOp.C b/src/bltGrLegdOp.C
index a2f4c82..7a35be2 100644
--- a/src/bltGrLegdOp.C
+++ b/src/bltGrLegdOp.C
@@ -38,7 +38,6 @@ extern "C" {
extern void SelectEntry(Legend* legendPtr, Element* elemPtr);
extern void DeselectElement(Legend* legendPtr, Element* elemPtr);
extern int EntryIsSelected(Legend* legendPtr, Element* elemPtr);
-extern void ConfigureLegend(Graph* graphPtr);
extern int GetElementFromObj(Graph* graphPtr, Tcl_Obj *objPtr,
Element **elemPtrPtr);
extern int SelectRange(Legend* legendPtr, Element *fromPtr, Element *toPtr);
@@ -120,7 +119,7 @@ static int LegendObjConfigure(Tcl_Interp* interp, Graph* graphPtr,
graphPtr->flags |= mask;
graphPtr->flags |= (RESET_WORLD | CACHE_DIRTY);
- ConfigureLegend(graphPtr);
+ legendPtr->configure();
Blt_EventuallyRedrawGraph(graphPtr);
break;
diff --git a/src/bltGraph.C b/src/bltGraph.C
index d95823f..dc413bb 100644
--- a/src/bltGraph.C
+++ b/src/bltGraph.C
@@ -74,8 +74,6 @@ extern "C" {
Tcl_ObjCmdProc Blt_GraphInstCmdProc;
};
-extern void ConfigureLegend(Graph* graphPtr);
-
static Tcl_IdleProc DisplayGraph;
static Tcl_FreeProc DestroyGraph;
static Tk_EventProc GraphEventProc;
@@ -1292,7 +1290,7 @@ Graph* Blt_GetGraphFromWindowData(Tk_Window tkwin)
void Blt_ReconfigureGraph(Graph* graphPtr)
{
ConfigureGraph(graphPtr);
- ConfigureLegend(graphPtr);
+ graphPtr->legend->configure();
// Blt_ConfigureElements(graphPtr);
Blt_ConfigureAxes(graphPtr);
Blt::ConfigureMarkers(graphPtr);