diff options
author | joye <joye> | 2014-03-31 20:48:45 (GMT) |
---|---|---|
committer | joye <joye> | 2014-03-31 20:48:45 (GMT) |
commit | 3b87cbf999673d8ca2054d32ba9171cd24e3a50b (patch) | |
tree | 0a4fa6aa6577ff7f153bc4e4579d14a43f81d845 /src | |
parent | 5032264742e55a7be8cb234208405850846088af (diff) | |
download | blt-3b87cbf999673d8ca2054d32ba9171cd24e3a50b.zip blt-3b87cbf999673d8ca2054d32ba9171cd24e3a50b.tar.gz blt-3b87cbf999673d8ca2054d32ba9171cd24e3a50b.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/bltGrElemOp.C | 2 | ||||
-rw-r--r-- | src/bltGrElemOp.h | 9 | ||||
-rw-r--r-- | src/bltGrPenOption.C | 2 | ||||
-rw-r--r-- | src/bltGraph.C | 1 | ||||
-rw-r--r-- | src/bltGraph.h | 16 |
5 files changed, 14 insertions, 16 deletions
diff --git a/src/bltGrElemOp.C b/src/bltGrElemOp.C index 2b2cf39..838c811 100644 --- a/src/bltGrElemOp.C +++ b/src/bltGrElemOp.C @@ -37,6 +37,8 @@ extern "C" { // Defs +extern Element *Blt_LineElement(Graph* graphPtr); +extern Element *Blt_BarElement(Graph* graphPtr); extern int Blt_GetPenFromObj(Tcl_Interp* interp, Graph* graphPtr, Tcl_Obj *objPtr, ClassId classId, Pen **penPtrPtr); diff --git a/src/bltGrElemOp.h b/src/bltGrElemOp.h index 3b00e87..82647e7 100644 --- a/src/bltGrElemOp.h +++ b/src/bltGrElemOp.h @@ -30,6 +30,15 @@ #ifndef __bltgrelemop_h__ #define __bltgrelemop_h__ +extern int Blt_ElementOp(Graph* graphPtr, Tcl_Interp* interp, int objc, + Tcl_Obj* const objv[], ClassId classId); extern int Blt_GetElement(Tcl_Interp* interp, Graph *graphPtr, Tcl_Obj *objPtr, Element **elemPtrPtr); +extern void Blt_DestroyElements(Graph* graphPtr); +extern void Blt_DrawElements(Graph* graphPtr, Drawable drawable); +extern void Blt_DrawActiveElements(Graph* graphPtr, Drawable drawable); +extern void Blt_MapElements(Graph* graphPtr); +extern void Blt_ElementsToPostScript(Graph* graphPtr, Blt_Ps ps); +extern void Blt_ActiveElementsToPostScript(Graph* graphPtr, Blt_Ps ps); + #endif diff --git a/src/bltGrPenOption.C b/src/bltGrPenOption.C index ce6c62c..482ad7a 100644 --- a/src/bltGrPenOption.C +++ b/src/bltGrPenOption.C @@ -89,6 +89,4 @@ static void PenFreeProc(ClientData clientData, Tk_Window tkwin, char *ptr) Blt_FreePen(penPtr); } -// Support - diff --git a/src/bltGraph.C b/src/bltGraph.C index d5f718e..15a01d8 100644 --- a/src/bltGraph.C +++ b/src/bltGraph.C @@ -41,6 +41,7 @@ extern "C" { } #include "bltGrElem.h" +#include "bltGrElemOp.h" #include "bltGrMarker.h" #include "bltGrMarkerOp.h" diff --git a/src/bltGraph.h b/src/bltGraph.h index 2a6fcf7..8b6d848 100644 --- a/src/bltGraph.h +++ b/src/bltGraph.h @@ -397,20 +397,8 @@ extern int Blt_CreatePen(Graph* graphPtr, Tcl_Interp* interp, extern void Blt_DestroyPens(Graph* graphPtr); // Elements -extern int Blt_ElementOp(Graph* graphPtr, Tcl_Interp* interp, int objc, - Tcl_Obj* const objv[], ClassId classId); -extern void Blt_DestroyElements(Graph* graphPtr); -extern void Blt_DrawElements(Graph* graphPtr, Drawable drawable); -extern void Blt_DrawActiveElements(Graph* graphPtr, Drawable drawable); -extern void Blt_MapElements(Graph* graphPtr); -extern void Blt_ElementsToPostScript(Graph* graphPtr, Blt_Ps ps); -extern void Blt_ActiveElementsToPostScript(Graph* graphPtr, Blt_Ps ps); - -// Line Element -extern Element *Blt_LineElement(Graph* graphPtr); - -// Bar Element -extern Element *Blt_BarElement(Graph* graphPtr); + + extern void Blt_DestroyBarSets(Graph* graphPtr); extern void Blt_ResetBarGroups(Graph* graphPtr); extern void Blt_InitBarSetTable(Graph* graphPtr); |