Repository navigation
v0.2.218
PB64Basic Enhanced v0.2.218 - batch 438.
See the full changelog in README.md
batch 438 (Gary Beene batch 7 close-out) - sample
1595_time_-_create_a_timeris pixel-identical to PBWin10, and the window on screen now matches the capture. The pair had been reported asnear 0.053%in batch 435 and later asdiff 5.153%while the harness activated each window: the only difference was the default button's dotted focus ring, which is drawn at inset 3 by PB64 and inset 4 by PBWin and exists only while the window is active. The harness now parks the foreground on a 1x1 dummy popup and takes an inactive-statePrintWindow, so both sides are captured without that transient artefact.
- Root cause of the remaining on-screen difference: a plain STATIC label answered
WM_CTLCOLORSTATICwithTRANSPARENT+NULL_BRUSH. That is invisible for a label written once, but1595rewrites two labels every 250 ms and nothing erased the old digits, so the strokes accumulated into solid black blobs (the real window showed them; a forcedPrintWindowrepaint looked correct, which is why pixel comparison kept disagreeing with what the screen showed). The answer is now an OPAQUE solid brush in the dialog's face colour -CONTROL SET COLOR hDlg, -1, ...still wins, sunken statics and group boxes keep their existing branches - so a label clears its own cell before drawing and uniform-face dialogs stay pixel-identical. - Evidence:
dual_compare_b7.py --only 1595 --forcerun three times, eachidentical,pct=0, both sides on pair(13,26); the real screen shows a thin3/4instead of a blob after several seconds. The forced batch 7 rerun is 48 identical / 2 near (09150.016% and11610.844%), and the forced batch 8 rerun is 50 identical / 0 near / 0 diff; rows are ingarybeene-corpus/batch7_dual_work/summary.csvandbatch8_dual_work/summary.csv. 1161_painting_and_drawingis a pre-existing, separate difference that the stricter capture surfaced: the sample calls theTextOutAPI from its ownWM_PAINTon aBeginPaintDC. PB64 keeps the white text cell on every repaint, while PBWin shows it only on the first paint and afterwards fills the cell with the dialog face. It is not caused by the label change (that sample has no child controls) and is left documented asnearrather than reported as identical.- Runtime objects
pb_runtime_x64.objandpb_runtime_x86.objwere rebuilt from the updatedpb_runtime.cwith-O2 -ffunction-sections -fdata-sections; all four tracked copies are in sync. Self-check:examples/batch438_test.bas->batch438-fails= 0.