Repository navigation
Casso 1.5.1405
Field-test fixes for the themed disk-insert MRU picker and the
underlying dialog primitives.
Fixed
- fix(widget):
ListViewempty body whenSetRowsprecedes
SetRect. Sticky-tail clamp inSetRowspinnedm_topRowto
rows.size()becauseVisibleRowCapacity()returned 0 against an
empty rect, so the paint loop drew zero data rows.SetRectnow
re-clampsm_topRowonce the real rect is known. - fix(dialog): button border invisible when colors overridden.
Button::Paintonly drew the 1dip auto-border in the
!m_useOverridesbranch, andDialogPrimitive::BuildButtonswas
forcing overrides with colors close to the dialog body. Border now
paints wheneverborderColor != 0, andBuildButtonslets theme
defaults apply. - fix(dialog):
&accelerator marker.Button::SetLabelnow
strips the marker and captures the accelerator;DialogPrimitive
handlesWM_SYSCHARto dispatch Alt+letter to the matching
button. - fix(dialog): draggable title bar on
WS_POPUPdialogs.
DialogPrimitive::OnMouseforwards in-title clicks (outside the
close box) asWM_NCLBUTTONDOWN HTCAPTION. - fix(picker): drive number is 1-indexed.
BrowseForDisknow
passesdrive + 1toPromptInsertDiskMruso the title reads
"Insert Disk — Drive 1/2" and the mount call gets the right slot.