diff options
-rw-r--r-- | src/bltConfig.C | 4 | ||||
-rw-r--r-- | src/bltGrAxis.C | 3 | ||||
-rw-r--r-- | src/bltGrElemOp.C | 3 | ||||
-rw-r--r-- | src/bltGrMarker.C | 3 | ||||
-rw-r--r-- | src/bltGrMisc.C | 4 | ||||
-rw-r--r-- | src/bltGraph.C | 5 |
6 files changed, 13 insertions, 9 deletions
diff --git a/src/bltConfig.C b/src/bltConfig.C index bec7b29..fcd547e 100644 --- a/src/bltConfig.C +++ b/src/bltConfig.C @@ -81,6 +81,10 @@ #include "bltPicture.h" #include "bltBgStyle.h" +#define PIXELS_NNEG 0 +#define PIXELS_POS 1 +#define PIXELS_ANY 2 + /* *--------------------------------------------------------------------------- * diff --git a/src/bltGrAxis.C b/src/bltGrAxis.C index 57821ee..9d4dda8 100644 --- a/src/bltGrAxis.C +++ b/src/bltGrAxis.C @@ -2053,8 +2053,7 @@ DestroyAxis(Axis *axisPtr) axisPtr = NULL; } -static void -FreeAxis(DestroyData data) +static void FreeAxis(char* data) { Axis *axisPtr = (Axis *)data; DestroyAxis(axisPtr); diff --git a/src/bltGrElemOp.C b/src/bltGrElemOp.C index 458d13d..70d7c30 100644 --- a/src/bltGrElemOp.C +++ b/src/bltGrElemOp.C @@ -1277,8 +1277,7 @@ DestroyElement(Element *elemPtr) free(elemPtr); } -static void -FreeElement(DestroyData data) +static void FreeElement(char* data) { Element *elemPtr = (Element *)data; DestroyElement(elemPtr); diff --git a/src/bltGrMarker.C b/src/bltGrMarker.C index 3970d43..0dfff22 100644 --- a/src/bltGrMarker.C +++ b/src/bltGrMarker.C @@ -1814,8 +1814,7 @@ DestroyMarker(Marker *markerPtr) free(markerPtr); } -static void -FreeMarker(DestroyData dataPtr) +static void FreeMarker(char* dataPtr) { Marker *markerPtr = (Marker *)dataPtr; DestroyMarker(markerPtr); diff --git a/src/bltGrMisc.C b/src/bltGrMisc.C index c8b5c21..0f4ca9c 100644 --- a/src/bltGrMisc.C +++ b/src/bltGrMisc.C @@ -36,6 +36,10 @@ #include <bltAlloc.h> #include <bltOp.h> +#define BLT_SCROLL_MODE_CANVAS (1<<0) +#define BLT_SCROLL_MODE_LISTBOX (1<<1) +#define BLT_SCROLL_MODE_HIERBOX (1<<2) + static Blt_OptionParseProc ObjToPoint; static Blt_OptionPrintProc PointToObj; Blt_CustomOption bltPointOption = diff --git a/src/bltGraph.C b/src/bltGraph.C index ae7b4cc..55ef7e9 100644 --- a/src/bltGraph.C +++ b/src/bltGraph.C @@ -775,8 +775,7 @@ ConfigureGraph(Graph *graphPtr) * *--------------------------------------------------------------------------- */ -static void -DestroyGraph(DestroyData dataPtr) +static void DestroyGraph(char* dataPtr) { Graph *graphPtr = (Graph *)dataPtr; @@ -930,7 +929,7 @@ CreateGraph(Tcl_Interp *interp, int objc, Tcl_Obj *const *objv, ClassId classId) return graphPtr; error: - DestroyGraph((DestroyData)graphPtr); + DestroyGraph((char*)graphPtr); return NULL; } |