1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-28 16:31:17 +00:00
6502bench/CommonWPF
Andy McFadden 1da98d8628 Add a progress bar to HTML export
Generation of HTML is extremely fast, but compressing thousands
of frames for wireframe animated GIFs can take a little while.

Sharing bitmaps between threads required two changes: (1) bitmaps
need to be "frozen" after being drawn; (2) you can't use Path because
BackgroundWorker isn't a STAThread.  You can, however, use a
DrawingVisual / DrawingContext to do the rendering.  Which is really
what I should have been doing all along; I just didn't know the
approach existed until I was forced to go looking for it.

Also, we now do a "run finalizers" call before generating an animated
GIF.  Without it things explode after more than 10K GDI objects have
been allocated.
2020-03-15 14:07:05 -07:00
..
Properties
AnimatedGifEncoder.cs Checkpoint work on wireframe visualization 2020-02-29 18:30:19 -08:00
CommonWPF.csproj Add animated GIF generation to HTML export 2019-12-24 18:15:03 -08:00
FrameAnimationControl.xaml Progress on animated visualizations 2019-12-20 15:09:57 -08:00
FrameAnimationControl.xaml.cs Serialize animations to project file 2019-12-22 16:56:57 -08:00
Helper.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
InverseBooleanConverter.cs
MultiKeyInputGesture.cs
WindowPlacement.cs Save and restore grid column widths 2019-06-20 15:10:35 -07:00
WorkProgress.xaml Move WorkProgress dialog into CommonWPF library 2019-07-19 16:37:51 -07:00
WorkProgress.xaml.cs Add a progress bar to HTML export 2020-03-15 14:07:05 -07:00
WPFExtensions.cs Fix ListView click locator 2019-10-06 10:46:55 -07:00