Tk Source Code

Check-in [c77f765d]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove debug code
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tip-510
Files: files | file ages | folders
SHA3-256: c77f765d721c9d5ed646d4222178f2b97b85b15e36a73ab3a8d4d6f7ad428990
User & Date: fvogel 2018-07-05 11:24:23
Context
2018-08-19
14:06
New files provided by RenĂ© Zaumseil: elimination of the use of RbcList*() functions check-in: 243a1376 user: fvogel tags: tip-510
2018-07-05
11:24
Remove debug code check-in: c77f765d user: fvogel tags: tip-510
2018-07-04
20:06
Commit changes received from RenĂ© Zaumseil check-in: ac543027 user: fvogel tags: tip-510
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/rbc/rbcGrAxis.c.

2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
            /* Draw major tick labels */
            labelPtr = RbcChainGetValue(linkPtr);
            RbcDrawText(graphPtr->tkwin, drawable, labelPtr->string,
                &axisPtr->tickTextStyle, (int) labelPtr->anchorPos.x,
                (int) labelPtr->anchorPos.y);
        }
    }
    {
    FILE *f=fopen("rz","a");
    fprintf(f,"ticks=%d %d %d\n",axisPtr->showTicks,axisPtr->nSegments,axisPtr->lineWidth);
    fclose(f);
    }
    if ((axisPtr->nSegments > 0) && (axisPtr->lineWidth > 0)) {
        /* Draw the tick marks and axis line. */
        RbcDraw2DSegments(graphPtr->display, drawable, axisPtr->tickGC,
            axisPtr->segments, axisPtr->nSegments);
    }
}







<
<
<
<
<







2811
2812
2813
2814
2815
2816
2817





2818
2819
2820
2821
2822
2823
2824
            /* Draw major tick labels */
            labelPtr = RbcChainGetValue(linkPtr);
            RbcDrawText(graphPtr->tkwin, drawable, labelPtr->string,
                &axisPtr->tickTextStyle, (int) labelPtr->anchorPos.x,
                (int) labelPtr->anchorPos.y);
        }
    }





    if ((axisPtr->nSegments > 0) && (axisPtr->lineWidth > 0)) {
        /* Draw the tick marks and axis line. */
        RbcDraw2DSegments(graphPtr->display, drawable, axisPtr->tickGC,
            axisPtr->segments, axisPtr->nSegments);
    }
}