Repository navigation
Glass.Message v1.0.4
A feature release that makes the live progress dialog activity-aware — the
bar can now animate to match the operation it represents (upload, download,
sync, compress, …) — plus visual-polish and performance fixes for the progress
bar.
Added
-
ProgressActivity(GlassProgressActivity)builder method and the new
GlassProgressActivityenum (17 activities). The progress bar paints a
distinct, eye-catching animation grouped into six visual families:Family Animation Activities Packets glowing dots glide along Upload·Download·StreamChevrons diagonal bands march FileTransfer·ImportSegments rounded blocks march Compress·Extract·ExportWave a sinusoidal ripple Backup·Restore·SyncPulse the fill breathes Encrypt·Decrypt·ConnectingComet a soft shine sweeps Install·Search·ProcessingStripes flow forward for outgoing work, backward for incoming, and ease both
ways for a two-way sync. Works on both determinate and indeterminate bars; use
GlassProgressActivity.Nonefor a plain bar. -
GlassProgressController.SetActivity(GlassProgressActivity)— change the
flow animation live as an operation moves between phases (e.g.Compressthen
Upload).
Fixed
- Progress bar "box" artifact — the progress panel now paints the dialog's
themed gradient behind itself (like every other custom control) instead of
clearing to a flat colour, so it blends into the window seamlessly rather than
showing a dark rectangle around the track. - Progress bar visibility — boosted the contrast of every activity animation
so the styles read clearly at the standard bar height.
Performance
- No per-frame allocations in the animated progress panel — the glow-dot
sprite, themed-background gradient, track border pen, flow brushes, and chevron
geometry are all cached/reused, so an animating progress dialog no longer
churns GDI+ objects at 30 fps.
Full Changelog: v1.0.3...v1.0.4