diff options
author | joye <joye> | 2014-06-27 16:03:09 (GMT) |
---|---|---|
committer | joye <joye> | 2014-06-27 16:03:09 (GMT) |
commit | c60f3348b9fb7f72a25440683a7c74614cb60fec (patch) | |
tree | 6d606a29a538a1f1ae1378a200a6b1b3925990d6 /src/bltGrPostscriptOp.C | |
parent | de5b80df7ae70062e2264e2ad419a13d1af041c0 (diff) | |
download | blt-c60f3348b9fb7f72a25440683a7c74614cb60fec.zip blt-c60f3348b9fb7f72a25440683a7c74614cb60fec.tar.gz blt-c60f3348b9fb7f72a25440683a7c74614cb60fec.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrPostscriptOp.C')
-rw-r--r-- | src/bltGrPostscriptOp.C | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bltGrPostscriptOp.C b/src/bltGrPostscriptOp.C index 01ff340..383d260 100644 --- a/src/bltGrPostscriptOp.C +++ b/src/bltGrPostscriptOp.C @@ -39,10 +39,10 @@ using namespace Blt; -int PageSetupObjConfigure(Graph* graphPtr, Tcl_Interp* interp, +int PostscriptObjConfigure(Graph* graphPtr, Tcl_Interp* interp, int objc, Tcl_Obj* const objv[]) { - PageSetup* setupPtr = graphPtr->pageSetup_; + Postscript* setupPtr = graphPtr->postscript_; Tk_SavedOptions savedOptions; int mask =0; int error; @@ -85,7 +85,7 @@ static int CgetOp(ClientData clientData, Tcl_Interp* interp, return TCL_ERROR; } - PageSetup *setupPtr = graphPtr->pageSetup_; + Postscript *setupPtr = graphPtr->postscript_; Tcl_Obj* objPtr = Tk_GetOptionValue(interp, (char*)setupPtr->ops_, setupPtr->optionTable_, @@ -101,7 +101,7 @@ static int ConfigureOp(ClientData clientData, Tcl_Interp* interp, int objc, Tcl_Obj* const objv[]) { Graph* graphPtr = (Graph*)clientData; - PageSetup* setupPtr = graphPtr->pageSetup_; + Postscript* setupPtr = graphPtr->postscript_; if (objc <= 4) { Tcl_Obj* objPtr = Tk_GetOptionInfo(interp, (char*)setupPtr->ops_, setupPtr->optionTable_, @@ -114,7 +114,7 @@ static int ConfigureOp(ClientData clientData, Tcl_Interp* interp, return TCL_OK; } else - return PageSetupObjConfigure(graphPtr, interp, objc-3, objv+3); + return PostscriptObjConfigure(graphPtr, interp, objc-3, objv+3); } static int OutputOp(ClientData clientData, Tcl_Interp* interp, @@ -142,7 +142,7 @@ static int OutputOp(ClientData clientData, Tcl_Interp* interp, PSOutput* psPtr = new PSOutput(graphPtr); - if (PageSetupObjConfigure(graphPtr, interp, objc-3, objv+3) != TCL_OK) { + if (PostscriptObjConfigure(graphPtr, interp, objc-3, objv+3) != TCL_OK) { if (channel) Tcl_Close(interp, channel); delete psPtr; |