From: Jorge G. <cl...@us...> - 2007-12-15 19:22:59
|
Update of /cvsroot/easycalc/easycalc In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv427 Modified Files: calc.c graph.rcp.in Log Message: graph area set to 140(+1)x140(+1) in lowRes and 280(+1)x280(+1) in hiRes Index: calc.c =================================================================== RCS file: /cvsroot/easycalc/easycalc/calc.c,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** calc.c 29 Dec 2006 02:17:37 -0000 1.39 --- calc.c 15 Dec 2007 19:22:55 -0000 1.40 *************** *** 101,106 **** natbounds->topLeft.x *= 2; natbounds->topLeft.y *= 2; ! natbounds->extent.x *= 2; ! natbounds->extent.y *= 2; } #endif --- 101,108 ---- natbounds->topLeft.x *= 2; natbounds->topLeft.y *= 2; ! natbounds->extent.x = natbounds->extent.x*2 - 1; ! natbounds->extent.y = natbounds->extent.y*2 - 1; ! //stdbounds->extent.x--; ! stdbounds->extent.y--; } #endif *************** *** 111,114 **** --- 113,120 ---- WinScaleRectangle(natbounds); WinSetCoordinateSystem(save); + natbounds->extent.x--; + natbounds->extent.y--; + //stdbounds->extent.x--; + stdbounds->extent.y--; } } Index: graph.rcp.in =================================================================== RCS file: /cvsroot/easycalc/easycalc/graph.rcp.in,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** graph.rcp.in 10 Nov 2006 04:12:56 -0000 1.37 --- graph.rcp.in 15 Dec 2007 19:22:55 -0000 1.38 *************** *** 142,146 **** PUSHBUTTON "G" ID btnGraph AT (PREVRIGHT+1 1 10 12) GROUP 1 ! GADGET ID graphGadget AT (1 16 140+2 140+3) SELECTORTRIGGER "C " ID btnGraphCalc AT (147 22 10 12) --- 142,146 ---- PUSHBUTTON "G" ID btnGraph AT (PREVRIGHT+1 1 10 12) GROUP 1 ! GADGET ID graphGadget AT (1 17 140+1 140+1) SELECTORTRIGGER "C " ID btnGraphCalc AT (147 22 10 12) |