Tk Source Code

Changes On Branch bug-77527326e5
Login

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

Changes In Branch bug-77527326e5 Excluding Merge-Ins

This is equivalent to a diff from a5255352 to 8d9bfee8

2017-03-11
14:53
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi. check-in: af5fda33 user: fvogel tags: core-8-6-branch
2017-03-10
22:12
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi. Closed-Leaf check-in: 8d9bfee8 user: fvogel tags: bug-77527326e5
18:21
Start RC branch for Tk 8.6.7 check-in: 6e14fb54 user: dgp tags: core-8-6-7-rc
2017-03-07
12:51
Merge core-8-6-branch check-in: dad32b1b user: jan.nijtmans tags: trunk
12:50
Remove "makefile.bc". Not update for many-many years, most likely it doesn't work any more and it doesn't seem to care anyone. check-in: a5255352 user: jan.nijtmans tags: core-8-6-branch
2017-03-06
16:46
[6b3644a485] Fix -alpha applied to 16-bit color PNG. Thanks TheLemonMan. check-in: 98943b03 user: dgp tags: core-8-6-branch

Changes to generic/ttk/ttkDefaultTheme.c.

205
206
207
208
209
210
211



212
213
214
215
216
217
218
219
220



221
222
223
224
225
226
227
void TtkFillArrow(
    Display *display, Drawable d, GC gc, Ttk_Box b, ArrowDirection dir)
{
    XPoint points[4];
    ArrowPoints(b, dir, points);
    XFillPolygon(display, d, gc, points, 3, Convex, CoordModeOrigin);
    XDrawLines(display, d, gc, points, 4, CoordModeOrigin);



}

/*public*/
void TtkDrawArrow(
    Display *display, Drawable d, GC gc, Ttk_Box b, ArrowDirection dir)
{
    XPoint points[4];
    ArrowPoints(b, dir, points);
    XDrawLines(display, d, gc, points, 4, CoordModeOrigin);



}

/*
 *----------------------------------------------------------------------
 * +++ Border element implementation.
 *
 * This border consists of (from outside-in):







>
>
>









>
>
>







205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
void TtkFillArrow(
    Display *display, Drawable d, GC gc, Ttk_Box b, ArrowDirection dir)
{
    XPoint points[4];
    ArrowPoints(b, dir, points);
    XFillPolygon(display, d, gc, points, 3, Convex, CoordModeOrigin);
    XDrawLines(display, d, gc, points, 4, CoordModeOrigin);

    /* Work around bug [77527326e5] - ttk artifacts on Ubuntu */
    XDrawPoint(display, d, gc, points[2].x, points[2].y);
}

/*public*/
void TtkDrawArrow(
    Display *display, Drawable d, GC gc, Ttk_Box b, ArrowDirection dir)
{
    XPoint points[4];
    ArrowPoints(b, dir, points);
    XDrawLines(display, d, gc, points, 4, CoordModeOrigin);

    /* Work around bug [77527326e5] - ttk artifacts on Ubuntu */
    XDrawPoint(display, d, gc, points[2].x, points[2].y);
}

/*
 *----------------------------------------------------------------------
 * +++ Border element implementation.
 *
 * This border consists of (from outside-in):