summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bltGrHairs.h4
-rw-r--r--src/bltGrLegd.h9
-rw-r--r--src/bltGrMarker.h4
-rw-r--r--src/bltGrPen.C1
-rw-r--r--src/bltGrPen.h4
-rw-r--r--src/bltGrPenBar.C1
-rw-r--r--src/bltGrPenLine.C1
-rw-r--r--src/bltGrPenOption.C1
8 files changed, 19 insertions, 6 deletions
diff --git a/src/bltGrHairs.h b/src/bltGrHairs.h
index 8da875d..68f9cd5 100644
--- a/src/bltGrHairs.h
+++ b/src/bltGrHairs.h
@@ -38,7 +38,9 @@
#include <iomanip>
using namespace std;
-#include "bltGraph.h"
+#include "bltGrMisc.h"
+
+class Graph;
typedef struct {
XColor* colorPtr;
diff --git a/src/bltGrLegd.h b/src/bltGrLegd.h
index 453f131..f4b27e1 100644
--- a/src/bltGrLegd.h
+++ b/src/bltGrLegd.h
@@ -38,7 +38,12 @@
#include <iomanip>
using namespace std;
-#include "bltGraph.h"
+#include "bltGrMisc.h"
+#include "bltText.h"
+
+class Graph;
+class Element;
+class Legend;
/*
* Selection related flags:
@@ -62,8 +67,6 @@ typedef enum {
SELECT_MODE_SINGLE, SELECT_MODE_MULTIPLE
} SelectMode;
-class Legend;
-
typedef struct {
Tk_3DBorder activeBg;
XColor* activeFgColor;
diff --git a/src/bltGrMarker.h b/src/bltGrMarker.h
index c83338f..e0d3b2d 100644
--- a/src/bltGrMarker.h
+++ b/src/bltGrMarker.h
@@ -35,7 +35,9 @@
#include <iomanip>
using namespace std;
-#include "bltGraph.h"
+#include "bltGraph.h" // Axis2d
+
+class Graph;
namespace Blt {
diff --git a/src/bltGrPen.C b/src/bltGrPen.C
index 5477ae8..44f8813 100644
--- a/src/bltGrPen.C
+++ b/src/bltGrPen.C
@@ -28,6 +28,7 @@
*/
#include "bltGrPen.h"
+#include "bltGraph.h"
using namespace Blt;
diff --git a/src/bltGrPen.h b/src/bltGrPen.h
index e5db6fe..2a7c2bf 100644
--- a/src/bltGrPen.h
+++ b/src/bltGrPen.h
@@ -35,7 +35,9 @@
#include <iomanip>
using namespace std;
-#include "bltGraph.h"
+#include "bltText.h"
+
+class Graph;
typedef struct {
int errorBarShow;
diff --git a/src/bltGrPenBar.C b/src/bltGrPenBar.C
index 85f1fcf..526f91b 100644
--- a/src/bltGrPenBar.C
+++ b/src/bltGrPenBar.C
@@ -28,6 +28,7 @@
*/
#include "bltGrPenBar.h"
+#include "bltGraph.h"
#include "bltGrDef.h"
#include "bltConfig.h"
diff --git a/src/bltGrPenLine.C b/src/bltGrPenLine.C
index 436e965..6d61af2 100644
--- a/src/bltGrPenLine.C
+++ b/src/bltGrPenLine.C
@@ -28,6 +28,7 @@
*/
#include "bltGrPenLine.h"
+#include "bltGraph.h"
#include "bltGrMisc.h"
#include "bltGrDef.h"
#include "bltConfig.h"
diff --git a/src/bltGrPenOption.C b/src/bltGrPenOption.C
index 469c1d8..781a3be 100644
--- a/src/bltGrPenOption.C
+++ b/src/bltGrPenOption.C
@@ -27,6 +27,7 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include "bltGraph.h"
#include "bltGrPen.h"
#include "bltGrPenOp.h"
#include "bltConfig.h"