diff --git a/Makefile b/Makefile index bd54f69..f2458e1 100644 --- a/Makefile +++ b/Makefile @@ -115,3 +115,10 @@ test: clean: rm -f lightgui $(OBJS) rm -rf widgets/build + +# Visual regression: re-render all 547 widget examples under Xvfb, diff +# each screenshot against tools/visreg/golden/ (ImageMagick RMSE, 0.5% +# threshold), write tools/visreg/report/report.txt. Exit code 0 only +# when every widget PASSes. See tools/visreg/README.md. +visreg: + tools/visreg/run.sh diff --git a/tools/visreg/.gitignore b/tools/visreg/.gitignore new file mode 100644 index 0000000..2f54b40 --- /dev/null +++ b/tools/visreg/.gitignore @@ -0,0 +1,3 @@ +build/ +report/ +__pycache__/ diff --git a/tools/visreg/README.md b/tools/visreg/README.md new file mode 100644 index 0000000..3d0020b --- /dev/null +++ b/tools/visreg/README.md @@ -0,0 +1,87 @@ +# Visual regression harness (C widgets) + +One command, from the repo root: + +```sh +tools/visreg/run.sh # full run: build + shoot + diff + report +make visreg # same thing via the Makefile +``` + +## What it does + +1. **Build** — compiles every `examples/.cpp` (547) with the same + flags the cdoc docs sweep used (`g++ -std=c++17 -O2 -I widgets/components + -I widgets -lX11`), 8 parallel workers, into `tools/visreg/build/`. +2. **Shoot** — runs each binary under Xvfb `:97`, waits for the + ` - XFrame demo` window, screenshots it with ImageMagick + `import` (with the docs sweep's root-capture fallback when a + per-window capture comes back black), into `tools/visreg/report/shots/`. +3. **Diff** — compares each new screenshot against its golden in + `tools/visreg/golden/` with `compare -metric RMSE` and reports the + normalised RMSE as a diff percentage. +4. **Report** — writes `tools/visreg/report/report.txt` (per-widget + PASS/FAIL + summary counts) and `report.tsv` (machine-readable). + Exit code is 0 only when every widget PASSes. + +## Retries and time-dependent widgets + +Shooting is flaky at the edges: a binary occasionally exits before its +window appears (`XOpenDisplay` failing transiently — the docs sweep hit +the same flakes and needed a retry pass). A failed shot is retried up to +3 times before it counts as a failure. + +Three widgets render the wall clock, so no golden can match them except +when run in the same minute/day the golden was shot: **TTimeEdit** +(defaults to the current time — two shots 65 s apart differ by 1.23% +RMSE), **TDateEdit** and **TCalendar** (both default to today's date). +They are still shot and diffed and their RMSE is recorded, but the result +is **SKIP** (not gated) rather than FAIL, so a clean tree exits 0. A gross +regression in one still shows up as a large RMSE in its SKIP row. + +## Threshold + +A widget PASSes when its RMSE is at most **0.5%**. Screenshots differ by +a few pixels run to run from font rendering / anti-aliasing, so exact +matching would false-positive on a clean tree; 0.5% was tuned so a clean +tree passes with headroom — the Dec 2, 2026 baseline run's worst PASS +was 0.0000% (every passing widget pixel-identical to its golden; see the +max-PASS line in `report.txt`) — while any visible draw change scores far +above it. Override per run: + +```sh +tools/visreg/run.sh --threshold 0.2 +``` + +## Goldens + +`golden/` holds the 547 golden screenshots produced by the docs sweep +(`/opt/lightgui-docs/shots/`, Dec 2, 2026, repo HEAD `93d0fe9`). They are +vendored here so the harness is self-contained. To diff against a +different golden set instead (e.g. a fresh baseline after an intentional +visual change), pass `--golden DIR` or set `VISREG_GOLDEN_DIR`. + +To re-baseline after an intentional visual change, copy the new shots +over the goldens and commit them together with the change: + +```sh +cp tools/visreg/report/shots/*.png tools/visreg/golden/ +``` + +## Partial runs (no re-render needed to re-tune the threshold) + +```sh +python3 tools/visreg/visreg.py --only diff --threshold 0.2 # re-diff saved shots +python3 tools/visreg/visreg.py --only build # rebuild only +python3 tools/visreg/visreg.py --only shoot # re-shoot only +``` + +`VISREG_DISPLAY` overrides the X display (default `:97`). + +## Notes + +- `build/` and `report/` are generated and git-ignored; only the harness + code, this README, and `golden/` are committed. +- Shooting is sequential (one X server, one window at a time); a full run + takes roughly 10 minutes, most of it the 0.5 s settle per widget. +- A size mismatch between a new shot and its golden is a FAIL (the RMSE + is still reported, computed after resizing, so the number stays useful). diff --git a/tools/visreg/golden/GtkAboutDialog.png b/tools/visreg/golden/GtkAboutDialog.png new file mode 100644 index 0000000..62eaca1 Binary files /dev/null and b/tools/visreg/golden/GtkAboutDialog.png differ diff --git a/tools/visreg/golden/GtkAccelLabel.png b/tools/visreg/golden/GtkAccelLabel.png new file mode 100644 index 0000000..028a0cf Binary files /dev/null and b/tools/visreg/golden/GtkAccelLabel.png differ diff --git a/tools/visreg/golden/GtkActionBar.png b/tools/visreg/golden/GtkActionBar.png new file mode 100644 index 0000000..f1d6034 Binary files /dev/null and b/tools/visreg/golden/GtkActionBar.png differ diff --git a/tools/visreg/golden/GtkAppChooserButton.png b/tools/visreg/golden/GtkAppChooserButton.png new file mode 100644 index 0000000..3e87046 Binary files /dev/null and b/tools/visreg/golden/GtkAppChooserButton.png differ diff --git a/tools/visreg/golden/GtkAppChooserDialog.png b/tools/visreg/golden/GtkAppChooserDialog.png new file mode 100644 index 0000000..2cf3794 Binary files /dev/null and b/tools/visreg/golden/GtkAppChooserDialog.png differ diff --git a/tools/visreg/golden/GtkAppChooserWidget.png b/tools/visreg/golden/GtkAppChooserWidget.png new file mode 100644 index 0000000..81bdcd4 Binary files /dev/null and b/tools/visreg/golden/GtkAppChooserWidget.png differ diff --git a/tools/visreg/golden/GtkApplicationWindow.png b/tools/visreg/golden/GtkApplicationWindow.png new file mode 100644 index 0000000..bbfb137 Binary files /dev/null and b/tools/visreg/golden/GtkApplicationWindow.png differ diff --git a/tools/visreg/golden/GtkAspectFrame.png b/tools/visreg/golden/GtkAspectFrame.png new file mode 100644 index 0000000..fe31777 Binary files /dev/null and b/tools/visreg/golden/GtkAspectFrame.png differ diff --git a/tools/visreg/golden/GtkAssistant.png b/tools/visreg/golden/GtkAssistant.png new file mode 100644 index 0000000..7bffef8 Binary files /dev/null and b/tools/visreg/golden/GtkAssistant.png differ diff --git a/tools/visreg/golden/GtkBox.png b/tools/visreg/golden/GtkBox.png new file mode 100644 index 0000000..f9c67f3 Binary files /dev/null and b/tools/visreg/golden/GtkBox.png differ diff --git a/tools/visreg/golden/GtkButton.png b/tools/visreg/golden/GtkButton.png new file mode 100644 index 0000000..8eb32ec Binary files /dev/null and b/tools/visreg/golden/GtkButton.png differ diff --git a/tools/visreg/golden/GtkButtonBox.png b/tools/visreg/golden/GtkButtonBox.png new file mode 100644 index 0000000..c71407c Binary files /dev/null and b/tools/visreg/golden/GtkButtonBox.png differ diff --git a/tools/visreg/golden/GtkCalendar.png b/tools/visreg/golden/GtkCalendar.png new file mode 100644 index 0000000..eacfe27 Binary files /dev/null and b/tools/visreg/golden/GtkCalendar.png differ diff --git a/tools/visreg/golden/GtkCellView.png b/tools/visreg/golden/GtkCellView.png new file mode 100644 index 0000000..683a697 Binary files /dev/null and b/tools/visreg/golden/GtkCellView.png differ diff --git a/tools/visreg/golden/GtkCenterBox.png b/tools/visreg/golden/GtkCenterBox.png new file mode 100644 index 0000000..a695327 Binary files /dev/null and b/tools/visreg/golden/GtkCenterBox.png differ diff --git a/tools/visreg/golden/GtkCheckButton.png b/tools/visreg/golden/GtkCheckButton.png new file mode 100644 index 0000000..c08f9d5 Binary files /dev/null and b/tools/visreg/golden/GtkCheckButton.png differ diff --git a/tools/visreg/golden/GtkCheckMenuItem.png b/tools/visreg/golden/GtkCheckMenuItem.png new file mode 100644 index 0000000..accab9e Binary files /dev/null and b/tools/visreg/golden/GtkCheckMenuItem.png differ diff --git a/tools/visreg/golden/GtkColorButton.png b/tools/visreg/golden/GtkColorButton.png new file mode 100644 index 0000000..9e8d581 Binary files /dev/null and b/tools/visreg/golden/GtkColorButton.png differ diff --git a/tools/visreg/golden/GtkColorChooserDialog.png b/tools/visreg/golden/GtkColorChooserDialog.png new file mode 100644 index 0000000..d5ebd58 Binary files /dev/null and b/tools/visreg/golden/GtkColorChooserDialog.png differ diff --git a/tools/visreg/golden/GtkColorChooserWidget.png b/tools/visreg/golden/GtkColorChooserWidget.png new file mode 100644 index 0000000..03370da Binary files /dev/null and b/tools/visreg/golden/GtkColorChooserWidget.png differ diff --git a/tools/visreg/golden/GtkColorDialogButton.png b/tools/visreg/golden/GtkColorDialogButton.png new file mode 100644 index 0000000..8a8b2ca Binary files /dev/null and b/tools/visreg/golden/GtkColorDialogButton.png differ diff --git a/tools/visreg/golden/GtkColumnView.png b/tools/visreg/golden/GtkColumnView.png new file mode 100644 index 0000000..81ebb33 Binary files /dev/null and b/tools/visreg/golden/GtkColumnView.png differ diff --git a/tools/visreg/golden/GtkComboBox.png b/tools/visreg/golden/GtkComboBox.png new file mode 100644 index 0000000..b534b6c Binary files /dev/null and b/tools/visreg/golden/GtkComboBox.png differ diff --git a/tools/visreg/golden/GtkComboBoxText.png b/tools/visreg/golden/GtkComboBoxText.png new file mode 100644 index 0000000..3a17683 Binary files /dev/null and b/tools/visreg/golden/GtkComboBoxText.png differ diff --git a/tools/visreg/golden/GtkDialog.png b/tools/visreg/golden/GtkDialog.png new file mode 100644 index 0000000..83aff7a Binary files /dev/null and b/tools/visreg/golden/GtkDialog.png differ diff --git a/tools/visreg/golden/GtkDrawingArea.png b/tools/visreg/golden/GtkDrawingArea.png new file mode 100644 index 0000000..a5d8970 Binary files /dev/null and b/tools/visreg/golden/GtkDrawingArea.png differ diff --git a/tools/visreg/golden/GtkDropDown.png b/tools/visreg/golden/GtkDropDown.png new file mode 100644 index 0000000..a8e90fe Binary files /dev/null and b/tools/visreg/golden/GtkDropDown.png differ diff --git a/tools/visreg/golden/GtkEditableLabel.png b/tools/visreg/golden/GtkEditableLabel.png new file mode 100644 index 0000000..3eab982 Binary files /dev/null and b/tools/visreg/golden/GtkEditableLabel.png differ diff --git a/tools/visreg/golden/GtkEntry.png b/tools/visreg/golden/GtkEntry.png new file mode 100644 index 0000000..56d3224 Binary files /dev/null and b/tools/visreg/golden/GtkEntry.png differ diff --git a/tools/visreg/golden/GtkEntryCompletion.png b/tools/visreg/golden/GtkEntryCompletion.png new file mode 100644 index 0000000..5b6111e Binary files /dev/null and b/tools/visreg/golden/GtkEntryCompletion.png differ diff --git a/tools/visreg/golden/GtkEventBox.png b/tools/visreg/golden/GtkEventBox.png new file mode 100644 index 0000000..4f47cb5 Binary files /dev/null and b/tools/visreg/golden/GtkEventBox.png differ diff --git a/tools/visreg/golden/GtkExpander.png b/tools/visreg/golden/GtkExpander.png new file mode 100644 index 0000000..d4d60ff Binary files /dev/null and b/tools/visreg/golden/GtkExpander.png differ diff --git a/tools/visreg/golden/GtkFileChooserButton.png b/tools/visreg/golden/GtkFileChooserButton.png new file mode 100644 index 0000000..787ccbe Binary files /dev/null and b/tools/visreg/golden/GtkFileChooserButton.png differ diff --git a/tools/visreg/golden/GtkFileChooserDialog.png b/tools/visreg/golden/GtkFileChooserDialog.png new file mode 100644 index 0000000..8015fcc Binary files /dev/null and b/tools/visreg/golden/GtkFileChooserDialog.png differ diff --git a/tools/visreg/golden/GtkFileChooserWidget.png b/tools/visreg/golden/GtkFileChooserWidget.png new file mode 100644 index 0000000..d7a0dbe Binary files /dev/null and b/tools/visreg/golden/GtkFileChooserWidget.png differ diff --git a/tools/visreg/golden/GtkFixed.png b/tools/visreg/golden/GtkFixed.png new file mode 100644 index 0000000..ea07360 Binary files /dev/null and b/tools/visreg/golden/GtkFixed.png differ diff --git a/tools/visreg/golden/GtkFlowBox.png b/tools/visreg/golden/GtkFlowBox.png new file mode 100644 index 0000000..eec69bf Binary files /dev/null and b/tools/visreg/golden/GtkFlowBox.png differ diff --git a/tools/visreg/golden/GtkFontButton.png b/tools/visreg/golden/GtkFontButton.png new file mode 100644 index 0000000..f508e6a Binary files /dev/null and b/tools/visreg/golden/GtkFontButton.png differ diff --git a/tools/visreg/golden/GtkFontChooserDialog.png b/tools/visreg/golden/GtkFontChooserDialog.png new file mode 100644 index 0000000..d9734e0 Binary files /dev/null and b/tools/visreg/golden/GtkFontChooserDialog.png differ diff --git a/tools/visreg/golden/GtkFontChooserWidget.png b/tools/visreg/golden/GtkFontChooserWidget.png new file mode 100644 index 0000000..2ccc77c Binary files /dev/null and b/tools/visreg/golden/GtkFontChooserWidget.png differ diff --git a/tools/visreg/golden/GtkFrame.png b/tools/visreg/golden/GtkFrame.png new file mode 100644 index 0000000..13dc45e Binary files /dev/null and b/tools/visreg/golden/GtkFrame.png differ diff --git a/tools/visreg/golden/GtkGLArea.png b/tools/visreg/golden/GtkGLArea.png new file mode 100644 index 0000000..b52fd0f Binary files /dev/null and b/tools/visreg/golden/GtkGLArea.png differ diff --git a/tools/visreg/golden/GtkGrid.png b/tools/visreg/golden/GtkGrid.png new file mode 100644 index 0000000..f9a3f53 Binary files /dev/null and b/tools/visreg/golden/GtkGrid.png differ diff --git a/tools/visreg/golden/GtkGridView.png b/tools/visreg/golden/GtkGridView.png new file mode 100644 index 0000000..5a5a451 Binary files /dev/null and b/tools/visreg/golden/GtkGridView.png differ diff --git a/tools/visreg/golden/GtkHeaderBar.png b/tools/visreg/golden/GtkHeaderBar.png new file mode 100644 index 0000000..e8bb4c1 Binary files /dev/null and b/tools/visreg/golden/GtkHeaderBar.png differ diff --git a/tools/visreg/golden/GtkIconView.png b/tools/visreg/golden/GtkIconView.png new file mode 100644 index 0000000..57dc5f3 Binary files /dev/null and b/tools/visreg/golden/GtkIconView.png differ diff --git a/tools/visreg/golden/GtkImage.png b/tools/visreg/golden/GtkImage.png new file mode 100644 index 0000000..e004f32 Binary files /dev/null and b/tools/visreg/golden/GtkImage.png differ diff --git a/tools/visreg/golden/GtkInfoBar.png b/tools/visreg/golden/GtkInfoBar.png new file mode 100644 index 0000000..8990864 Binary files /dev/null and b/tools/visreg/golden/GtkInfoBar.png differ diff --git a/tools/visreg/golden/GtkInscription.png b/tools/visreg/golden/GtkInscription.png new file mode 100644 index 0000000..ca19441 Binary files /dev/null and b/tools/visreg/golden/GtkInscription.png differ diff --git a/tools/visreg/golden/GtkInvisible.png b/tools/visreg/golden/GtkInvisible.png new file mode 100644 index 0000000..91916b7 Binary files /dev/null and b/tools/visreg/golden/GtkInvisible.png differ diff --git a/tools/visreg/golden/GtkLabel.png b/tools/visreg/golden/GtkLabel.png new file mode 100644 index 0000000..a99f563 Binary files /dev/null and b/tools/visreg/golden/GtkLabel.png differ diff --git a/tools/visreg/golden/GtkLayout.png b/tools/visreg/golden/GtkLayout.png new file mode 100644 index 0000000..2106fd8 Binary files /dev/null and b/tools/visreg/golden/GtkLayout.png differ diff --git a/tools/visreg/golden/GtkLevelBar.png b/tools/visreg/golden/GtkLevelBar.png new file mode 100644 index 0000000..a2f3d59 Binary files /dev/null and b/tools/visreg/golden/GtkLevelBar.png differ diff --git a/tools/visreg/golden/GtkLinkButton.png b/tools/visreg/golden/GtkLinkButton.png new file mode 100644 index 0000000..343049f Binary files /dev/null and b/tools/visreg/golden/GtkLinkButton.png differ diff --git a/tools/visreg/golden/GtkListBox.png b/tools/visreg/golden/GtkListBox.png new file mode 100644 index 0000000..d290fe6 Binary files /dev/null and b/tools/visreg/golden/GtkListBox.png differ diff --git a/tools/visreg/golden/GtkListView.png b/tools/visreg/golden/GtkListView.png new file mode 100644 index 0000000..8fe4c41 Binary files /dev/null and b/tools/visreg/golden/GtkListView.png differ diff --git a/tools/visreg/golden/GtkLockButton.png b/tools/visreg/golden/GtkLockButton.png new file mode 100644 index 0000000..4f2242f Binary files /dev/null and b/tools/visreg/golden/GtkLockButton.png differ diff --git a/tools/visreg/golden/GtkMediaControls.png b/tools/visreg/golden/GtkMediaControls.png new file mode 100644 index 0000000..8aa60c4 Binary files /dev/null and b/tools/visreg/golden/GtkMediaControls.png differ diff --git a/tools/visreg/golden/GtkMenu.png b/tools/visreg/golden/GtkMenu.png new file mode 100644 index 0000000..2876fed Binary files /dev/null and b/tools/visreg/golden/GtkMenu.png differ diff --git a/tools/visreg/golden/GtkMenuBar.png b/tools/visreg/golden/GtkMenuBar.png new file mode 100644 index 0000000..9d3ba82 Binary files /dev/null and b/tools/visreg/golden/GtkMenuBar.png differ diff --git a/tools/visreg/golden/GtkMenuButton.png b/tools/visreg/golden/GtkMenuButton.png new file mode 100644 index 0000000..23a4dec Binary files /dev/null and b/tools/visreg/golden/GtkMenuButton.png differ diff --git a/tools/visreg/golden/GtkMenuItem.png b/tools/visreg/golden/GtkMenuItem.png new file mode 100644 index 0000000..a3b1c29 Binary files /dev/null and b/tools/visreg/golden/GtkMenuItem.png differ diff --git a/tools/visreg/golden/GtkMessageDialog.png b/tools/visreg/golden/GtkMessageDialog.png new file mode 100644 index 0000000..4d1ee62 Binary files /dev/null and b/tools/visreg/golden/GtkMessageDialog.png differ diff --git a/tools/visreg/golden/GtkModelButton.png b/tools/visreg/golden/GtkModelButton.png new file mode 100644 index 0000000..57bdb79 Binary files /dev/null and b/tools/visreg/golden/GtkModelButton.png differ diff --git a/tools/visreg/golden/GtkNotebook.png b/tools/visreg/golden/GtkNotebook.png new file mode 100644 index 0000000..bf29cdf Binary files /dev/null and b/tools/visreg/golden/GtkNotebook.png differ diff --git a/tools/visreg/golden/GtkOverlay.png b/tools/visreg/golden/GtkOverlay.png new file mode 100644 index 0000000..ee87c3f Binary files /dev/null and b/tools/visreg/golden/GtkOverlay.png differ diff --git a/tools/visreg/golden/GtkPaned.png b/tools/visreg/golden/GtkPaned.png new file mode 100644 index 0000000..f438324 Binary files /dev/null and b/tools/visreg/golden/GtkPaned.png differ diff --git a/tools/visreg/golden/GtkPasswordEntry.png b/tools/visreg/golden/GtkPasswordEntry.png new file mode 100644 index 0000000..d516ba4 Binary files /dev/null and b/tools/visreg/golden/GtkPasswordEntry.png differ diff --git a/tools/visreg/golden/GtkPicture.png b/tools/visreg/golden/GtkPicture.png new file mode 100644 index 0000000..9ba7fc5 Binary files /dev/null and b/tools/visreg/golden/GtkPicture.png differ diff --git a/tools/visreg/golden/GtkPlacesSidebar.png b/tools/visreg/golden/GtkPlacesSidebar.png new file mode 100644 index 0000000..8b7a127 Binary files /dev/null and b/tools/visreg/golden/GtkPlacesSidebar.png differ diff --git a/tools/visreg/golden/GtkPopover.png b/tools/visreg/golden/GtkPopover.png new file mode 100644 index 0000000..20251fc Binary files /dev/null and b/tools/visreg/golden/GtkPopover.png differ diff --git a/tools/visreg/golden/GtkPrintUnixDialog.png b/tools/visreg/golden/GtkPrintUnixDialog.png new file mode 100644 index 0000000..ee73977 Binary files /dev/null and b/tools/visreg/golden/GtkPrintUnixDialog.png differ diff --git a/tools/visreg/golden/GtkProgressBar.png b/tools/visreg/golden/GtkProgressBar.png new file mode 100644 index 0000000..73984b4 Binary files /dev/null and b/tools/visreg/golden/GtkProgressBar.png differ diff --git a/tools/visreg/golden/GtkRadioButton.png b/tools/visreg/golden/GtkRadioButton.png new file mode 100644 index 0000000..08f1cad Binary files /dev/null and b/tools/visreg/golden/GtkRadioButton.png differ diff --git a/tools/visreg/golden/GtkRadioMenuItem.png b/tools/visreg/golden/GtkRadioMenuItem.png new file mode 100644 index 0000000..8e91d1e Binary files /dev/null and b/tools/visreg/golden/GtkRadioMenuItem.png differ diff --git a/tools/visreg/golden/GtkRevealer.png b/tools/visreg/golden/GtkRevealer.png new file mode 100644 index 0000000..df6ecff Binary files /dev/null and b/tools/visreg/golden/GtkRevealer.png differ diff --git a/tools/visreg/golden/GtkScale.png b/tools/visreg/golden/GtkScale.png new file mode 100644 index 0000000..2f22e2d Binary files /dev/null and b/tools/visreg/golden/GtkScale.png differ diff --git a/tools/visreg/golden/GtkScaleButton.png b/tools/visreg/golden/GtkScaleButton.png new file mode 100644 index 0000000..55f680f Binary files /dev/null and b/tools/visreg/golden/GtkScaleButton.png differ diff --git a/tools/visreg/golden/GtkScrollbar.png b/tools/visreg/golden/GtkScrollbar.png new file mode 100644 index 0000000..8071247 Binary files /dev/null and b/tools/visreg/golden/GtkScrollbar.png differ diff --git a/tools/visreg/golden/GtkScrolledWindow.png b/tools/visreg/golden/GtkScrolledWindow.png new file mode 100644 index 0000000..073b7a8 Binary files /dev/null and b/tools/visreg/golden/GtkScrolledWindow.png differ diff --git a/tools/visreg/golden/GtkSearchBar.png b/tools/visreg/golden/GtkSearchBar.png new file mode 100644 index 0000000..e976301 Binary files /dev/null and b/tools/visreg/golden/GtkSearchBar.png differ diff --git a/tools/visreg/golden/GtkSearchEntry.png b/tools/visreg/golden/GtkSearchEntry.png new file mode 100644 index 0000000..c111dc9 Binary files /dev/null and b/tools/visreg/golden/GtkSearchEntry.png differ diff --git a/tools/visreg/golden/GtkSeparator.png b/tools/visreg/golden/GtkSeparator.png new file mode 100644 index 0000000..8eb5895 Binary files /dev/null and b/tools/visreg/golden/GtkSeparator.png differ diff --git a/tools/visreg/golden/GtkSeparatorMenuItem.png b/tools/visreg/golden/GtkSeparatorMenuItem.png new file mode 100644 index 0000000..cb6306a Binary files /dev/null and b/tools/visreg/golden/GtkSeparatorMenuItem.png differ diff --git a/tools/visreg/golden/GtkShortcutsWindow.png b/tools/visreg/golden/GtkShortcutsWindow.png new file mode 100644 index 0000000..8703d4f Binary files /dev/null and b/tools/visreg/golden/GtkShortcutsWindow.png differ diff --git a/tools/visreg/golden/GtkSpinButton.png b/tools/visreg/golden/GtkSpinButton.png new file mode 100644 index 0000000..7223941 Binary files /dev/null and b/tools/visreg/golden/GtkSpinButton.png differ diff --git a/tools/visreg/golden/GtkSpinner.png b/tools/visreg/golden/GtkSpinner.png new file mode 100644 index 0000000..cf006fe Binary files /dev/null and b/tools/visreg/golden/GtkSpinner.png differ diff --git a/tools/visreg/golden/GtkStack.png b/tools/visreg/golden/GtkStack.png new file mode 100644 index 0000000..ee7fa52 Binary files /dev/null and b/tools/visreg/golden/GtkStack.png differ diff --git a/tools/visreg/golden/GtkStackSidebar.png b/tools/visreg/golden/GtkStackSidebar.png new file mode 100644 index 0000000..447d588 Binary files /dev/null and b/tools/visreg/golden/GtkStackSidebar.png differ diff --git a/tools/visreg/golden/GtkStackSwitcher.png b/tools/visreg/golden/GtkStackSwitcher.png new file mode 100644 index 0000000..7c54f8a Binary files /dev/null and b/tools/visreg/golden/GtkStackSwitcher.png differ diff --git a/tools/visreg/golden/GtkStatusbar.png b/tools/visreg/golden/GtkStatusbar.png new file mode 100644 index 0000000..e89b7b3 Binary files /dev/null and b/tools/visreg/golden/GtkStatusbar.png differ diff --git a/tools/visreg/golden/GtkSwitch.png b/tools/visreg/golden/GtkSwitch.png new file mode 100644 index 0000000..9f4cb32 Binary files /dev/null and b/tools/visreg/golden/GtkSwitch.png differ diff --git a/tools/visreg/golden/GtkTextView.png b/tools/visreg/golden/GtkTextView.png new file mode 100644 index 0000000..b5f7589 Binary files /dev/null and b/tools/visreg/golden/GtkTextView.png differ diff --git a/tools/visreg/golden/GtkToggleButton.png b/tools/visreg/golden/GtkToggleButton.png new file mode 100644 index 0000000..b44e535 Binary files /dev/null and b/tools/visreg/golden/GtkToggleButton.png differ diff --git a/tools/visreg/golden/GtkToggleToolButton.png b/tools/visreg/golden/GtkToggleToolButton.png new file mode 100644 index 0000000..72ada31 Binary files /dev/null and b/tools/visreg/golden/GtkToggleToolButton.png differ diff --git a/tools/visreg/golden/GtkToolButton.png b/tools/visreg/golden/GtkToolButton.png new file mode 100644 index 0000000..f460244 Binary files /dev/null and b/tools/visreg/golden/GtkToolButton.png differ diff --git a/tools/visreg/golden/GtkToolbar.png b/tools/visreg/golden/GtkToolbar.png new file mode 100644 index 0000000..b090460 Binary files /dev/null and b/tools/visreg/golden/GtkToolbar.png differ diff --git a/tools/visreg/golden/GtkTreeView.png b/tools/visreg/golden/GtkTreeView.png new file mode 100644 index 0000000..1f74547 Binary files /dev/null and b/tools/visreg/golden/GtkTreeView.png differ diff --git a/tools/visreg/golden/GtkVideo.png b/tools/visreg/golden/GtkVideo.png new file mode 100644 index 0000000..4d8afd8 Binary files /dev/null and b/tools/visreg/golden/GtkVideo.png differ diff --git a/tools/visreg/golden/GtkViewport.png b/tools/visreg/golden/GtkViewport.png new file mode 100644 index 0000000..bdc126b Binary files /dev/null and b/tools/visreg/golden/GtkViewport.png differ diff --git a/tools/visreg/golden/GtkVolumeButton.png b/tools/visreg/golden/GtkVolumeButton.png new file mode 100644 index 0000000..9ab1008 Binary files /dev/null and b/tools/visreg/golden/GtkVolumeButton.png differ diff --git a/tools/visreg/golden/GtkWindow.png b/tools/visreg/golden/GtkWindow.png new file mode 100644 index 0000000..531ad79 Binary files /dev/null and b/tools/visreg/golden/GtkWindow.png differ diff --git a/tools/visreg/golden/IndADX.png b/tools/visreg/golden/IndADX.png new file mode 100644 index 0000000..5580516 Binary files /dev/null and b/tools/visreg/golden/IndADX.png differ diff --git a/tools/visreg/golden/IndADXR.png b/tools/visreg/golden/IndADXR.png new file mode 100644 index 0000000..b5374d9 Binary files /dev/null and b/tools/visreg/golden/IndADXR.png differ diff --git a/tools/visreg/golden/IndALMA.png b/tools/visreg/golden/IndALMA.png new file mode 100644 index 0000000..b2d2e53 Binary files /dev/null and b/tools/visreg/golden/IndALMA.png differ diff --git a/tools/visreg/golden/IndAPO.png b/tools/visreg/golden/IndAPO.png new file mode 100644 index 0000000..4478b46 Binary files /dev/null and b/tools/visreg/golden/IndAPO.png differ diff --git a/tools/visreg/golden/IndATR.png b/tools/visreg/golden/IndATR.png new file mode 100644 index 0000000..1a43605 Binary files /dev/null and b/tools/visreg/golden/IndATR.png differ diff --git a/tools/visreg/golden/IndAcceleratorOscillator.png b/tools/visreg/golden/IndAcceleratorOscillator.png new file mode 100644 index 0000000..f077369 Binary files /dev/null and b/tools/visreg/golden/IndAcceleratorOscillator.png differ diff --git a/tools/visreg/golden/IndAccumulationDistributionLine.png b/tools/visreg/golden/IndAccumulationDistributionLine.png new file mode 100644 index 0000000..05186e0 Binary files /dev/null and b/tools/visreg/golden/IndAccumulationDistributionLine.png differ diff --git a/tools/visreg/golden/IndAccumulativeSwingIndex.png b/tools/visreg/golden/IndAccumulativeSwingIndex.png new file mode 100644 index 0000000..ea2c7c2 Binary files /dev/null and b/tools/visreg/golden/IndAccumulativeSwingIndex.png differ diff --git a/tools/visreg/golden/IndAdaptiveCyberCycle.png b/tools/visreg/golden/IndAdaptiveCyberCycle.png new file mode 100644 index 0000000..6c05881 Binary files /dev/null and b/tools/visreg/golden/IndAdaptiveCyberCycle.png differ diff --git a/tools/visreg/golden/IndAdaptiveRSI.png b/tools/visreg/golden/IndAdaptiveRSI.png new file mode 100644 index 0000000..a4facbd Binary files /dev/null and b/tools/visreg/golden/IndAdaptiveRSI.png differ diff --git a/tools/visreg/golden/IndAlligatorJaw.png b/tools/visreg/golden/IndAlligatorJaw.png new file mode 100644 index 0000000..955bc73 Binary files /dev/null and b/tools/visreg/golden/IndAlligatorJaw.png differ diff --git a/tools/visreg/golden/IndAlligatorLips.png b/tools/visreg/golden/IndAlligatorLips.png new file mode 100644 index 0000000..65aae9f Binary files /dev/null and b/tools/visreg/golden/IndAlligatorLips.png differ diff --git a/tools/visreg/golden/IndAlligatorTeeth.png b/tools/visreg/golden/IndAlligatorTeeth.png new file mode 100644 index 0000000..decfb0a Binary files /dev/null and b/tools/visreg/golden/IndAlligatorTeeth.png differ diff --git a/tools/visreg/golden/IndAnchoredVWAP.png b/tools/visreg/golden/IndAnchoredVWAP.png new file mode 100644 index 0000000..59051f4 Binary files /dev/null and b/tools/visreg/golden/IndAnchoredVWAP.png differ diff --git a/tools/visreg/golden/IndAroonDown.png b/tools/visreg/golden/IndAroonDown.png new file mode 100644 index 0000000..6cefa5a Binary files /dev/null and b/tools/visreg/golden/IndAroonDown.png differ diff --git a/tools/visreg/golden/IndAroonOscillator.png b/tools/visreg/golden/IndAroonOscillator.png new file mode 100644 index 0000000..3bd8b4c Binary files /dev/null and b/tools/visreg/golden/IndAroonOscillator.png differ diff --git a/tools/visreg/golden/IndAroonUp.png b/tools/visreg/golden/IndAroonUp.png new file mode 100644 index 0000000..f1833a2 Binary files /dev/null and b/tools/visreg/golden/IndAroonUp.png differ diff --git a/tools/visreg/golden/IndAutocorrelation.png b/tools/visreg/golden/IndAutocorrelation.png new file mode 100644 index 0000000..72e9027 Binary files /dev/null and b/tools/visreg/golden/IndAutocorrelation.png differ diff --git a/tools/visreg/golden/IndAwesomeOscillator.png b/tools/visreg/golden/IndAwesomeOscillator.png new file mode 100644 index 0000000..277d58d Binary files /dev/null and b/tools/visreg/golden/IndAwesomeOscillator.png differ diff --git a/tools/visreg/golden/IndBalanceOfPower.png b/tools/visreg/golden/IndBalanceOfPower.png new file mode 100644 index 0000000..17d0d8f Binary files /dev/null and b/tools/visreg/golden/IndBalanceOfPower.png differ diff --git a/tools/visreg/golden/IndBearPower.png b/tools/visreg/golden/IndBearPower.png new file mode 100644 index 0000000..207d2bd Binary files /dev/null and b/tools/visreg/golden/IndBearPower.png differ diff --git a/tools/visreg/golden/IndBollingerBands.png b/tools/visreg/golden/IndBollingerBands.png new file mode 100644 index 0000000..420d506 Binary files /dev/null and b/tools/visreg/golden/IndBollingerBands.png differ diff --git a/tools/visreg/golden/IndBollingerBandwidth.png b/tools/visreg/golden/IndBollingerBandwidth.png new file mode 100644 index 0000000..4dd92d5 Binary files /dev/null and b/tools/visreg/golden/IndBollingerBandwidth.png differ diff --git a/tools/visreg/golden/IndBollingerPercentB.png b/tools/visreg/golden/IndBollingerPercentB.png new file mode 100644 index 0000000..c9bdfbf Binary files /dev/null and b/tools/visreg/golden/IndBollingerPercentB.png differ diff --git a/tools/visreg/golden/IndBullPower.png b/tools/visreg/golden/IndBullPower.png new file mode 100644 index 0000000..49f9de8 Binary files /dev/null and b/tools/visreg/golden/IndBullPower.png differ diff --git a/tools/visreg/golden/IndCCI.png b/tools/visreg/golden/IndCCI.png new file mode 100644 index 0000000..22fd903 Binary files /dev/null and b/tools/visreg/golden/IndCCI.png differ diff --git a/tools/visreg/golden/IndCamarillaPivotPoints.png b/tools/visreg/golden/IndCamarillaPivotPoints.png new file mode 100644 index 0000000..99d764e Binary files /dev/null and b/tools/visreg/golden/IndCamarillaPivotPoints.png differ diff --git a/tools/visreg/golden/IndCenterOfGravity.png b/tools/visreg/golden/IndCenterOfGravity.png new file mode 100644 index 0000000..24a42ac Binary files /dev/null and b/tools/visreg/golden/IndCenterOfGravity.png differ diff --git a/tools/visreg/golden/IndChaikinMoneyFlow.png b/tools/visreg/golden/IndChaikinMoneyFlow.png new file mode 100644 index 0000000..1e2936a Binary files /dev/null and b/tools/visreg/golden/IndChaikinMoneyFlow.png differ diff --git a/tools/visreg/golden/IndChaikinOscillator.png b/tools/visreg/golden/IndChaikinOscillator.png new file mode 100644 index 0000000..c526a2a Binary files /dev/null and b/tools/visreg/golden/IndChaikinOscillator.png differ diff --git a/tools/visreg/golden/IndChaikinVolatility.png b/tools/visreg/golden/IndChaikinVolatility.png new file mode 100644 index 0000000..eec09a6 Binary files /dev/null and b/tools/visreg/golden/IndChaikinVolatility.png differ diff --git a/tools/visreg/golden/IndChandeForecastOscillator.png b/tools/visreg/golden/IndChandeForecastOscillator.png new file mode 100644 index 0000000..5a71b9b Binary files /dev/null and b/tools/visreg/golden/IndChandeForecastOscillator.png differ diff --git a/tools/visreg/golden/IndChandeKrollStop.png b/tools/visreg/golden/IndChandeKrollStop.png new file mode 100644 index 0000000..0468168 Binary files /dev/null and b/tools/visreg/golden/IndChandeKrollStop.png differ diff --git a/tools/visreg/golden/IndChandeMomentumOscillator.png b/tools/visreg/golden/IndChandeMomentumOscillator.png new file mode 100644 index 0000000..49d0956 Binary files /dev/null and b/tools/visreg/golden/IndChandeMomentumOscillator.png differ diff --git a/tools/visreg/golden/IndChandelierExit.png b/tools/visreg/golden/IndChandelierExit.png new file mode 100644 index 0000000..1bda296 Binary files /dev/null and b/tools/visreg/golden/IndChandelierExit.png differ diff --git a/tools/visreg/golden/IndChandelierExitLong.png b/tools/visreg/golden/IndChandelierExitLong.png new file mode 100644 index 0000000..540c1a2 Binary files /dev/null and b/tools/visreg/golden/IndChandelierExitLong.png differ diff --git a/tools/visreg/golden/IndChandelierExitShort.png b/tools/visreg/golden/IndChandelierExitShort.png new file mode 100644 index 0000000..80a3717 Binary files /dev/null and b/tools/visreg/golden/IndChandelierExitShort.png differ diff --git a/tools/visreg/golden/IndChikouSpan.png b/tools/visreg/golden/IndChikouSpan.png new file mode 100644 index 0000000..8110109 Binary files /dev/null and b/tools/visreg/golden/IndChikouSpan.png differ diff --git a/tools/visreg/golden/IndChoppinessIndex.png b/tools/visreg/golden/IndChoppinessIndex.png new file mode 100644 index 0000000..d6279c5 Binary files /dev/null and b/tools/visreg/golden/IndChoppinessIndex.png differ diff --git a/tools/visreg/golden/IndCloseVolatility.png b/tools/visreg/golden/IndCloseVolatility.png new file mode 100644 index 0000000..0b2f17b Binary files /dev/null and b/tools/visreg/golden/IndCloseVolatility.png differ diff --git a/tools/visreg/golden/IndConnorsRSI.png b/tools/visreg/golden/IndConnorsRSI.png new file mode 100644 index 0000000..055e607 Binary files /dev/null and b/tools/visreg/golden/IndConnorsRSI.png differ diff --git a/tools/visreg/golden/IndCoppockCurve.png b/tools/visreg/golden/IndCoppockCurve.png new file mode 100644 index 0000000..c1ad08b Binary files /dev/null and b/tools/visreg/golden/IndCoppockCurve.png differ diff --git a/tools/visreg/golden/IndCorrelation.png b/tools/visreg/golden/IndCorrelation.png new file mode 100644 index 0000000..dd99764 Binary files /dev/null and b/tools/visreg/golden/IndCorrelation.png differ diff --git a/tools/visreg/golden/IndCorrelationCoefficient.png b/tools/visreg/golden/IndCorrelationCoefficient.png new file mode 100644 index 0000000..a6898de Binary files /dev/null and b/tools/visreg/golden/IndCorrelationCoefficient.png differ diff --git a/tools/visreg/golden/IndCovariance.png b/tools/visreg/golden/IndCovariance.png new file mode 100644 index 0000000..f6e4f01 Binary files /dev/null and b/tools/visreg/golden/IndCovariance.png differ diff --git a/tools/visreg/golden/IndCumulativeVolumeDelta.png b/tools/visreg/golden/IndCumulativeVolumeDelta.png new file mode 100644 index 0000000..707bd24 Binary files /dev/null and b/tools/visreg/golden/IndCumulativeVolumeDelta.png differ diff --git a/tools/visreg/golden/IndCutlerRSI.png b/tools/visreg/golden/IndCutlerRSI.png new file mode 100644 index 0000000..4c1dd92 Binary files /dev/null and b/tools/visreg/golden/IndCutlerRSI.png differ diff --git a/tools/visreg/golden/IndCyberCycle.png b/tools/visreg/golden/IndCyberCycle.png new file mode 100644 index 0000000..6085aca Binary files /dev/null and b/tools/visreg/golden/IndCyberCycle.png differ diff --git a/tools/visreg/golden/IndDEMA.png b/tools/visreg/golden/IndDEMA.png new file mode 100644 index 0000000..9eebfc6 Binary files /dev/null and b/tools/visreg/golden/IndDEMA.png differ diff --git a/tools/visreg/golden/IndDPO.png b/tools/visreg/golden/IndDPO.png new file mode 100644 index 0000000..a744a94 Binary files /dev/null and b/tools/visreg/golden/IndDPO.png differ diff --git a/tools/visreg/golden/IndDSS.png b/tools/visreg/golden/IndDSS.png new file mode 100644 index 0000000..2352f08 Binary files /dev/null and b/tools/visreg/golden/IndDSS.png differ diff --git a/tools/visreg/golden/IndDX.png b/tools/visreg/golden/IndDX.png new file mode 100644 index 0000000..6050cd9 Binary files /dev/null and b/tools/visreg/golden/IndDX.png differ diff --git a/tools/visreg/golden/IndDeMarker.png b/tools/visreg/golden/IndDeMarker.png new file mode 100644 index 0000000..309d8a4 Binary files /dev/null and b/tools/visreg/golden/IndDeMarker.png differ diff --git a/tools/visreg/golden/IndDecycler.png b/tools/visreg/golden/IndDecycler.png new file mode 100644 index 0000000..590b13c Binary files /dev/null and b/tools/visreg/golden/IndDecycler.png differ diff --git a/tools/visreg/golden/IndDemandIndex.png b/tools/visreg/golden/IndDemandIndex.png new file mode 100644 index 0000000..252eb77 Binary files /dev/null and b/tools/visreg/golden/IndDemandIndex.png differ diff --git a/tools/visreg/golden/IndDetrendedPriceOscillator.png b/tools/visreg/golden/IndDetrendedPriceOscillator.png new file mode 100644 index 0000000..16659c4 Binary files /dev/null and b/tools/visreg/golden/IndDetrendedPriceOscillator.png differ diff --git a/tools/visreg/golden/IndDisparityIndex.png b/tools/visreg/golden/IndDisparityIndex.png new file mode 100644 index 0000000..1d420e0 Binary files /dev/null and b/tools/visreg/golden/IndDisparityIndex.png differ diff --git a/tools/visreg/golden/IndDominantCycle.png b/tools/visreg/golden/IndDominantCycle.png new file mode 100644 index 0000000..b2ecb44 Binary files /dev/null and b/tools/visreg/golden/IndDominantCycle.png differ diff --git a/tools/visreg/golden/IndDominantCyclePeriod.png b/tools/visreg/golden/IndDominantCyclePeriod.png new file mode 100644 index 0000000..1d1bf59 Binary files /dev/null and b/tools/visreg/golden/IndDominantCyclePeriod.png differ diff --git a/tools/visreg/golden/IndDonchianChannels.png b/tools/visreg/golden/IndDonchianChannels.png new file mode 100644 index 0000000..32f42b8 Binary files /dev/null and b/tools/visreg/golden/IndDonchianChannels.png differ diff --git a/tools/visreg/golden/IndDonchianLower.png b/tools/visreg/golden/IndDonchianLower.png new file mode 100644 index 0000000..d490992 Binary files /dev/null and b/tools/visreg/golden/IndDonchianLower.png differ diff --git a/tools/visreg/golden/IndDonchianMiddle.png b/tools/visreg/golden/IndDonchianMiddle.png new file mode 100644 index 0000000..b8bfbeb Binary files /dev/null and b/tools/visreg/golden/IndDonchianMiddle.png differ diff --git a/tools/visreg/golden/IndDonchianUpper.png b/tools/visreg/golden/IndDonchianUpper.png new file mode 100644 index 0000000..660e02e Binary files /dev/null and b/tools/visreg/golden/IndDonchianUpper.png differ diff --git a/tools/visreg/golden/IndDoubleStochastic.png b/tools/visreg/golden/IndDoubleStochastic.png new file mode 100644 index 0000000..2d3b4ef Binary files /dev/null and b/tools/visreg/golden/IndDoubleStochastic.png differ diff --git a/tools/visreg/golden/IndDynamicMomentumIndex.png b/tools/visreg/golden/IndDynamicMomentumIndex.png new file mode 100644 index 0000000..eec988e Binary files /dev/null and b/tools/visreg/golden/IndDynamicMomentumIndex.png differ diff --git a/tools/visreg/golden/IndEMA.png b/tools/visreg/golden/IndEMA.png new file mode 100644 index 0000000..5ff84b2 Binary files /dev/null and b/tools/visreg/golden/IndEMA.png differ diff --git a/tools/visreg/golden/IndEaseOfMovement.png b/tools/visreg/golden/IndEaseOfMovement.png new file mode 100644 index 0000000..f7d7ddd Binary files /dev/null and b/tools/visreg/golden/IndEaseOfMovement.png differ diff --git a/tools/visreg/golden/IndEfficiencyRatio.png b/tools/visreg/golden/IndEfficiencyRatio.png new file mode 100644 index 0000000..114d713 Binary files /dev/null and b/tools/visreg/golden/IndEfficiencyRatio.png differ diff --git a/tools/visreg/golden/IndEhlersDecycler.png b/tools/visreg/golden/IndEhlersDecycler.png new file mode 100644 index 0000000..1c61814 Binary files /dev/null and b/tools/visreg/golden/IndEhlersDecycler.png differ diff --git a/tools/visreg/golden/IndEhlersSmoothedRSI.png b/tools/visreg/golden/IndEhlersSmoothedRSI.png new file mode 100644 index 0000000..26e1724 Binary files /dev/null and b/tools/visreg/golden/IndEhlersSmoothedRSI.png differ diff --git a/tools/visreg/golden/IndEhlersSuperSmoother.png b/tools/visreg/golden/IndEhlersSuperSmoother.png new file mode 100644 index 0000000..f6482c4 Binary files /dev/null and b/tools/visreg/golden/IndEhlersSuperSmoother.png differ diff --git a/tools/visreg/golden/IndEhlersTrendline.png b/tools/visreg/golden/IndEhlersTrendline.png new file mode 100644 index 0000000..29a744b Binary files /dev/null and b/tools/visreg/golden/IndEhlersTrendline.png differ diff --git a/tools/visreg/golden/IndElderForceIndex.png b/tools/visreg/golden/IndElderForceIndex.png new file mode 100644 index 0000000..be25c4e Binary files /dev/null and b/tools/visreg/golden/IndElderForceIndex.png differ diff --git a/tools/visreg/golden/IndElderImpulse.png b/tools/visreg/golden/IndElderImpulse.png new file mode 100644 index 0000000..6012b6f Binary files /dev/null and b/tools/visreg/golden/IndElderImpulse.png differ diff --git a/tools/visreg/golden/IndElderRayBear.png b/tools/visreg/golden/IndElderRayBear.png new file mode 100644 index 0000000..ee3ccc3 Binary files /dev/null and b/tools/visreg/golden/IndElderRayBear.png differ diff --git a/tools/visreg/golden/IndElderRayBull.png b/tools/visreg/golden/IndElderRayBull.png new file mode 100644 index 0000000..de60547 Binary files /dev/null and b/tools/visreg/golden/IndElderRayBull.png differ diff --git a/tools/visreg/golden/IndElderSafeZone.png b/tools/visreg/golden/IndElderSafeZone.png new file mode 100644 index 0000000..2ef9c17 Binary files /dev/null and b/tools/visreg/golden/IndElderSafeZone.png differ diff --git a/tools/visreg/golden/IndErgodicOscillator.png b/tools/visreg/golden/IndErgodicOscillator.png new file mode 100644 index 0000000..052ff92 Binary files /dev/null and b/tools/visreg/golden/IndErgodicOscillator.png differ diff --git a/tools/visreg/golden/IndEvenBetterSineWave.png b/tools/visreg/golden/IndEvenBetterSineWave.png new file mode 100644 index 0000000..1862933 Binary files /dev/null and b/tools/visreg/golden/IndEvenBetterSineWave.png differ diff --git a/tools/visreg/golden/IndFAMA.png b/tools/visreg/golden/IndFAMA.png new file mode 100644 index 0000000..0116261 Binary files /dev/null and b/tools/visreg/golden/IndFAMA.png differ diff --git a/tools/visreg/golden/IndFRAMA.png b/tools/visreg/golden/IndFRAMA.png new file mode 100644 index 0000000..e04aedb Binary files /dev/null and b/tools/visreg/golden/IndFRAMA.png differ diff --git a/tools/visreg/golden/IndFibonacciPivotPoints.png b/tools/visreg/golden/IndFibonacciPivotPoints.png new file mode 100644 index 0000000..f46c28d Binary files /dev/null and b/tools/visreg/golden/IndFibonacciPivotPoints.png differ diff --git a/tools/visreg/golden/IndFisherTransform.png b/tools/visreg/golden/IndFisherTransform.png new file mode 100644 index 0000000..b60f5e1 Binary files /dev/null and b/tools/visreg/golden/IndFisherTransform.png differ diff --git a/tools/visreg/golden/IndFractalDimension.png b/tools/visreg/golden/IndFractalDimension.png new file mode 100644 index 0000000..368d1c6 Binary files /dev/null and b/tools/visreg/golden/IndFractalDimension.png differ diff --git a/tools/visreg/golden/IndFractalDimensionIndex.png b/tools/visreg/golden/IndFractalDimensionIndex.png new file mode 100644 index 0000000..bb31f0d Binary files /dev/null and b/tools/visreg/golden/IndFractalDimensionIndex.png differ diff --git a/tools/visreg/golden/IndFractalDown.png b/tools/visreg/golden/IndFractalDown.png new file mode 100644 index 0000000..34101cb Binary files /dev/null and b/tools/visreg/golden/IndFractalDown.png differ diff --git a/tools/visreg/golden/IndFractalUp.png b/tools/visreg/golden/IndFractalUp.png new file mode 100644 index 0000000..7871b17 Binary files /dev/null and b/tools/visreg/golden/IndFractalUp.png differ diff --git a/tools/visreg/golden/IndGannHiLoActivator.png b/tools/visreg/golden/IndGannHiLoActivator.png new file mode 100644 index 0000000..9182244 Binary files /dev/null and b/tools/visreg/golden/IndGannHiLoActivator.png differ diff --git a/tools/visreg/golden/IndGannSwingOscillator.png b/tools/visreg/golden/IndGannSwingOscillator.png new file mode 100644 index 0000000..608a6bc Binary files /dev/null and b/tools/visreg/golden/IndGannSwingOscillator.png differ diff --git a/tools/visreg/golden/IndGarmanKlassVolatility.png b/tools/visreg/golden/IndGarmanKlassVolatility.png new file mode 100644 index 0000000..0612c88 Binary files /dev/null and b/tools/visreg/golden/IndGarmanKlassVolatility.png differ diff --git a/tools/visreg/golden/IndGatorOscillator.png b/tools/visreg/golden/IndGatorOscillator.png new file mode 100644 index 0000000..f5a84fb Binary files /dev/null and b/tools/visreg/golden/IndGatorOscillator.png differ diff --git a/tools/visreg/golden/IndGaussianMA.png b/tools/visreg/golden/IndGaussianMA.png new file mode 100644 index 0000000..2163b0b Binary files /dev/null and b/tools/visreg/golden/IndGaussianMA.png differ diff --git a/tools/visreg/golden/IndGopalakrishnanRangeIndex.png b/tools/visreg/golden/IndGopalakrishnanRangeIndex.png new file mode 100644 index 0000000..52681c3 Binary files /dev/null and b/tools/visreg/golden/IndGopalakrishnanRangeIndex.png differ diff --git a/tools/visreg/golden/IndGuppyMMA.png b/tools/visreg/golden/IndGuppyMMA.png new file mode 100644 index 0000000..56bf31e Binary files /dev/null and b/tools/visreg/golden/IndGuppyMMA.png differ diff --git a/tools/visreg/golden/IndHMA.png b/tools/visreg/golden/IndHMA.png new file mode 100644 index 0000000..8881e9b Binary files /dev/null and b/tools/visreg/golden/IndHMA.png differ diff --git a/tools/visreg/golden/IndHalfTrend.png b/tools/visreg/golden/IndHalfTrend.png new file mode 100644 index 0000000..2aca782 Binary files /dev/null and b/tools/visreg/golden/IndHalfTrend.png differ diff --git a/tools/visreg/golden/IndHighLowRange.png b/tools/visreg/golden/IndHighLowRange.png new file mode 100644 index 0000000..34f933a Binary files /dev/null and b/tools/visreg/golden/IndHighLowRange.png differ diff --git a/tools/visreg/golden/IndHistoricalVolatility.png b/tools/visreg/golden/IndHistoricalVolatility.png new file mode 100644 index 0000000..fa772fe Binary files /dev/null and b/tools/visreg/golden/IndHistoricalVolatility.png differ diff --git a/tools/visreg/golden/IndHurstExponent.png b/tools/visreg/golden/IndHurstExponent.png new file mode 100644 index 0000000..a62774d Binary files /dev/null and b/tools/visreg/golden/IndHurstExponent.png differ diff --git a/tools/visreg/golden/IndInertia.png b/tools/visreg/golden/IndInertia.png new file mode 100644 index 0000000..b342afa Binary files /dev/null and b/tools/visreg/golden/IndInertia.png differ diff --git a/tools/visreg/golden/IndIntradayIntensityIndex.png b/tools/visreg/golden/IndIntradayIntensityIndex.png new file mode 100644 index 0000000..d326889 Binary files /dev/null and b/tools/visreg/golden/IndIntradayIntensityIndex.png differ diff --git a/tools/visreg/golden/IndIntradayMomentumIndex.png b/tools/visreg/golden/IndIntradayMomentumIndex.png new file mode 100644 index 0000000..4d355dc Binary files /dev/null and b/tools/visreg/golden/IndIntradayMomentumIndex.png differ diff --git a/tools/visreg/golden/IndInverseFisherTransform.png b/tools/visreg/golden/IndInverseFisherTransform.png new file mode 100644 index 0000000..c40472c Binary files /dev/null and b/tools/visreg/golden/IndInverseFisherTransform.png differ diff --git a/tools/visreg/golden/IndJurikMovingAverage.png b/tools/visreg/golden/IndJurikMovingAverage.png new file mode 100644 index 0000000..9c33be7 Binary files /dev/null and b/tools/visreg/golden/IndJurikMovingAverage.png differ diff --git a/tools/visreg/golden/IndJurikVelocity.png b/tools/visreg/golden/IndJurikVelocity.png new file mode 100644 index 0000000..38d197a Binary files /dev/null and b/tools/visreg/golden/IndJurikVelocity.png differ diff --git a/tools/visreg/golden/IndKAMA.png b/tools/visreg/golden/IndKAMA.png new file mode 100644 index 0000000..660a93e Binary files /dev/null and b/tools/visreg/golden/IndKAMA.png differ diff --git a/tools/visreg/golden/IndKDJ.png b/tools/visreg/golden/IndKDJ.png new file mode 100644 index 0000000..cfad93e Binary files /dev/null and b/tools/visreg/golden/IndKDJ.png differ diff --git a/tools/visreg/golden/IndKST.png b/tools/visreg/golden/IndKST.png new file mode 100644 index 0000000..44bee44 Binary files /dev/null and b/tools/visreg/golden/IndKST.png differ diff --git a/tools/visreg/golden/IndKairi.png b/tools/visreg/golden/IndKairi.png new file mode 100644 index 0000000..a4a4dca Binary files /dev/null and b/tools/visreg/golden/IndKairi.png differ diff --git a/tools/visreg/golden/IndKeltnerBandwidth.png b/tools/visreg/golden/IndKeltnerBandwidth.png new file mode 100644 index 0000000..7bad2ee Binary files /dev/null and b/tools/visreg/golden/IndKeltnerBandwidth.png differ diff --git a/tools/visreg/golden/IndKeltnerChannels.png b/tools/visreg/golden/IndKeltnerChannels.png new file mode 100644 index 0000000..5b81d03 Binary files /dev/null and b/tools/visreg/golden/IndKeltnerChannels.png differ diff --git a/tools/visreg/golden/IndKijunSen.png b/tools/visreg/golden/IndKijunSen.png new file mode 100644 index 0000000..503f66a Binary files /dev/null and b/tools/visreg/golden/IndKijunSen.png differ diff --git a/tools/visreg/golden/IndKlingerVolumeOscillator.png b/tools/visreg/golden/IndKlingerVolumeOscillator.png new file mode 100644 index 0000000..0c7c941 Binary files /dev/null and b/tools/visreg/golden/IndKlingerVolumeOscillator.png differ diff --git a/tools/visreg/golden/IndKurtosis.png b/tools/visreg/golden/IndKurtosis.png new file mode 100644 index 0000000..6b3f5a0 Binary files /dev/null and b/tools/visreg/golden/IndKurtosis.png differ diff --git a/tools/visreg/golden/IndLSMA.png b/tools/visreg/golden/IndLSMA.png new file mode 100644 index 0000000..5331ffe Binary files /dev/null and b/tools/visreg/golden/IndLSMA.png differ diff --git a/tools/visreg/golden/IndLaguerreFilter.png b/tools/visreg/golden/IndLaguerreFilter.png new file mode 100644 index 0000000..228fe22 Binary files /dev/null and b/tools/visreg/golden/IndLaguerreFilter.png differ diff --git a/tools/visreg/golden/IndLaguerreRSI.png b/tools/visreg/golden/IndLaguerreRSI.png new file mode 100644 index 0000000..7ef6e73 Binary files /dev/null and b/tools/visreg/golden/IndLaguerreRSI.png differ diff --git a/tools/visreg/golden/IndLinReg.png b/tools/visreg/golden/IndLinReg.png new file mode 100644 index 0000000..5c3de8b Binary files /dev/null and b/tools/visreg/golden/IndLinReg.png differ diff --git a/tools/visreg/golden/IndLinRegAngle.png b/tools/visreg/golden/IndLinRegAngle.png new file mode 100644 index 0000000..2fda8b5 Binary files /dev/null and b/tools/visreg/golden/IndLinRegAngle.png differ diff --git a/tools/visreg/golden/IndLinRegIntercept.png b/tools/visreg/golden/IndLinRegIntercept.png new file mode 100644 index 0000000..13f95cf Binary files /dev/null and b/tools/visreg/golden/IndLinRegIntercept.png differ diff --git a/tools/visreg/golden/IndLinRegSlope.png b/tools/visreg/golden/IndLinRegSlope.png new file mode 100644 index 0000000..1d17928 Binary files /dev/null and b/tools/visreg/golden/IndLinRegSlope.png differ diff --git a/tools/visreg/golden/IndLinearRegressionForecast.png b/tools/visreg/golden/IndLinearRegressionForecast.png new file mode 100644 index 0000000..ce15e58 Binary files /dev/null and b/tools/visreg/golden/IndLinearRegressionForecast.png differ diff --git a/tools/visreg/golden/IndLinearRegressionIntercept.png b/tools/visreg/golden/IndLinearRegressionIntercept.png new file mode 100644 index 0000000..056aa09 Binary files /dev/null and b/tools/visreg/golden/IndLinearRegressionIntercept.png differ diff --git a/tools/visreg/golden/IndLinearRegressionOscillator.png b/tools/visreg/golden/IndLinearRegressionOscillator.png new file mode 100644 index 0000000..c90f066 Binary files /dev/null and b/tools/visreg/golden/IndLinearRegressionOscillator.png differ diff --git a/tools/visreg/golden/IndLinearRegressionSlope.png b/tools/visreg/golden/IndLinearRegressionSlope.png new file mode 100644 index 0000000..9b18fd4 Binary files /dev/null and b/tools/visreg/golden/IndLinearRegressionSlope.png differ diff --git a/tools/visreg/golden/IndMACD.png b/tools/visreg/golden/IndMACD.png new file mode 100644 index 0000000..62413e8 Binary files /dev/null and b/tools/visreg/golden/IndMACD.png differ diff --git a/tools/visreg/golden/IndMACDHistogram.png b/tools/visreg/golden/IndMACDHistogram.png new file mode 100644 index 0000000..b8341cf Binary files /dev/null and b/tools/visreg/golden/IndMACDHistogram.png differ diff --git a/tools/visreg/golden/IndMACDofRSI.png b/tools/visreg/golden/IndMACDofRSI.png new file mode 100644 index 0000000..656975c Binary files /dev/null and b/tools/visreg/golden/IndMACDofRSI.png differ diff --git a/tools/visreg/golden/IndMAEnvelopeLower.png b/tools/visreg/golden/IndMAEnvelopeLower.png new file mode 100644 index 0000000..936cb02 Binary files /dev/null and b/tools/visreg/golden/IndMAEnvelopeLower.png differ diff --git a/tools/visreg/golden/IndMAEnvelopeUpper.png b/tools/visreg/golden/IndMAEnvelopeUpper.png new file mode 100644 index 0000000..78590d2 Binary files /dev/null and b/tools/visreg/golden/IndMAEnvelopeUpper.png differ diff --git a/tools/visreg/golden/IndMAMA.png b/tools/visreg/golden/IndMAMA.png new file mode 100644 index 0000000..3bc7315 Binary files /dev/null and b/tools/visreg/golden/IndMAMA.png differ diff --git a/tools/visreg/golden/IndMassIndex.png b/tools/visreg/golden/IndMassIndex.png new file mode 100644 index 0000000..e18c6e3 Binary files /dev/null and b/tools/visreg/golden/IndMassIndex.png differ diff --git a/tools/visreg/golden/IndMcGinley.png b/tools/visreg/golden/IndMcGinley.png new file mode 100644 index 0000000..181a23a Binary files /dev/null and b/tools/visreg/golden/IndMcGinley.png differ diff --git a/tools/visreg/golden/IndMedianMA.png b/tools/visreg/golden/IndMedianMA.png new file mode 100644 index 0000000..f37b139 Binary files /dev/null and b/tools/visreg/golden/IndMedianMA.png differ diff --git a/tools/visreg/golden/IndMedianPrice.png b/tools/visreg/golden/IndMedianPrice.png new file mode 100644 index 0000000..a4bb280 Binary files /dev/null and b/tools/visreg/golden/IndMedianPrice.png differ diff --git a/tools/visreg/golden/IndMinusDI.png b/tools/visreg/golden/IndMinusDI.png new file mode 100644 index 0000000..f4b0d45 Binary files /dev/null and b/tools/visreg/golden/IndMinusDI.png differ diff --git a/tools/visreg/golden/IndMomentum.png b/tools/visreg/golden/IndMomentum.png new file mode 100644 index 0000000..4c3559d Binary files /dev/null and b/tools/visreg/golden/IndMomentum.png differ diff --git a/tools/visreg/golden/IndMoneyFlowIndex.png b/tools/visreg/golden/IndMoneyFlowIndex.png new file mode 100644 index 0000000..514239e Binary files /dev/null and b/tools/visreg/golden/IndMoneyFlowIndex.png differ diff --git a/tools/visreg/golden/IndMoneyFlowVolume.png b/tools/visreg/golden/IndMoneyFlowVolume.png new file mode 100644 index 0000000..0ba4dfb Binary files /dev/null and b/tools/visreg/golden/IndMoneyFlowVolume.png differ diff --git a/tools/visreg/golden/IndMovingAverageRibbon.png b/tools/visreg/golden/IndMovingAverageRibbon.png new file mode 100644 index 0000000..817e0c2 Binary files /dev/null and b/tools/visreg/golden/IndMovingAverageRibbon.png differ diff --git a/tools/visreg/golden/IndNATR.png b/tools/visreg/golden/IndNATR.png new file mode 100644 index 0000000..815226a Binary files /dev/null and b/tools/visreg/golden/IndNATR.png differ diff --git a/tools/visreg/golden/IndNegativeVolumeIndex.png b/tools/visreg/golden/IndNegativeVolumeIndex.png new file mode 100644 index 0000000..ef0c62d Binary files /dev/null and b/tools/visreg/golden/IndNegativeVolumeIndex.png differ diff --git a/tools/visreg/golden/IndNormalizedROC.png b/tools/visreg/golden/IndNormalizedROC.png new file mode 100644 index 0000000..3d76871 Binary files /dev/null and b/tools/visreg/golden/IndNormalizedROC.png differ diff --git a/tools/visreg/golden/IndOBV.png b/tools/visreg/golden/IndOBV.png new file mode 100644 index 0000000..de7ffe3 Binary files /dev/null and b/tools/visreg/golden/IndOBV.png differ diff --git a/tools/visreg/golden/IndPPO.png b/tools/visreg/golden/IndPPO.png new file mode 100644 index 0000000..35b5b01 Binary files /dev/null and b/tools/visreg/golden/IndPPO.png differ diff --git a/tools/visreg/golden/IndPSAR.png b/tools/visreg/golden/IndPSAR.png new file mode 100644 index 0000000..74755df Binary files /dev/null and b/tools/visreg/golden/IndPSAR.png differ diff --git a/tools/visreg/golden/IndParkinsonVolatility.png b/tools/visreg/golden/IndParkinsonVolatility.png new file mode 100644 index 0000000..d7f9413 Binary files /dev/null and b/tools/visreg/golden/IndParkinsonVolatility.png differ diff --git a/tools/visreg/golden/IndPercentRank.png b/tools/visreg/golden/IndPercentRank.png new file mode 100644 index 0000000..c020bbf Binary files /dev/null and b/tools/visreg/golden/IndPercentRank.png differ diff --git a/tools/visreg/golden/IndPercentageVolumeOscillator.png b/tools/visreg/golden/IndPercentageVolumeOscillator.png new file mode 100644 index 0000000..207f0b6 Binary files /dev/null and b/tools/visreg/golden/IndPercentageVolumeOscillator.png differ diff --git a/tools/visreg/golden/IndPercentileRank.png b/tools/visreg/golden/IndPercentileRank.png new file mode 100644 index 0000000..f15a5a6 Binary files /dev/null and b/tools/visreg/golden/IndPercentileRank.png differ diff --git a/tools/visreg/golden/IndPivotPoint.png b/tools/visreg/golden/IndPivotPoint.png new file mode 100644 index 0000000..1a35b68 Binary files /dev/null and b/tools/visreg/golden/IndPivotPoint.png differ diff --git a/tools/visreg/golden/IndPlusDI.png b/tools/visreg/golden/IndPlusDI.png new file mode 100644 index 0000000..aeb986d Binary files /dev/null and b/tools/visreg/golden/IndPlusDI.png differ diff --git a/tools/visreg/golden/IndPositiveVolumeIndex.png b/tools/visreg/golden/IndPositiveVolumeIndex.png new file mode 100644 index 0000000..a0b6aa0 Binary files /dev/null and b/tools/visreg/golden/IndPositiveVolumeIndex.png differ diff --git a/tools/visreg/golden/IndPrettyGoodOscillator.png b/tools/visreg/golden/IndPrettyGoodOscillator.png new file mode 100644 index 0000000..0252f1d Binary files /dev/null and b/tools/visreg/golden/IndPrettyGoodOscillator.png differ diff --git a/tools/visreg/golden/IndPriceMomentumOscillator.png b/tools/visreg/golden/IndPriceMomentumOscillator.png new file mode 100644 index 0000000..4a24080 Binary files /dev/null and b/tools/visreg/golden/IndPriceMomentumOscillator.png differ diff --git a/tools/visreg/golden/IndQStick.png b/tools/visreg/golden/IndQStick.png new file mode 100644 index 0000000..5e7c5bb Binary files /dev/null and b/tools/visreg/golden/IndQStick.png differ diff --git a/tools/visreg/golden/IndRMA.png b/tools/visreg/golden/IndRMA.png new file mode 100644 index 0000000..4eee83d Binary files /dev/null and b/tools/visreg/golden/IndRMA.png differ diff --git a/tools/visreg/golden/IndROC.png b/tools/visreg/golden/IndROC.png new file mode 100644 index 0000000..320d1f3 Binary files /dev/null and b/tools/visreg/golden/IndROC.png differ diff --git a/tools/visreg/golden/IndROCR.png b/tools/visreg/golden/IndROCR.png new file mode 100644 index 0000000..0fb2d10 Binary files /dev/null and b/tools/visreg/golden/IndROCR.png differ diff --git a/tools/visreg/golden/IndRSI.png b/tools/visreg/golden/IndRSI.png new file mode 100644 index 0000000..ed62a4d Binary files /dev/null and b/tools/visreg/golden/IndRSI.png differ diff --git a/tools/visreg/golden/IndRSX.png b/tools/visreg/golden/IndRSX.png new file mode 100644 index 0000000..70690d4 Binary files /dev/null and b/tools/visreg/golden/IndRSX.png differ diff --git a/tools/visreg/golden/IndRSquared.png b/tools/visreg/golden/IndRSquared.png new file mode 100644 index 0000000..02a0fc7 Binary files /dev/null and b/tools/visreg/golden/IndRSquared.png differ diff --git a/tools/visreg/golden/IndRWIHigh.png b/tools/visreg/golden/IndRWIHigh.png new file mode 100644 index 0000000..c6c3b55 Binary files /dev/null and b/tools/visreg/golden/IndRWIHigh.png differ diff --git a/tools/visreg/golden/IndRWILow.png b/tools/visreg/golden/IndRWILow.png new file mode 100644 index 0000000..0ff9d1e Binary files /dev/null and b/tools/visreg/golden/IndRWILow.png differ diff --git a/tools/visreg/golden/IndRainbowOscillator.png b/tools/visreg/golden/IndRainbowOscillator.png new file mode 100644 index 0000000..b78c57c Binary files /dev/null and b/tools/visreg/golden/IndRainbowOscillator.png differ diff --git a/tools/visreg/golden/IndRangeExpansionIndex.png b/tools/visreg/golden/IndRangeExpansionIndex.png new file mode 100644 index 0000000..a98af5f Binary files /dev/null and b/tools/visreg/golden/IndRangeExpansionIndex.png differ diff --git a/tools/visreg/golden/IndReflex.png b/tools/visreg/golden/IndReflex.png new file mode 100644 index 0000000..46c4ffa Binary files /dev/null and b/tools/visreg/golden/IndReflex.png differ diff --git a/tools/visreg/golden/IndRegressionChannel.png b/tools/visreg/golden/IndRegressionChannel.png new file mode 100644 index 0000000..bff8103 Binary files /dev/null and b/tools/visreg/golden/IndRegressionChannel.png differ diff --git a/tools/visreg/golden/IndRelativeMomentumIndex.png b/tools/visreg/golden/IndRelativeMomentumIndex.png new file mode 100644 index 0000000..1d4b3ce Binary files /dev/null and b/tools/visreg/golden/IndRelativeMomentumIndex.png differ diff --git a/tools/visreg/golden/IndRelativeVigorIndex.png b/tools/visreg/golden/IndRelativeVigorIndex.png new file mode 100644 index 0000000..3fd6aaa Binary files /dev/null and b/tools/visreg/golden/IndRelativeVigorIndex.png differ diff --git a/tools/visreg/golden/IndRelativeVolatilityIndex.png b/tools/visreg/golden/IndRelativeVolatilityIndex.png new file mode 100644 index 0000000..69572b3 Binary files /dev/null and b/tools/visreg/golden/IndRelativeVolatilityIndex.png differ diff --git a/tools/visreg/golden/IndRelativeVolume.png b/tools/visreg/golden/IndRelativeVolume.png new file mode 100644 index 0000000..8bcf5b3 Binary files /dev/null and b/tools/visreg/golden/IndRelativeVolume.png differ diff --git a/tools/visreg/golden/IndRogersSatchellVolatility.png b/tools/visreg/golden/IndRogersSatchellVolatility.png new file mode 100644 index 0000000..96311b7 Binary files /dev/null and b/tools/visreg/golden/IndRogersSatchellVolatility.png differ diff --git a/tools/visreg/golden/IndRoofingFilter.png b/tools/visreg/golden/IndRoofingFilter.png new file mode 100644 index 0000000..79facbe Binary files /dev/null and b/tools/visreg/golden/IndRoofingFilter.png differ diff --git a/tools/visreg/golden/IndSMA.png b/tools/visreg/golden/IndSMA.png new file mode 100644 index 0000000..da2ca9b Binary files /dev/null and b/tools/visreg/golden/IndSMA.png differ diff --git a/tools/visreg/golden/IndSMI.png b/tools/visreg/golden/IndSMI.png new file mode 100644 index 0000000..35d99e5 Binary files /dev/null and b/tools/visreg/golden/IndSMI.png differ diff --git a/tools/visreg/golden/IndSMMA.png b/tools/visreg/golden/IndSMMA.png new file mode 100644 index 0000000..82527a2 Binary files /dev/null and b/tools/visreg/golden/IndSMMA.png differ diff --git a/tools/visreg/golden/IndSSLChannel.png b/tools/visreg/golden/IndSSLChannel.png new file mode 100644 index 0000000..88b2d5a Binary files /dev/null and b/tools/visreg/golden/IndSSLChannel.png differ diff --git a/tools/visreg/golden/IndSchaffTrendCycle.png b/tools/visreg/golden/IndSchaffTrendCycle.png new file mode 100644 index 0000000..c70438a Binary files /dev/null and b/tools/visreg/golden/IndSchaffTrendCycle.png differ diff --git a/tools/visreg/golden/IndSenkouSpanA.png b/tools/visreg/golden/IndSenkouSpanA.png new file mode 100644 index 0000000..39eb105 Binary files /dev/null and b/tools/visreg/golden/IndSenkouSpanA.png differ diff --git a/tools/visreg/golden/IndSenkouSpanB.png b/tools/visreg/golden/IndSenkouSpanB.png new file mode 100644 index 0000000..27bae52 Binary files /dev/null and b/tools/visreg/golden/IndSenkouSpanB.png differ diff --git a/tools/visreg/golden/IndShannonEntropy.png b/tools/visreg/golden/IndShannonEntropy.png new file mode 100644 index 0000000..538e779 Binary files /dev/null and b/tools/visreg/golden/IndShannonEntropy.png differ diff --git a/tools/visreg/golden/IndSineWMA.png b/tools/visreg/golden/IndSineWMA.png new file mode 100644 index 0000000..0f0dd92 Binary files /dev/null and b/tools/visreg/golden/IndSineWMA.png differ diff --git a/tools/visreg/golden/IndSineWave.png b/tools/visreg/golden/IndSineWave.png new file mode 100644 index 0000000..c237715 Binary files /dev/null and b/tools/visreg/golden/IndSineWave.png differ diff --git a/tools/visreg/golden/IndSkewness.png b/tools/visreg/golden/IndSkewness.png new file mode 100644 index 0000000..41cdaa2 Binary files /dev/null and b/tools/visreg/golden/IndSkewness.png differ diff --git a/tools/visreg/golden/IndSmoothedROC.png b/tools/visreg/golden/IndSmoothedROC.png new file mode 100644 index 0000000..4861120 Binary files /dev/null and b/tools/visreg/golden/IndSmoothedROC.png differ diff --git a/tools/visreg/golden/IndSpearmanRank.png b/tools/visreg/golden/IndSpearmanRank.png new file mode 100644 index 0000000..741a068 Binary files /dev/null and b/tools/visreg/golden/IndSpearmanRank.png differ diff --git a/tools/visreg/golden/IndSpecialK.png b/tools/visreg/golden/IndSpecialK.png new file mode 100644 index 0000000..ef2cc4d Binary files /dev/null and b/tools/visreg/golden/IndSpecialK.png differ diff --git a/tools/visreg/golden/IndStandardError.png b/tools/visreg/golden/IndStandardError.png new file mode 100644 index 0000000..e8d4a07 Binary files /dev/null and b/tools/visreg/golden/IndStandardError.png differ diff --git a/tools/visreg/golden/IndStandardPivotPoints.png b/tools/visreg/golden/IndStandardPivotPoints.png new file mode 100644 index 0000000..0196131 Binary files /dev/null and b/tools/visreg/golden/IndStandardPivotPoints.png differ diff --git a/tools/visreg/golden/IndStdDev.png b/tools/visreg/golden/IndStdDev.png new file mode 100644 index 0000000..ad8f385 Binary files /dev/null and b/tools/visreg/golden/IndStdDev.png differ diff --git a/tools/visreg/golden/IndStochRSI.png b/tools/visreg/golden/IndStochRSI.png new file mode 100644 index 0000000..8d7efd0 Binary files /dev/null and b/tools/visreg/golden/IndStochRSI.png differ diff --git a/tools/visreg/golden/IndStochasticFast.png b/tools/visreg/golden/IndStochasticFast.png new file mode 100644 index 0000000..f2b7eb3 Binary files /dev/null and b/tools/visreg/golden/IndStochasticFast.png differ diff --git a/tools/visreg/golden/IndStochasticFull.png b/tools/visreg/golden/IndStochasticFull.png new file mode 100644 index 0000000..ecf736f Binary files /dev/null and b/tools/visreg/golden/IndStochasticFull.png differ diff --git a/tools/visreg/golden/IndStochasticPop.png b/tools/visreg/golden/IndStochasticPop.png new file mode 100644 index 0000000..b309621 Binary files /dev/null and b/tools/visreg/golden/IndStochasticPop.png differ diff --git a/tools/visreg/golden/IndStochasticSlow.png b/tools/visreg/golden/IndStochasticSlow.png new file mode 100644 index 0000000..79b48ad Binary files /dev/null and b/tools/visreg/golden/IndStochasticSlow.png differ diff --git a/tools/visreg/golden/IndSuperSmoother.png b/tools/visreg/golden/IndSuperSmoother.png new file mode 100644 index 0000000..156799e Binary files /dev/null and b/tools/visreg/golden/IndSuperSmoother.png differ diff --git a/tools/visreg/golden/IndSupertrend.png b/tools/visreg/golden/IndSupertrend.png new file mode 100644 index 0000000..8ff585e Binary files /dev/null and b/tools/visreg/golden/IndSupertrend.png differ diff --git a/tools/visreg/golden/IndSwenlinTradingOscillator.png b/tools/visreg/golden/IndSwenlinTradingOscillator.png new file mode 100644 index 0000000..295d638 Binary files /dev/null and b/tools/visreg/golden/IndSwenlinTradingOscillator.png differ diff --git a/tools/visreg/golden/IndSwingIndex.png b/tools/visreg/golden/IndSwingIndex.png new file mode 100644 index 0000000..37283d8 Binary files /dev/null and b/tools/visreg/golden/IndSwingIndex.png differ diff --git a/tools/visreg/golden/IndT3.png b/tools/visreg/golden/IndT3.png new file mode 100644 index 0000000..0093478 Binary files /dev/null and b/tools/visreg/golden/IndT3.png differ diff --git a/tools/visreg/golden/IndTDSequential.png b/tools/visreg/golden/IndTDSequential.png new file mode 100644 index 0000000..d5851db Binary files /dev/null and b/tools/visreg/golden/IndTDSequential.png differ diff --git a/tools/visreg/golden/IndTEMA.png b/tools/visreg/golden/IndTEMA.png new file mode 100644 index 0000000..cef1610 Binary files /dev/null and b/tools/visreg/golden/IndTEMA.png differ diff --git a/tools/visreg/golden/IndTRIMA.png b/tools/visreg/golden/IndTRIMA.png new file mode 100644 index 0000000..77439ab Binary files /dev/null and b/tools/visreg/golden/IndTRIMA.png differ diff --git a/tools/visreg/golden/IndTRIX.png b/tools/visreg/golden/IndTRIX.png new file mode 100644 index 0000000..29f7c95 Binary files /dev/null and b/tools/visreg/golden/IndTRIX.png differ diff --git a/tools/visreg/golden/IndTSF.png b/tools/visreg/golden/IndTSF.png new file mode 100644 index 0000000..4c204cd Binary files /dev/null and b/tools/visreg/golden/IndTSF.png differ diff --git a/tools/visreg/golden/IndTSI.png b/tools/visreg/golden/IndTSI.png new file mode 100644 index 0000000..057e2bd Binary files /dev/null and b/tools/visreg/golden/IndTSI.png differ diff --git a/tools/visreg/golden/IndTSMA.png b/tools/visreg/golden/IndTSMA.png new file mode 100644 index 0000000..058ae73 Binary files /dev/null and b/tools/visreg/golden/IndTSMA.png differ diff --git a/tools/visreg/golden/IndTTMSqueeze.png b/tools/visreg/golden/IndTTMSqueeze.png new file mode 100644 index 0000000..7a78c0a Binary files /dev/null and b/tools/visreg/golden/IndTTMSqueeze.png differ diff --git a/tools/visreg/golden/IndTenkanSen.png b/tools/visreg/golden/IndTenkanSen.png new file mode 100644 index 0000000..0bdf954 Binary files /dev/null and b/tools/visreg/golden/IndTenkanSen.png differ diff --git a/tools/visreg/golden/IndTrendFlex.png b/tools/visreg/golden/IndTrendFlex.png new file mode 100644 index 0000000..16723b6 Binary files /dev/null and b/tools/visreg/golden/IndTrendFlex.png differ diff --git a/tools/visreg/golden/IndTrendIntensityIndex.png b/tools/visreg/golden/IndTrendIntensityIndex.png new file mode 100644 index 0000000..90ddcee Binary files /dev/null and b/tools/visreg/golden/IndTrendIntensityIndex.png differ diff --git a/tools/visreg/golden/IndTrueRange.png b/tools/visreg/golden/IndTrueRange.png new file mode 100644 index 0000000..0bb03c2 Binary files /dev/null and b/tools/visreg/golden/IndTrueRange.png differ diff --git a/tools/visreg/golden/IndTwiggsMoneyFlow.png b/tools/visreg/golden/IndTwiggsMoneyFlow.png new file mode 100644 index 0000000..c1e2870 Binary files /dev/null and b/tools/visreg/golden/IndTwiggsMoneyFlow.png differ diff --git a/tools/visreg/golden/IndTypicalPrice.png b/tools/visreg/golden/IndTypicalPrice.png new file mode 100644 index 0000000..b405b56 Binary files /dev/null and b/tools/visreg/golden/IndTypicalPrice.png differ diff --git a/tools/visreg/golden/IndUTBot.png b/tools/visreg/golden/IndUTBot.png new file mode 100644 index 0000000..3c8aec4 Binary files /dev/null and b/tools/visreg/golden/IndUTBot.png differ diff --git a/tools/visreg/golden/IndUlcerIndex.png b/tools/visreg/golden/IndUlcerIndex.png new file mode 100644 index 0000000..264669d Binary files /dev/null and b/tools/visreg/golden/IndUlcerIndex.png differ diff --git a/tools/visreg/golden/IndUltimateOscillator.png b/tools/visreg/golden/IndUltimateOscillator.png new file mode 100644 index 0000000..28cf907 Binary files /dev/null and b/tools/visreg/golden/IndUltimateOscillator.png differ diff --git a/tools/visreg/golden/IndUpDownRatio.png b/tools/visreg/golden/IndUpDownRatio.png new file mode 100644 index 0000000..163f460 Binary files /dev/null and b/tools/visreg/golden/IndUpDownRatio.png differ diff --git a/tools/visreg/golden/IndUpDownVolumeRatio.png b/tools/visreg/golden/IndUpDownVolumeRatio.png new file mode 100644 index 0000000..2ccc324 Binary files /dev/null and b/tools/visreg/golden/IndUpDownVolumeRatio.png differ diff --git a/tools/visreg/golden/IndVHF.png b/tools/visreg/golden/IndVHF.png new file mode 100644 index 0000000..64c82fa Binary files /dev/null and b/tools/visreg/golden/IndVHF.png differ diff --git a/tools/visreg/golden/IndVIDYA.png b/tools/visreg/golden/IndVIDYA.png new file mode 100644 index 0000000..4771cec Binary files /dev/null and b/tools/visreg/golden/IndVIDYA.png differ diff --git a/tools/visreg/golden/IndVWAP.png b/tools/visreg/golden/IndVWAP.png new file mode 100644 index 0000000..f74ecb8 Binary files /dev/null and b/tools/visreg/golden/IndVWAP.png differ diff --git a/tools/visreg/golden/IndVWAPBands.png b/tools/visreg/golden/IndVWAPBands.png new file mode 100644 index 0000000..a96772b Binary files /dev/null and b/tools/visreg/golden/IndVWAPBands.png differ diff --git a/tools/visreg/golden/IndVWEMA.png b/tools/visreg/golden/IndVWEMA.png new file mode 100644 index 0000000..47c5b67 Binary files /dev/null and b/tools/visreg/golden/IndVWEMA.png differ diff --git a/tools/visreg/golden/IndVWMA.png b/tools/visreg/golden/IndVWMA.png new file mode 100644 index 0000000..2e731f3 Binary files /dev/null and b/tools/visreg/golden/IndVWMA.png differ diff --git a/tools/visreg/golden/IndVariance.png b/tools/visreg/golden/IndVariance.png new file mode 100644 index 0000000..38080f0 Binary files /dev/null and b/tools/visreg/golden/IndVariance.png differ diff --git a/tools/visreg/golden/IndVolatilityRatio.png b/tools/visreg/golden/IndVolatilityRatio.png new file mode 100644 index 0000000..4e57265 Binary files /dev/null and b/tools/visreg/golden/IndVolatilityRatio.png differ diff --git a/tools/visreg/golden/IndVolatilityStop.png b/tools/visreg/golden/IndVolatilityStop.png new file mode 100644 index 0000000..b2c9f21 Binary files /dev/null and b/tools/visreg/golden/IndVolatilityStop.png differ diff --git a/tools/visreg/golden/IndVolumeAverage.png b/tools/visreg/golden/IndVolumeAverage.png new file mode 100644 index 0000000..9a1f880 Binary files /dev/null and b/tools/visreg/golden/IndVolumeAverage.png differ diff --git a/tools/visreg/golden/IndVolumeDelta.png b/tools/visreg/golden/IndVolumeDelta.png new file mode 100644 index 0000000..6a5f4c8 Binary files /dev/null and b/tools/visreg/golden/IndVolumeDelta.png differ diff --git a/tools/visreg/golden/IndVolumeOscillator.png b/tools/visreg/golden/IndVolumeOscillator.png new file mode 100644 index 0000000..09fd704 Binary files /dev/null and b/tools/visreg/golden/IndVolumeOscillator.png differ diff --git a/tools/visreg/golden/IndVolumePriceTrend.png b/tools/visreg/golden/IndVolumePriceTrend.png new file mode 100644 index 0000000..3847a64 Binary files /dev/null and b/tools/visreg/golden/IndVolumePriceTrend.png differ diff --git a/tools/visreg/golden/IndVolumeRateOfChange.png b/tools/visreg/golden/IndVolumeRateOfChange.png new file mode 100644 index 0000000..a31964a Binary files /dev/null and b/tools/visreg/golden/IndVolumeRateOfChange.png differ diff --git a/tools/visreg/golden/IndVolumeWeightedMovingAverage.png b/tools/visreg/golden/IndVolumeWeightedMovingAverage.png new file mode 100644 index 0000000..cb5f43d Binary files /dev/null and b/tools/visreg/golden/IndVolumeWeightedMovingAverage.png differ diff --git a/tools/visreg/golden/IndVolumeZoneOscillator.png b/tools/visreg/golden/IndVolumeZoneOscillator.png new file mode 100644 index 0000000..84f73e1 Binary files /dev/null and b/tools/visreg/golden/IndVolumeZoneOscillator.png differ diff --git a/tools/visreg/golden/IndVortex.png b/tools/visreg/golden/IndVortex.png new file mode 100644 index 0000000..da16cd6 Binary files /dev/null and b/tools/visreg/golden/IndVortex.png differ diff --git a/tools/visreg/golden/IndWMA.png b/tools/visreg/golden/IndWMA.png new file mode 100644 index 0000000..5f6f1c3 Binary files /dev/null and b/tools/visreg/golden/IndWMA.png differ diff --git a/tools/visreg/golden/IndWaveTrend.png b/tools/visreg/golden/IndWaveTrend.png new file mode 100644 index 0000000..8afa7a1 Binary files /dev/null and b/tools/visreg/golden/IndWaveTrend.png differ diff --git a/tools/visreg/golden/IndWeightedClose.png b/tools/visreg/golden/IndWeightedClose.png new file mode 100644 index 0000000..89dadd3 Binary files /dev/null and b/tools/visreg/golden/IndWeightedClose.png differ diff --git a/tools/visreg/golden/IndWilderVolatilitySystem.png b/tools/visreg/golden/IndWilderVolatilitySystem.png new file mode 100644 index 0000000..da65159 Binary files /dev/null and b/tools/visreg/golden/IndWilderVolatilitySystem.png differ diff --git a/tools/visreg/golden/IndWildersMA.png b/tools/visreg/golden/IndWildersMA.png new file mode 100644 index 0000000..f0f8878 Binary files /dev/null and b/tools/visreg/golden/IndWildersMA.png differ diff --git a/tools/visreg/golden/IndWilliamsAccumulationDistribution.png b/tools/visreg/golden/IndWilliamsAccumulationDistribution.png new file mode 100644 index 0000000..dada505 Binary files /dev/null and b/tools/visreg/golden/IndWilliamsAccumulationDistribution.png differ diff --git a/tools/visreg/golden/IndWilliamsR.png b/tools/visreg/golden/IndWilliamsR.png new file mode 100644 index 0000000..91d5717 Binary files /dev/null and b/tools/visreg/golden/IndWilliamsR.png differ diff --git a/tools/visreg/golden/IndWoodiePivotPoints.png b/tools/visreg/golden/IndWoodiePivotPoints.png new file mode 100644 index 0000000..05dc667 Binary files /dev/null and b/tools/visreg/golden/IndWoodiePivotPoints.png differ diff --git a/tools/visreg/golden/IndYangZhangVolatility.png b/tools/visreg/golden/IndYangZhangVolatility.png new file mode 100644 index 0000000..b21a492 Binary files /dev/null and b/tools/visreg/golden/IndYangZhangVolatility.png differ diff --git a/tools/visreg/golden/IndZLEMA.png b/tools/visreg/golden/IndZLEMA.png new file mode 100644 index 0000000..b838ece Binary files /dev/null and b/tools/visreg/golden/IndZLEMA.png differ diff --git a/tools/visreg/golden/IndZScore.png b/tools/visreg/golden/IndZScore.png new file mode 100644 index 0000000..e2c5081 Binary files /dev/null and b/tools/visreg/golden/IndZScore.png differ diff --git a/tools/visreg/golden/IndZeroLagMACD.png b/tools/visreg/golden/IndZeroLagMACD.png new file mode 100644 index 0000000..f07522a Binary files /dev/null and b/tools/visreg/golden/IndZeroLagMACD.png differ diff --git a/tools/visreg/golden/IndZigZag.png b/tools/visreg/golden/IndZigZag.png new file mode 100644 index 0000000..3d6c2d5 Binary files /dev/null and b/tools/visreg/golden/IndZigZag.png differ diff --git a/tools/visreg/golden/InstAnalogGauge.png b/tools/visreg/golden/InstAnalogGauge.png new file mode 100644 index 0000000..50c06f0 Binary files /dev/null and b/tools/visreg/golden/InstAnalogGauge.png differ diff --git a/tools/visreg/golden/InstBarMeter.png b/tools/visreg/golden/InstBarMeter.png new file mode 100644 index 0000000..f1969e9 Binary files /dev/null and b/tools/visreg/golden/InstBarMeter.png differ diff --git a/tools/visreg/golden/InstBeacon.png b/tools/visreg/golden/InstBeacon.png new file mode 100644 index 0000000..e170218 Binary files /dev/null and b/tools/visreg/golden/InstBeacon.png differ diff --git a/tools/visreg/golden/InstBezel.png b/tools/visreg/golden/InstBezel.png new file mode 100644 index 0000000..4670d1d Binary files /dev/null and b/tools/visreg/golden/InstBezel.png differ diff --git a/tools/visreg/golden/InstCircuitBreaker.png b/tools/visreg/golden/InstCircuitBreaker.png new file mode 100644 index 0000000..213d82f Binary files /dev/null and b/tools/visreg/golden/InstCircuitBreaker.png differ diff --git a/tools/visreg/golden/InstControlPanel.png b/tools/visreg/golden/InstControlPanel.png new file mode 100644 index 0000000..ba80d99 Binary files /dev/null and b/tools/visreg/golden/InstControlPanel.png differ diff --git a/tools/visreg/golden/InstDigitalReadout.png b/tools/visreg/golden/InstDigitalReadout.png new file mode 100644 index 0000000..a8c32a4 Binary files /dev/null and b/tools/visreg/golden/InstDigitalReadout.png differ diff --git a/tools/visreg/golden/InstEmergencyStop.png b/tools/visreg/golden/InstEmergencyStop.png new file mode 100644 index 0000000..a35640c Binary files /dev/null and b/tools/visreg/golden/InstEmergencyStop.png differ diff --git a/tools/visreg/golden/InstFlowMeter.png b/tools/visreg/golden/InstFlowMeter.png new file mode 100644 index 0000000..625fc1a Binary files /dev/null and b/tools/visreg/golden/InstFlowMeter.png differ diff --git a/tools/visreg/golden/InstHorizontalTankLevel.png b/tools/visreg/golden/InstHorizontalTankLevel.png new file mode 100644 index 0000000..b166704 Binary files /dev/null and b/tools/visreg/golden/InstHorizontalTankLevel.png differ diff --git a/tools/visreg/golden/InstKeySwitch.png b/tools/visreg/golden/InstKeySwitch.png new file mode 100644 index 0000000..c4a7679 Binary files /dev/null and b/tools/visreg/golden/InstKeySwitch.png differ diff --git a/tools/visreg/golden/InstLampTestButton.png b/tools/visreg/golden/InstLampTestButton.png new file mode 100644 index 0000000..29a0743 Binary files /dev/null and b/tools/visreg/golden/InstLampTestButton.png differ diff --git a/tools/visreg/golden/InstLedBlue.png b/tools/visreg/golden/InstLedBlue.png new file mode 100644 index 0000000..700ca02 Binary files /dev/null and b/tools/visreg/golden/InstLedBlue.png differ diff --git a/tools/visreg/golden/InstLedDigits1.png b/tools/visreg/golden/InstLedDigits1.png new file mode 100644 index 0000000..8aff532 Binary files /dev/null and b/tools/visreg/golden/InstLedDigits1.png differ diff --git a/tools/visreg/golden/InstLedDigits2.png b/tools/visreg/golden/InstLedDigits2.png new file mode 100644 index 0000000..e66f456 Binary files /dev/null and b/tools/visreg/golden/InstLedDigits2.png differ diff --git a/tools/visreg/golden/InstLedDigits3.png b/tools/visreg/golden/InstLedDigits3.png new file mode 100644 index 0000000..94d7aff Binary files /dev/null and b/tools/visreg/golden/InstLedDigits3.png differ diff --git a/tools/visreg/golden/InstLedDigits4.png b/tools/visreg/golden/InstLedDigits4.png new file mode 100644 index 0000000..0ae1df0 Binary files /dev/null and b/tools/visreg/golden/InstLedDigits4.png differ diff --git a/tools/visreg/golden/InstLedDigits5.png b/tools/visreg/golden/InstLedDigits5.png new file mode 100644 index 0000000..749788c Binary files /dev/null and b/tools/visreg/golden/InstLedDigits5.png differ diff --git a/tools/visreg/golden/InstLedDigits6.png b/tools/visreg/golden/InstLedDigits6.png new file mode 100644 index 0000000..696893f Binary files /dev/null and b/tools/visreg/golden/InstLedDigits6.png differ diff --git a/tools/visreg/golden/InstLedGreen.png b/tools/visreg/golden/InstLedGreen.png new file mode 100644 index 0000000..bda1758 Binary files /dev/null and b/tools/visreg/golden/InstLedGreen.png differ diff --git a/tools/visreg/golden/InstLedRed.png b/tools/visreg/golden/InstLedRed.png new file mode 100644 index 0000000..a537168 Binary files /dev/null and b/tools/visreg/golden/InstLedRed.png differ diff --git a/tools/visreg/golden/InstLevelColumnGauge.png b/tools/visreg/golden/InstLevelColumnGauge.png new file mode 100644 index 0000000..c810cd0 Binary files /dev/null and b/tools/visreg/golden/InstLevelColumnGauge.png differ diff --git a/tools/visreg/golden/InstLevelTransmitter.png b/tools/visreg/golden/InstLevelTransmitter.png new file mode 100644 index 0000000..151215d Binary files /dev/null and b/tools/visreg/golden/InstLevelTransmitter.png differ diff --git a/tools/visreg/golden/InstManometer.png b/tools/visreg/golden/InstManometer.png new file mode 100644 index 0000000..fe55e62 Binary files /dev/null and b/tools/visreg/golden/InstManometer.png differ diff --git a/tools/visreg/golden/InstNameplate.png b/tools/visreg/golden/InstNameplate.png new file mode 100644 index 0000000..eeeb989 Binary files /dev/null and b/tools/visreg/golden/InstNameplate.png differ diff --git a/tools/visreg/golden/InstNeedleEdgewise.png b/tools/visreg/golden/InstNeedleEdgewise.png new file mode 100644 index 0000000..7bf4539 Binary files /dev/null and b/tools/visreg/golden/InstNeedleEdgewise.png differ diff --git a/tools/visreg/golden/InstNeedleKnifeEdge.png b/tools/visreg/golden/InstNeedleKnifeEdge.png new file mode 100644 index 0000000..c804bd4 Binary files /dev/null and b/tools/visreg/golden/InstNeedleKnifeEdge.png differ diff --git a/tools/visreg/golden/InstNeedleTapered.png b/tools/visreg/golden/InstNeedleTapered.png new file mode 100644 index 0000000..ff524cd Binary files /dev/null and b/tools/visreg/golden/InstNeedleTapered.png differ diff --git a/tools/visreg/golden/InstNeedleVu.png b/tools/visreg/golden/InstNeedleVu.png new file mode 100644 index 0000000..4cc1941 Binary files /dev/null and b/tools/visreg/golden/InstNeedleVu.png differ diff --git a/tools/visreg/golden/InstOpenChannelLevel.png b/tools/visreg/golden/InstOpenChannelLevel.png new file mode 100644 index 0000000..62e3163 Binary files /dev/null and b/tools/visreg/golden/InstOpenChannelLevel.png differ diff --git a/tools/visreg/golden/InstPanelLampAmber.png b/tools/visreg/golden/InstPanelLampAmber.png new file mode 100644 index 0000000..a250081 Binary files /dev/null and b/tools/visreg/golden/InstPanelLampAmber.png differ diff --git a/tools/visreg/golden/InstPanelLampBlue.png b/tools/visreg/golden/InstPanelLampBlue.png new file mode 100644 index 0000000..b520f0b Binary files /dev/null and b/tools/visreg/golden/InstPanelLampBlue.png differ diff --git a/tools/visreg/golden/InstPanelLampGreen.png b/tools/visreg/golden/InstPanelLampGreen.png new file mode 100644 index 0000000..bfc4f57 Binary files /dev/null and b/tools/visreg/golden/InstPanelLampGreen.png differ diff --git a/tools/visreg/golden/InstPanelLampRed.png b/tools/visreg/golden/InstPanelLampRed.png new file mode 100644 index 0000000..2f400cb Binary files /dev/null and b/tools/visreg/golden/InstPanelLampRed.png differ diff --git a/tools/visreg/golden/InstPanelLampWhite.png b/tools/visreg/golden/InstPanelLampWhite.png new file mode 100644 index 0000000..7a1a4a9 Binary files /dev/null and b/tools/visreg/golden/InstPanelLampWhite.png differ diff --git a/tools/visreg/golden/InstPanelPlate.png b/tools/visreg/golden/InstPanelPlate.png new file mode 100644 index 0000000..3d97c86 Binary files /dev/null and b/tools/visreg/golden/InstPanelPlate.png differ diff --git a/tools/visreg/golden/InstPressureGauge.png b/tools/visreg/golden/InstPressureGauge.png new file mode 100644 index 0000000..08137be Binary files /dev/null and b/tools/visreg/golden/InstPressureGauge.png differ diff --git a/tools/visreg/golden/InstPushButton.png b/tools/visreg/golden/InstPushButton.png new file mode 100644 index 0000000..f657f06 Binary files /dev/null and b/tools/visreg/golden/InstPushButton.png differ diff --git a/tools/visreg/golden/InstPushButtonLatching.png b/tools/visreg/golden/InstPushButtonLatching.png new file mode 100644 index 0000000..e8b2f02 Binary files /dev/null and b/tools/visreg/golden/InstPushButtonLatching.png differ diff --git a/tools/visreg/golden/InstRgbStatusLed.png b/tools/visreg/golden/InstRgbStatusLed.png new file mode 100644 index 0000000..e202532 Binary files /dev/null and b/tools/visreg/golden/InstRgbStatusLed.png differ diff --git a/tools/visreg/golden/InstRockerSwitch.png b/tools/visreg/golden/InstRockerSwitch.png new file mode 100644 index 0000000..27fca69 Binary files /dev/null and b/tools/visreg/golden/InstRockerSwitch.png differ diff --git a/tools/visreg/golden/InstRockerSwitchDouble.png b/tools/visreg/golden/InstRockerSwitchDouble.png new file mode 100644 index 0000000..7c721fc Binary files /dev/null and b/tools/visreg/golden/InstRockerSwitchDouble.png differ diff --git a/tools/visreg/golden/InstRockerSwitchIlluminated.png b/tools/visreg/golden/InstRockerSwitchIlluminated.png new file mode 100644 index 0000000..9f6608d Binary files /dev/null and b/tools/visreg/golden/InstRockerSwitchIlluminated.png differ diff --git a/tools/visreg/golden/InstRotarySelector.png b/tools/visreg/golden/InstRotarySelector.png new file mode 100644 index 0000000..6bf924b Binary files /dev/null and b/tools/visreg/golden/InstRotarySelector.png differ diff --git a/tools/visreg/golden/InstSeg14Display1.png b/tools/visreg/golden/InstSeg14Display1.png new file mode 100644 index 0000000..c75197e Binary files /dev/null and b/tools/visreg/golden/InstSeg14Display1.png differ diff --git a/tools/visreg/golden/InstSeg14Display2.png b/tools/visreg/golden/InstSeg14Display2.png new file mode 100644 index 0000000..e86c628 Binary files /dev/null and b/tools/visreg/golden/InstSeg14Display2.png differ diff --git a/tools/visreg/golden/InstSeg14Display3.png b/tools/visreg/golden/InstSeg14Display3.png new file mode 100644 index 0000000..78ae539 Binary files /dev/null and b/tools/visreg/golden/InstSeg14Display3.png differ diff --git a/tools/visreg/golden/InstSeg14Display4.png b/tools/visreg/golden/InstSeg14Display4.png new file mode 100644 index 0000000..255e0dd Binary files /dev/null and b/tools/visreg/golden/InstSeg14Display4.png differ diff --git a/tools/visreg/golden/InstSeg14Display5.png b/tools/visreg/golden/InstSeg14Display5.png new file mode 100644 index 0000000..2cf7cbb Binary files /dev/null and b/tools/visreg/golden/InstSeg14Display5.png differ diff --git a/tools/visreg/golden/InstSeg14Display6.png b/tools/visreg/golden/InstSeg14Display6.png new file mode 100644 index 0000000..99410e1 Binary files /dev/null and b/tools/visreg/golden/InstSeg14Display6.png differ diff --git a/tools/visreg/golden/InstSeg16Display1.png b/tools/visreg/golden/InstSeg16Display1.png new file mode 100644 index 0000000..83f694d Binary files /dev/null and b/tools/visreg/golden/InstSeg16Display1.png differ diff --git a/tools/visreg/golden/InstSeg16Display2.png b/tools/visreg/golden/InstSeg16Display2.png new file mode 100644 index 0000000..edf9865 Binary files /dev/null and b/tools/visreg/golden/InstSeg16Display2.png differ diff --git a/tools/visreg/golden/InstSeg16Display3.png b/tools/visreg/golden/InstSeg16Display3.png new file mode 100644 index 0000000..6523896 Binary files /dev/null and b/tools/visreg/golden/InstSeg16Display3.png differ diff --git a/tools/visreg/golden/InstSeg16Display4.png b/tools/visreg/golden/InstSeg16Display4.png new file mode 100644 index 0000000..bd9644e Binary files /dev/null and b/tools/visreg/golden/InstSeg16Display4.png differ diff --git a/tools/visreg/golden/InstSeg16Display5.png b/tools/visreg/golden/InstSeg16Display5.png new file mode 100644 index 0000000..1369421 Binary files /dev/null and b/tools/visreg/golden/InstSeg16Display5.png differ diff --git a/tools/visreg/golden/InstSeg16Display6.png b/tools/visreg/golden/InstSeg16Display6.png new file mode 100644 index 0000000..289e651 Binary files /dev/null and b/tools/visreg/golden/InstSeg16Display6.png differ diff --git a/tools/visreg/golden/InstSightGlassLevel.png b/tools/visreg/golden/InstSightGlassLevel.png new file mode 100644 index 0000000..4a90128 Binary files /dev/null and b/tools/visreg/golden/InstSightGlassLevel.png differ diff --git a/tools/visreg/golden/InstSlideSwitch.png b/tools/visreg/golden/InstSlideSwitch.png new file mode 100644 index 0000000..a528e12 Binary files /dev/null and b/tools/visreg/golden/InstSlideSwitch.png differ diff --git a/tools/visreg/golden/InstSphericalTankLevel.png b/tools/visreg/golden/InstSphericalTankLevel.png new file mode 100644 index 0000000..0a17844 Binary files /dev/null and b/tools/visreg/golden/InstSphericalTankLevel.png differ diff --git a/tools/visreg/golden/InstStackLight.png b/tools/visreg/golden/InstStackLight.png new file mode 100644 index 0000000..9a6a3a9 Binary files /dev/null and b/tools/visreg/golden/InstStackLight.png differ diff --git a/tools/visreg/golden/InstTankLevelAlarms.png b/tools/visreg/golden/InstTankLevelAlarms.png new file mode 100644 index 0000000..322c588 Binary files /dev/null and b/tools/visreg/golden/InstTankLevelAlarms.png differ diff --git a/tools/visreg/golden/InstTemperatureGauge.png b/tools/visreg/golden/InstTemperatureGauge.png new file mode 100644 index 0000000..3c533bd Binary files /dev/null and b/tools/visreg/golden/InstTemperatureGauge.png differ diff --git a/tools/visreg/golden/InstToggleSwitch.png b/tools/visreg/golden/InstToggleSwitch.png new file mode 100644 index 0000000..db32a03 Binary files /dev/null and b/tools/visreg/golden/InstToggleSwitch.png differ diff --git a/tools/visreg/golden/InstToggleSwitchIlluminated.png b/tools/visreg/golden/InstToggleSwitchIlluminated.png new file mode 100644 index 0000000..abe7193 Binary files /dev/null and b/tools/visreg/golden/InstToggleSwitchIlluminated.png differ diff --git a/tools/visreg/golden/InstVerticalTankLevel.png b/tools/visreg/golden/InstVerticalTankLevel.png new file mode 100644 index 0000000..0ab1f44 Binary files /dev/null and b/tools/visreg/golden/InstVerticalTankLevel.png differ diff --git a/tools/visreg/golden/InstVuMeter.png b/tools/visreg/golden/InstVuMeter.png new file mode 100644 index 0000000..29c4576 Binary files /dev/null and b/tools/visreg/golden/InstVuMeter.png differ diff --git a/tools/visreg/golden/StockAccumulationDistribution.png b/tools/visreg/golden/StockAccumulationDistribution.png new file mode 100644 index 0000000..fd587c2 Binary files /dev/null and b/tools/visreg/golden/StockAccumulationDistribution.png differ diff --git a/tools/visreg/golden/StockAreaChart.png b/tools/visreg/golden/StockAreaChart.png new file mode 100644 index 0000000..0aa15a8 Binary files /dev/null and b/tools/visreg/golden/StockAreaChart.png differ diff --git a/tools/visreg/golden/StockArrow.png b/tools/visreg/golden/StockArrow.png new file mode 100644 index 0000000..9a0d48a Binary files /dev/null and b/tools/visreg/golden/StockArrow.png differ diff --git a/tools/visreg/golden/StockBaselineChart.png b/tools/visreg/golden/StockBaselineChart.png new file mode 100644 index 0000000..44bd6c1 Binary files /dev/null and b/tools/visreg/golden/StockBaselineChart.png differ diff --git a/tools/visreg/golden/StockBrush.png b/tools/visreg/golden/StockBrush.png new file mode 100644 index 0000000..76ced39 Binary files /dev/null and b/tools/visreg/golden/StockBrush.png differ diff --git a/tools/visreg/golden/StockCandlestickChart.png b/tools/visreg/golden/StockCandlestickChart.png new file mode 100644 index 0000000..9b386b1 Binary files /dev/null and b/tools/visreg/golden/StockCandlestickChart.png differ diff --git a/tools/visreg/golden/StockCorrelationView.png b/tools/visreg/golden/StockCorrelationView.png new file mode 100644 index 0000000..a1a4385 Binary files /dev/null and b/tools/visreg/golden/StockCorrelationView.png differ diff --git a/tools/visreg/golden/StockEllipse.png b/tools/visreg/golden/StockEllipse.png new file mode 100644 index 0000000..c58f641 Binary files /dev/null and b/tools/visreg/golden/StockEllipse.png differ diff --git a/tools/visreg/golden/StockFibExtension.png b/tools/visreg/golden/StockFibExtension.png new file mode 100644 index 0000000..0af92cf Binary files /dev/null and b/tools/visreg/golden/StockFibExtension.png differ diff --git a/tools/visreg/golden/StockFibRetracement.png b/tools/visreg/golden/StockFibRetracement.png new file mode 100644 index 0000000..432f279 Binary files /dev/null and b/tools/visreg/golden/StockFibRetracement.png differ diff --git a/tools/visreg/golden/StockHeikinAshi.png b/tools/visreg/golden/StockHeikinAshi.png new file mode 100644 index 0000000..d273be5 Binary files /dev/null and b/tools/visreg/golden/StockHeikinAshi.png differ diff --git a/tools/visreg/golden/StockHollowCandles.png b/tools/visreg/golden/StockHollowCandles.png new file mode 100644 index 0000000..fc46d3d Binary files /dev/null and b/tools/visreg/golden/StockHollowCandles.png differ diff --git a/tools/visreg/golden/StockHorizontalLine.png b/tools/visreg/golden/StockHorizontalLine.png new file mode 100644 index 0000000..0374e4f Binary files /dev/null and b/tools/visreg/golden/StockHorizontalLine.png differ diff --git a/tools/visreg/golden/StockIndexedComparison.png b/tools/visreg/golden/StockIndexedComparison.png new file mode 100644 index 0000000..7a9b93f Binary files /dev/null and b/tools/visreg/golden/StockIndexedComparison.png differ diff --git a/tools/visreg/golden/StockLineChart.png b/tools/visreg/golden/StockLineChart.png new file mode 100644 index 0000000..186c5e0 Binary files /dev/null and b/tools/visreg/golden/StockLineChart.png differ diff --git a/tools/visreg/golden/StockMeasureTool.png b/tools/visreg/golden/StockMeasureTool.png new file mode 100644 index 0000000..1b439e6 Binary files /dev/null and b/tools/visreg/golden/StockMeasureTool.png differ diff --git a/tools/visreg/golden/StockMoneyFlowChart.png b/tools/visreg/golden/StockMoneyFlowChart.png new file mode 100644 index 0000000..1286ae7 Binary files /dev/null and b/tools/visreg/golden/StockMoneyFlowChart.png differ diff --git a/tools/visreg/golden/StockMultiSymbolChart.png b/tools/visreg/golden/StockMultiSymbolChart.png new file mode 100644 index 0000000..7193ad0 Binary files /dev/null and b/tools/visreg/golden/StockMultiSymbolChart.png differ diff --git a/tools/visreg/golden/StockOBVChart.png b/tools/visreg/golden/StockOBVChart.png new file mode 100644 index 0000000..ba35796 Binary files /dev/null and b/tools/visreg/golden/StockOBVChart.png differ diff --git a/tools/visreg/golden/StockOHLCBarChart.png b/tools/visreg/golden/StockOHLCBarChart.png new file mode 100644 index 0000000..32900ea Binary files /dev/null and b/tools/visreg/golden/StockOHLCBarChart.png differ diff --git a/tools/visreg/golden/StockOverlayChart.png b/tools/visreg/golden/StockOverlayChart.png new file mode 100644 index 0000000..43d86e9 Binary files /dev/null and b/tools/visreg/golden/StockOverlayChart.png differ diff --git a/tools/visreg/golden/StockParallelChannel.png b/tools/visreg/golden/StockParallelChannel.png new file mode 100644 index 0000000..059b460 Binary files /dev/null and b/tools/visreg/golden/StockParallelChannel.png differ diff --git a/tools/visreg/golden/StockPitchfork.png b/tools/visreg/golden/StockPitchfork.png new file mode 100644 index 0000000..132d698 Binary files /dev/null and b/tools/visreg/golden/StockPitchfork.png differ diff --git a/tools/visreg/golden/StockPriceLabel.png b/tools/visreg/golden/StockPriceLabel.png new file mode 100644 index 0000000..7c8495d Binary files /dev/null and b/tools/visreg/golden/StockPriceLabel.png differ diff --git a/tools/visreg/golden/StockRatioChart.png b/tools/visreg/golden/StockRatioChart.png new file mode 100644 index 0000000..567856e Binary files /dev/null and b/tools/visreg/golden/StockRatioChart.png differ diff --git a/tools/visreg/golden/StockRectangle.png b/tools/visreg/golden/StockRectangle.png new file mode 100644 index 0000000..f54afe7 Binary files /dev/null and b/tools/visreg/golden/StockRectangle.png differ diff --git a/tools/visreg/golden/StockRelativePerformance.png b/tools/visreg/golden/StockRelativePerformance.png new file mode 100644 index 0000000..7a9b93f Binary files /dev/null and b/tools/visreg/golden/StockRelativePerformance.png differ diff --git a/tools/visreg/golden/StockRenko.png b/tools/visreg/golden/StockRenko.png new file mode 100644 index 0000000..dae32df Binary files /dev/null and b/tools/visreg/golden/StockRenko.png differ diff --git a/tools/visreg/golden/StockSectorComparison.png b/tools/visreg/golden/StockSectorComparison.png new file mode 100644 index 0000000..86e67a7 Binary files /dev/null and b/tools/visreg/golden/StockSectorComparison.png differ diff --git a/tools/visreg/golden/StockSpreadChart.png b/tools/visreg/golden/StockSpreadChart.png new file mode 100644 index 0000000..9f52765 Binary files /dev/null and b/tools/visreg/golden/StockSpreadChart.png differ diff --git a/tools/visreg/golden/StockTextAnnotation.png b/tools/visreg/golden/StockTextAnnotation.png new file mode 100644 index 0000000..62f833c Binary files /dev/null and b/tools/visreg/golden/StockTextAnnotation.png differ diff --git a/tools/visreg/golden/StockTrendline.png b/tools/visreg/golden/StockTrendline.png new file mode 100644 index 0000000..0e9da02 Binary files /dev/null and b/tools/visreg/golden/StockTrendline.png differ diff --git a/tools/visreg/golden/StockVWAP.png b/tools/visreg/golden/StockVWAP.png new file mode 100644 index 0000000..db9f740 Binary files /dev/null and b/tools/visreg/golden/StockVWAP.png differ diff --git a/tools/visreg/golden/StockVerticalLine.png b/tools/visreg/golden/StockVerticalLine.png new file mode 100644 index 0000000..dac7314 Binary files /dev/null and b/tools/visreg/golden/StockVerticalLine.png differ diff --git a/tools/visreg/golden/StockVolumeBars.png b/tools/visreg/golden/StockVolumeBars.png new file mode 100644 index 0000000..cee4fae Binary files /dev/null and b/tools/visreg/golden/StockVolumeBars.png differ diff --git a/tools/visreg/golden/StockVolumeCandles.png b/tools/visreg/golden/StockVolumeCandles.png new file mode 100644 index 0000000..beee072 Binary files /dev/null and b/tools/visreg/golden/StockVolumeCandles.png differ diff --git a/tools/visreg/golden/StockVolumeProfile.png b/tools/visreg/golden/StockVolumeProfile.png new file mode 100644 index 0000000..2118eb0 Binary files /dev/null and b/tools/visreg/golden/StockVolumeProfile.png differ diff --git a/tools/visreg/golden/TActionList.png b/tools/visreg/golden/TActionList.png new file mode 100644 index 0000000..9bced27 Binary files /dev/null and b/tools/visreg/golden/TActionList.png differ diff --git a/tools/visreg/golden/TApplicationProperties.png b/tools/visreg/golden/TApplicationProperties.png new file mode 100644 index 0000000..60d6620 Binary files /dev/null and b/tools/visreg/golden/TApplicationProperties.png differ diff --git a/tools/visreg/golden/TArrow.png b/tools/visreg/golden/TArrow.png new file mode 100644 index 0000000..113404b Binary files /dev/null and b/tools/visreg/golden/TArrow.png differ diff --git a/tools/visreg/golden/TBevel.png b/tools/visreg/golden/TBevel.png new file mode 100644 index 0000000..0a046da Binary files /dev/null and b/tools/visreg/golden/TBevel.png differ diff --git a/tools/visreg/golden/TBitBtn.png b/tools/visreg/golden/TBitBtn.png new file mode 100644 index 0000000..f9caf19 Binary files /dev/null and b/tools/visreg/golden/TBitBtn.png differ diff --git a/tools/visreg/golden/TButton.png b/tools/visreg/golden/TButton.png new file mode 100644 index 0000000..e8dbf9d Binary files /dev/null and b/tools/visreg/golden/TButton.png differ diff --git a/tools/visreg/golden/TButtonPanel.png b/tools/visreg/golden/TButtonPanel.png new file mode 100644 index 0000000..cc69c99 Binary files /dev/null and b/tools/visreg/golden/TButtonPanel.png differ diff --git a/tools/visreg/golden/TCalcEdit.png b/tools/visreg/golden/TCalcEdit.png new file mode 100644 index 0000000..fc17045 Binary files /dev/null and b/tools/visreg/golden/TCalcEdit.png differ diff --git a/tools/visreg/golden/TCalculatorDialog.png b/tools/visreg/golden/TCalculatorDialog.png new file mode 100644 index 0000000..aa524c8 Binary files /dev/null and b/tools/visreg/golden/TCalculatorDialog.png differ diff --git a/tools/visreg/golden/TCalendar.png b/tools/visreg/golden/TCalendar.png new file mode 100644 index 0000000..8cb05cd Binary files /dev/null and b/tools/visreg/golden/TCalendar.png differ diff --git a/tools/visreg/golden/TCalendarDialog.png b/tools/visreg/golden/TCalendarDialog.png new file mode 100644 index 0000000..799fd10 Binary files /dev/null and b/tools/visreg/golden/TCalendarDialog.png differ diff --git a/tools/visreg/golden/TCheckBox.png b/tools/visreg/golden/TCheckBox.png new file mode 100644 index 0000000..12dd6ec Binary files /dev/null and b/tools/visreg/golden/TCheckBox.png differ diff --git a/tools/visreg/golden/TCheckComboBox.png b/tools/visreg/golden/TCheckComboBox.png new file mode 100644 index 0000000..83e5cf0 Binary files /dev/null and b/tools/visreg/golden/TCheckComboBox.png differ diff --git a/tools/visreg/golden/TCheckGroup.png b/tools/visreg/golden/TCheckGroup.png new file mode 100644 index 0000000..0aeeaa1 Binary files /dev/null and b/tools/visreg/golden/TCheckGroup.png differ diff --git a/tools/visreg/golden/TCheckListBox.png b/tools/visreg/golden/TCheckListBox.png new file mode 100644 index 0000000..8073169 Binary files /dev/null and b/tools/visreg/golden/TCheckListBox.png differ diff --git a/tools/visreg/golden/TColorBox.png b/tools/visreg/golden/TColorBox.png new file mode 100644 index 0000000..0cbb498 Binary files /dev/null and b/tools/visreg/golden/TColorBox.png differ diff --git a/tools/visreg/golden/TColorButton.png b/tools/visreg/golden/TColorButton.png new file mode 100644 index 0000000..e8eb0dc Binary files /dev/null and b/tools/visreg/golden/TColorButton.png differ diff --git a/tools/visreg/golden/TColorDialog.png b/tools/visreg/golden/TColorDialog.png new file mode 100644 index 0000000..9107ff5 Binary files /dev/null and b/tools/visreg/golden/TColorDialog.png differ diff --git a/tools/visreg/golden/TColorListBox.png b/tools/visreg/golden/TColorListBox.png new file mode 100644 index 0000000..e224352 Binary files /dev/null and b/tools/visreg/golden/TColorListBox.png differ diff --git a/tools/visreg/golden/TComboBox.png b/tools/visreg/golden/TComboBox.png new file mode 100644 index 0000000..a766626 Binary files /dev/null and b/tools/visreg/golden/TComboBox.png differ diff --git a/tools/visreg/golden/TComboBoxEx.png b/tools/visreg/golden/TComboBoxEx.png new file mode 100644 index 0000000..3e1336e Binary files /dev/null and b/tools/visreg/golden/TComboBoxEx.png differ diff --git a/tools/visreg/golden/TControlBar.png b/tools/visreg/golden/TControlBar.png new file mode 100644 index 0000000..40accd8 Binary files /dev/null and b/tools/visreg/golden/TControlBar.png differ diff --git a/tools/visreg/golden/TCoolBar.png b/tools/visreg/golden/TCoolBar.png new file mode 100644 index 0000000..090c434 Binary files /dev/null and b/tools/visreg/golden/TCoolBar.png differ diff --git a/tools/visreg/golden/TDateEdit.png b/tools/visreg/golden/TDateEdit.png new file mode 100644 index 0000000..b3d334d Binary files /dev/null and b/tools/visreg/golden/TDateEdit.png differ diff --git a/tools/visreg/golden/TDateTimePicker.png b/tools/visreg/golden/TDateTimePicker.png new file mode 100644 index 0000000..be2c840 Binary files /dev/null and b/tools/visreg/golden/TDateTimePicker.png differ diff --git a/tools/visreg/golden/TDirectoryEdit.png b/tools/visreg/golden/TDirectoryEdit.png new file mode 100644 index 0000000..391ef5c Binary files /dev/null and b/tools/visreg/golden/TDirectoryEdit.png differ diff --git a/tools/visreg/golden/TDrawGrid.png b/tools/visreg/golden/TDrawGrid.png new file mode 100644 index 0000000..224b007 Binary files /dev/null and b/tools/visreg/golden/TDrawGrid.png differ diff --git a/tools/visreg/golden/TEdit.png b/tools/visreg/golden/TEdit.png new file mode 100644 index 0000000..bf26cfc Binary files /dev/null and b/tools/visreg/golden/TEdit.png differ diff --git a/tools/visreg/golden/TEditButton.png b/tools/visreg/golden/TEditButton.png new file mode 100644 index 0000000..bcbaac2 Binary files /dev/null and b/tools/visreg/golden/TEditButton.png differ diff --git a/tools/visreg/golden/TFileListBox.png b/tools/visreg/golden/TFileListBox.png new file mode 100644 index 0000000..8864859 Binary files /dev/null and b/tools/visreg/golden/TFileListBox.png differ diff --git a/tools/visreg/golden/TFileNameEdit.png b/tools/visreg/golden/TFileNameEdit.png new file mode 100644 index 0000000..6a97259 Binary files /dev/null and b/tools/visreg/golden/TFileNameEdit.png differ diff --git a/tools/visreg/golden/TFilterComboBox.png b/tools/visreg/golden/TFilterComboBox.png new file mode 100644 index 0000000..c4fdd40 Binary files /dev/null and b/tools/visreg/golden/TFilterComboBox.png differ diff --git a/tools/visreg/golden/TFindDialog.png b/tools/visreg/golden/TFindDialog.png new file mode 100644 index 0000000..c854f63 Binary files /dev/null and b/tools/visreg/golden/TFindDialog.png differ diff --git a/tools/visreg/golden/TFloatSpinEdit.png b/tools/visreg/golden/TFloatSpinEdit.png new file mode 100644 index 0000000..289c19b Binary files /dev/null and b/tools/visreg/golden/TFloatSpinEdit.png differ diff --git a/tools/visreg/golden/TFlowPanel.png b/tools/visreg/golden/TFlowPanel.png new file mode 100644 index 0000000..daacc6d Binary files /dev/null and b/tools/visreg/golden/TFlowPanel.png differ diff --git a/tools/visreg/golden/TFontDialog.png b/tools/visreg/golden/TFontDialog.png new file mode 100644 index 0000000..b75e6dc Binary files /dev/null and b/tools/visreg/golden/TFontDialog.png differ diff --git a/tools/visreg/golden/TForm.png b/tools/visreg/golden/TForm.png new file mode 100644 index 0000000..531f97c Binary files /dev/null and b/tools/visreg/golden/TForm.png differ diff --git a/tools/visreg/golden/TFrame.png b/tools/visreg/golden/TFrame.png new file mode 100644 index 0000000..2486254 Binary files /dev/null and b/tools/visreg/golden/TFrame.png differ diff --git a/tools/visreg/golden/TGroupBox.png b/tools/visreg/golden/TGroupBox.png new file mode 100644 index 0000000..6b21323 Binary files /dev/null and b/tools/visreg/golden/TGroupBox.png differ diff --git a/tools/visreg/golden/THeaderControl.png b/tools/visreg/golden/THeaderControl.png new file mode 100644 index 0000000..23631cb Binary files /dev/null and b/tools/visreg/golden/THeaderControl.png differ diff --git a/tools/visreg/golden/TImage.png b/tools/visreg/golden/TImage.png new file mode 100644 index 0000000..85f89ab Binary files /dev/null and b/tools/visreg/golden/TImage.png differ diff --git a/tools/visreg/golden/TImageList.png b/tools/visreg/golden/TImageList.png new file mode 100644 index 0000000..2ae7efc Binary files /dev/null and b/tools/visreg/golden/TImageList.png differ diff --git a/tools/visreg/golden/TLabel.png b/tools/visreg/golden/TLabel.png new file mode 100644 index 0000000..33cb3b8 Binary files /dev/null and b/tools/visreg/golden/TLabel.png differ diff --git a/tools/visreg/golden/TLabeledEdit.png b/tools/visreg/golden/TLabeledEdit.png new file mode 100644 index 0000000..c0b9655 Binary files /dev/null and b/tools/visreg/golden/TLabeledEdit.png differ diff --git a/tools/visreg/golden/TListBox.png b/tools/visreg/golden/TListBox.png new file mode 100644 index 0000000..3f7dc65 Binary files /dev/null and b/tools/visreg/golden/TListBox.png differ diff --git a/tools/visreg/golden/TListView.png b/tools/visreg/golden/TListView.png new file mode 100644 index 0000000..490523c Binary files /dev/null and b/tools/visreg/golden/TListView.png differ diff --git a/tools/visreg/golden/TMainMenu.png b/tools/visreg/golden/TMainMenu.png new file mode 100644 index 0000000..9d3ba82 Binary files /dev/null and b/tools/visreg/golden/TMainMenu.png differ diff --git a/tools/visreg/golden/TMaskEdit.png b/tools/visreg/golden/TMaskEdit.png new file mode 100644 index 0000000..a50b328 Binary files /dev/null and b/tools/visreg/golden/TMaskEdit.png differ diff --git a/tools/visreg/golden/TMemo.png b/tools/visreg/golden/TMemo.png new file mode 100644 index 0000000..60e2f8c Binary files /dev/null and b/tools/visreg/golden/TMemo.png differ diff --git a/tools/visreg/golden/TNotebook.png b/tools/visreg/golden/TNotebook.png new file mode 100644 index 0000000..6140b72 Binary files /dev/null and b/tools/visreg/golden/TNotebook.png differ diff --git a/tools/visreg/golden/TOpenDialog.png b/tools/visreg/golden/TOpenDialog.png new file mode 100644 index 0000000..e0db8bb Binary files /dev/null and b/tools/visreg/golden/TOpenDialog.png differ diff --git a/tools/visreg/golden/TOpenPictureDialog.png b/tools/visreg/golden/TOpenPictureDialog.png new file mode 100644 index 0000000..9b0d65d Binary files /dev/null and b/tools/visreg/golden/TOpenPictureDialog.png differ diff --git a/tools/visreg/golden/TPageControl.png b/tools/visreg/golden/TPageControl.png new file mode 100644 index 0000000..8fd920c Binary files /dev/null and b/tools/visreg/golden/TPageControl.png differ diff --git a/tools/visreg/golden/TPageSetupDialog.png b/tools/visreg/golden/TPageSetupDialog.png new file mode 100644 index 0000000..a64b90e Binary files /dev/null and b/tools/visreg/golden/TPageSetupDialog.png differ diff --git a/tools/visreg/golden/TPaintBox.png b/tools/visreg/golden/TPaintBox.png new file mode 100644 index 0000000..786a09e Binary files /dev/null and b/tools/visreg/golden/TPaintBox.png differ diff --git a/tools/visreg/golden/TPairSplitter.png b/tools/visreg/golden/TPairSplitter.png new file mode 100644 index 0000000..9b3b010 Binary files /dev/null and b/tools/visreg/golden/TPairSplitter.png differ diff --git a/tools/visreg/golden/TPanel.png b/tools/visreg/golden/TPanel.png new file mode 100644 index 0000000..6e35b2f Binary files /dev/null and b/tools/visreg/golden/TPanel.png differ diff --git a/tools/visreg/golden/TPopupMenu.png b/tools/visreg/golden/TPopupMenu.png new file mode 100644 index 0000000..b0f4592 Binary files /dev/null and b/tools/visreg/golden/TPopupMenu.png differ diff --git a/tools/visreg/golden/TPopupNotifier.png b/tools/visreg/golden/TPopupNotifier.png new file mode 100644 index 0000000..e6a0b7a Binary files /dev/null and b/tools/visreg/golden/TPopupNotifier.png differ diff --git a/tools/visreg/golden/TPrintDialog.png b/tools/visreg/golden/TPrintDialog.png new file mode 100644 index 0000000..aad7110 Binary files /dev/null and b/tools/visreg/golden/TPrintDialog.png differ diff --git a/tools/visreg/golden/TPrinterSetupDialog.png b/tools/visreg/golden/TPrinterSetupDialog.png new file mode 100644 index 0000000..9e8e8b9 Binary files /dev/null and b/tools/visreg/golden/TPrinterSetupDialog.png differ diff --git a/tools/visreg/golden/TProgressBar.png b/tools/visreg/golden/TProgressBar.png new file mode 100644 index 0000000..2e322bc Binary files /dev/null and b/tools/visreg/golden/TProgressBar.png differ diff --git a/tools/visreg/golden/TRadioButton.png b/tools/visreg/golden/TRadioButton.png new file mode 100644 index 0000000..3b59a6b Binary files /dev/null and b/tools/visreg/golden/TRadioButton.png differ diff --git a/tools/visreg/golden/TRadioGroup.png b/tools/visreg/golden/TRadioGroup.png new file mode 100644 index 0000000..cf490dd Binary files /dev/null and b/tools/visreg/golden/TRadioGroup.png differ diff --git a/tools/visreg/golden/TReplaceDialog.png b/tools/visreg/golden/TReplaceDialog.png new file mode 100644 index 0000000..c8d0c4d Binary files /dev/null and b/tools/visreg/golden/TReplaceDialog.png differ diff --git a/tools/visreg/golden/TSaveDialog.png b/tools/visreg/golden/TSaveDialog.png new file mode 100644 index 0000000..ced96fc Binary files /dev/null and b/tools/visreg/golden/TSaveDialog.png differ diff --git a/tools/visreg/golden/TSavePictureDialog.png b/tools/visreg/golden/TSavePictureDialog.png new file mode 100644 index 0000000..869704e Binary files /dev/null and b/tools/visreg/golden/TSavePictureDialog.png differ diff --git a/tools/visreg/golden/TScrollBar.png b/tools/visreg/golden/TScrollBar.png new file mode 100644 index 0000000..488af08 Binary files /dev/null and b/tools/visreg/golden/TScrollBar.png differ diff --git a/tools/visreg/golden/TScrollBox.png b/tools/visreg/golden/TScrollBox.png new file mode 100644 index 0000000..177de03 Binary files /dev/null and b/tools/visreg/golden/TScrollBox.png differ diff --git a/tools/visreg/golden/TSelectDirectoryDialog.png b/tools/visreg/golden/TSelectDirectoryDialog.png new file mode 100644 index 0000000..edc1c4e Binary files /dev/null and b/tools/visreg/golden/TSelectDirectoryDialog.png differ diff --git a/tools/visreg/golden/TShape.png b/tools/visreg/golden/TShape.png new file mode 100644 index 0000000..f737463 Binary files /dev/null and b/tools/visreg/golden/TShape.png differ diff --git a/tools/visreg/golden/TShellListView.png b/tools/visreg/golden/TShellListView.png new file mode 100644 index 0000000..df1a614 Binary files /dev/null and b/tools/visreg/golden/TShellListView.png differ diff --git a/tools/visreg/golden/TShellTreeView.png b/tools/visreg/golden/TShellTreeView.png new file mode 100644 index 0000000..52f5329 Binary files /dev/null and b/tools/visreg/golden/TShellTreeView.png differ diff --git a/tools/visreg/golden/TSpeedButton.png b/tools/visreg/golden/TSpeedButton.png new file mode 100644 index 0000000..12a17d0 Binary files /dev/null and b/tools/visreg/golden/TSpeedButton.png differ diff --git a/tools/visreg/golden/TSpinEdit.png b/tools/visreg/golden/TSpinEdit.png new file mode 100644 index 0000000..54a3ea3 Binary files /dev/null and b/tools/visreg/golden/TSpinEdit.png differ diff --git a/tools/visreg/golden/TSplitter.png b/tools/visreg/golden/TSplitter.png new file mode 100644 index 0000000..ddc0ac3 Binary files /dev/null and b/tools/visreg/golden/TSplitter.png differ diff --git a/tools/visreg/golden/TStaticText.png b/tools/visreg/golden/TStaticText.png new file mode 100644 index 0000000..e9ffcc9 Binary files /dev/null and b/tools/visreg/golden/TStaticText.png differ diff --git a/tools/visreg/golden/TStatusBar.png b/tools/visreg/golden/TStatusBar.png new file mode 100644 index 0000000..e1b5e25 Binary files /dev/null and b/tools/visreg/golden/TStatusBar.png differ diff --git a/tools/visreg/golden/TStringGrid.png b/tools/visreg/golden/TStringGrid.png new file mode 100644 index 0000000..48f8409 Binary files /dev/null and b/tools/visreg/golden/TStringGrid.png differ diff --git a/tools/visreg/golden/TTabControl.png b/tools/visreg/golden/TTabControl.png new file mode 100644 index 0000000..0ed0760 Binary files /dev/null and b/tools/visreg/golden/TTabControl.png differ diff --git a/tools/visreg/golden/TTaskDialog.png b/tools/visreg/golden/TTaskDialog.png new file mode 100644 index 0000000..8bd3364 Binary files /dev/null and b/tools/visreg/golden/TTaskDialog.png differ diff --git a/tools/visreg/golden/TTimeEdit.png b/tools/visreg/golden/TTimeEdit.png new file mode 100644 index 0000000..2d6291a Binary files /dev/null and b/tools/visreg/golden/TTimeEdit.png differ diff --git a/tools/visreg/golden/TTimer.png b/tools/visreg/golden/TTimer.png new file mode 100644 index 0000000..96a702f Binary files /dev/null and b/tools/visreg/golden/TTimer.png differ diff --git a/tools/visreg/golden/TToggleBox.png b/tools/visreg/golden/TToggleBox.png new file mode 100644 index 0000000..5a41835 Binary files /dev/null and b/tools/visreg/golden/TToggleBox.png differ diff --git a/tools/visreg/golden/TToolBar.png b/tools/visreg/golden/TToolBar.png new file mode 100644 index 0000000..0038ed3 Binary files /dev/null and b/tools/visreg/golden/TToolBar.png differ diff --git a/tools/visreg/golden/TTrackBar.png b/tools/visreg/golden/TTrackBar.png new file mode 100644 index 0000000..912f531 Binary files /dev/null and b/tools/visreg/golden/TTrackBar.png differ diff --git a/tools/visreg/golden/TTrayIcon.png b/tools/visreg/golden/TTrayIcon.png new file mode 100644 index 0000000..8e8fc5d Binary files /dev/null and b/tools/visreg/golden/TTrayIcon.png differ diff --git a/tools/visreg/golden/TTreeView.png b/tools/visreg/golden/TTreeView.png new file mode 100644 index 0000000..25815d2 Binary files /dev/null and b/tools/visreg/golden/TTreeView.png differ diff --git a/tools/visreg/golden/TUpDown.png b/tools/visreg/golden/TUpDown.png new file mode 100644 index 0000000..0c8f44c Binary files /dev/null and b/tools/visreg/golden/TUpDown.png differ diff --git a/tools/visreg/golden/TValueListEditor.png b/tools/visreg/golden/TValueListEditor.png new file mode 100644 index 0000000..af18ae1 Binary files /dev/null and b/tools/visreg/golden/TValueListEditor.png differ diff --git a/tools/visreg/golden/XGraph.png b/tools/visreg/golden/XGraph.png new file mode 100644 index 0000000..fd3064f Binary files /dev/null and b/tools/visreg/golden/XGraph.png differ diff --git a/tools/visreg/golden/XSpreadsheet.png b/tools/visreg/golden/XSpreadsheet.png new file mode 100644 index 0000000..24acff9 Binary files /dev/null and b/tools/visreg/golden/XSpreadsheet.png differ diff --git a/tools/visreg/run.sh b/tools/visreg/run.sh new file mode 100755 index 0000000..cc133ba --- /dev/null +++ b/tools/visreg/run.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Visual regression harness for the C LightGUI widgets — one command: +# tools/visreg/run.sh [--threshold PCT] +# Rebuilds all 547 widget examples, re-renders them under Xvfb, diffs each +# screenshot against its golden in tools/visreg/golden/ (ImageMagick RMSE), +# and writes tools/visreg/report/report.txt (+ report.tsv, shots/). +# Exit code 0 only when every widget PASSes. See README.md. +set -u +cd "$(dirname "$0")" +exec python3 visreg.py "$@" diff --git a/tools/visreg/visreg.py b/tools/visreg/visreg.py new file mode 100755 index 0000000..884aad7 --- /dev/null +++ b/tools/visreg/visreg.py @@ -0,0 +1,360 @@ +#!/usr/bin/env python3 +"""Visual regression harness for the C LightGUI widgets. + +Re-renders every widget example in examples/*.cpp exactly the way the +cdoc.lightgui.com docs sweep did (see /opt/lightgui-docs/build_all.py and +shoot.py, whose logic this reuses): g++ -std=c++17 -O2 with the widget +include paths, run under Xvfb :97, screenshot the " - XFrame demo" +window with ImageMagick `import`, then diff each new screenshot against +its golden in golden/ with `compare -metric RMSE`. + +Usage: + python3 visreg.py [--only build|shoot|diff] [--threshold PCT] + [--golden DIR] [--display :97] + tools/visreg/run.sh # one-command full run (see run.sh) + +Outputs (tools/visreg/report/): + report.txt human-readable per-widget PASS/FAIL + summary counts + report.tsv machine-readable: name, status, diff_pct, note + shots/ the freshly rendered screenshots for this run + +Exit code 0 only when every widget PASSes; otherwise 1. +""" +import argparse +import os +import re +import subprocess +import sys +import time +from concurrent.futures import ThreadPoolExecutor + +from PIL import Image + +REPO = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +HERE = os.path.dirname(os.path.abspath(__file__)) +EXAMPLES = os.path.join(REPO, "examples") +GOLDEN_DEFAULT = os.path.join(HERE, "golden") +BUILD = os.path.join(HERE, "build") +REPORT_DIR = os.path.join(HERE, "report") +SHOTS = os.path.join(REPORT_DIR, "shots") +INC = ["-I" + os.path.join(REPO, "widgets", "components"), + "-I" + os.path.join(REPO, "widgets")] + +# RMSE (normalised, as a percentage of full scale) at or below which a +# widget counts as unchanged. Screenshots differ by a few pixels run to +# run from font rendering / anti-aliasing, so an exact-match threshold +# would false-positive on a clean tree. Tuned Dec 2, 2026: a clean-tree +# full run peaked well below this value (see report.txt for the observed +# max); a one-pixel-visible draw change scores far above it. +DEFAULT_THRESHOLD = 0.5 +DISPLAY = ":97" +NPROC = min(8, os.cpu_count() or 4) + +# Widgets whose render depends on the wall clock, so no golden can match +# them except when run in the same minute/day the golden was shot: +# TTimeEdit defaults to the current time (proven Dec 2, 2026: two shots +# 65 s apart differ by 1.23% RMSE, the same magnitude as the +# golden diff of 1.33%) +# TDateEdit defaults to today's date (TDateEdit.h, time/localtime) +# TCalendar preloads today's real date (TCalendar.h, time/localtime) +# They are still shot and diffed, and the RMSE is recorded, but the result +# is SKIP (not gated) instead of FAIL, so a clean tree exits 0. A gross +# regression in one still shows up as a large RMSE in the SKIP row. +TIME_DEPENDENT = frozenset({"TTimeEdit", "TDateEdit", "TCalendar"}) + +# Transient XOpenDisplay failures make a shot EXITED now and then (the docs +# sweep hit the same flakes and needed a retry pass); retry a failed shot +# this many times before declaring it a failure. +SHOT_RETRIES = 3 + + +def log(msg): + print("[visreg %s] %s" % (time.strftime("%H:%M:%S"), msg), flush=True) + + +def widget_names(): + return sorted(f[:-4] for f in os.listdir(EXAMPLES) if f.endswith(".cpp")) + + +# ---------------------------------------------------------------- build +def build_one(name): + src = os.path.join(EXAMPLES, name + ".cpp") + out = os.path.join(BUILD, name) + r = subprocess.run(["g++", "-std=c++17", "-O2"] + INC + [src, "-lX11", "-o", out], + capture_output=True, text=True, timeout=300) + if r.returncode != 0: + return (name, False, (r.stderr or "")[-2000:]) + return (name, True, "") + + +def build_all(names): + os.makedirs(BUILD, exist_ok=True) + results = {} + with ThreadPoolExecutor(max_workers=NPROC) as ex: + for name, ok, err in ex.map(build_one, names): + results[name] = (ok, err) + if not ok: + log("BUILDFAIL %s" % name) + ok = sum(1 for v in results.values() if v[0]) + log("built %d/%d" % (ok, len(names))) + return results + + +# ---------------------------------------------------------------- shoot +def xvfb_ensure(display): + sock = "/tmp/.X11-unix/X" + display.lstrip(":").split(".")[0] + if os.path.exists(sock): + return + log("starting Xvfb %s" % display) + subprocess.Popen(["Xvfb", display, "-screen", "0", "1024x768x24"], + stdout=open("/tmp/visreg-xvfb.log", "w"), + stderr=subprocess.STDOUT) + for _ in range(50): + if os.path.exists(sock): + break + time.sleep(0.1) + + +def run_x(*a, timeout=15): + env = dict(os.environ, DISPLAY=DISPLAY) + return subprocess.run(*a, capture_output=True, text=True, timeout=timeout, env=env) + + +def is_all_black(path): + try: + h = Image.open(path).convert("L").histogram() + return h[0] > 470000 + except Exception: + return False + + +def shoot_one(name): + binp = os.path.join(BUILD, name) + if not os.path.exists(binp): + return "NOBIN" + env = dict(os.environ, DISPLAY=DISPLAY) + p = subprocess.Popen([binp], env=env, + stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + wid = None + try: + for _ in range(200): + if p.poll() is not None: + break + r = run_x(["xdotool", "search", "--name", "%s - XFrame demo" % name], timeout=5) + if r.stdout.strip(): + wid = r.stdout.strip().split()[0] + break + time.sleep(0.02) + if wid is None: + return "MISS" if p.poll() is None else "EXITED" + time.sleep(0.5) + out = os.path.join(SHOTS, name + ".png") + r = run_x(["import", "-window", str(wid), out], timeout=15) + if not os.path.exists(out) or os.path.getsize(out) == 0: + return "SHOTFAIL" + if is_all_black(out): + # Per-window capture sometimes returns black for a drawn + # window; fall back to a root capture cropped to the window. + g = run_x(["xdotool", "getwindowgeometry", str(wid)], timeout=5).stdout + m = re.search(r"Position:\s*(\d+),(\d+).*?Geometry:\s*(\d+)x(\d+)", g, re.S) + if not m: + return "SHOTFAIL" + x, y, w, h = m.groups() + run_x(["import", "-window", "root", "-crop", + "%sx%s+%s+%s" % (w, h, x, y), out], timeout=15) + if not os.path.exists(out) or os.path.getsize(out) == 0 or is_all_black(out): + return "SHOTFAIL" + return "OK" + finally: + try: + if p.poll() is None: + p.kill() + p.wait(timeout=5) + except Exception: + pass + + +def shoot_all(names, built): + global DISPLAY + os.makedirs(SHOTS, exist_ok=True) + xvfb_ensure(DISPLAY) + results = {} + retries = {} + for i, name in enumerate(names): + if not built.get(name, (False, ""))[0]: + results[name] = "BUILDFAIL" + continue + st = shoot_one(name) + tries = 1 + while st != "OK" and tries < SHOT_RETRIES: + tries += 1 + time.sleep(0.5) + st = shoot_one(name) + results[name] = st + retries[name] = tries - 1 + if st != "OK": + log("SHOT %s %s (after %d tries)" % (st, name, tries)) + elif tries > 1: + log("SHOT OK %s (after %d tries)" % (name, tries)) + if (i + 1) % 100 == 0: + log("shot %d/%d" % (i + 1, len(names))) + ok = sum(1 for v in results.values() if v == "OK") + log("shot %d/%d" % (ok, len(names))) + return results, retries + + +# ----------------------------------------------------------------- diff +def rmse_pct(golden, new): + """Normalised RMSE between two PNGs, as a percentage (0-100). + + Returns (pct, note). Size mismatch is a real difference: resize the + new shot to the golden size so a number is still produced, and note it. + """ + note = "" + try: + gs = Image.open(golden).size + ns = Image.open(new).size + except Exception as e: + return None, "unreadable: %s" % e + target = new + if gs != ns: + note = "size-mismatch golden=%sx%s new=%sx%s" % (gs[0], gs[1], ns[0], ns[1]) + target = new + ".resized.png" + subprocess.run(["convert", new, "-resize", "%sx%s!" % gs, target], + capture_output=True, timeout=60) + r = subprocess.run(["compare", "-metric", "RMSE", golden, target, "null:"], + capture_output=True, text=True, timeout=60) + m = re.search(r"\(([\d.]+)\)", r.stderr or "") + if not m: + return None, "compare failed: %s" % ((r.stderr or r.stdout or "")[:200]) + return float(m.group(1)) * 100.0, note + + +def diff_all(names, golden_dir, shot_results, threshold, retries=None): + rows = [] # (name, status, pct, note) + retries = retries or {} + for name in names: + shot = shot_results.get(name, "NOBIN") + if shot == "BUILDFAIL": + rows.append((name, "BUILDFAIL", None, "example did not build")) + continue + if shot != "OK": + rows.append((name, "SHOTFAIL", None, "shoot status %s" % shot)) + continue + golden = os.path.join(golden_dir, name + ".png") + if not os.path.exists(golden): + rows.append((name, "NOGOLDEN", None, "no golden screenshot")) + continue + new = os.path.join(SHOTS, name + ".png") + pct, note = rmse_pct(golden, new) + if retries.get(name): + note = (note + "; " if note else "") + "shot retried %dx" % retries[name] + if pct is None: + rows.append((name, "FAIL", None, note)) + elif note.startswith("size-mismatch"): + rows.append((name, "FAIL", pct, note)) + elif name in TIME_DEPENDENT: + rows.append((name, "SKIP", pct, + "time-dependent render; RMSE recorded, not gated" + + ("; " + note if note else ""))) + elif pct <= threshold: + rows.append((name, "PASS", pct, note)) + else: + rows.append((name, "FAIL", pct, note)) + return rows + + +# --------------------------------------------------------------- report +def write_report(rows, threshold, golden_dir, head): + os.makedirs(REPORT_DIR, exist_ok=True) + from collections import Counter + tally = Counter(r[1] for r in rows) + passed = [r for r in rows if r[1] == "PASS"] + max_pass = max((r[2] for r in passed if r[2] is not None), default=None) + fails = [r for r in rows if r[1] not in ("PASS", "SKIP")] + lines = [] + lines.append("LightGUI visual regression report") + lines.append("generated: %s UTC" % time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime())) + lines.append("repo HEAD: %s" % head) + lines.append("golden dir: %s" % golden_dir) + lines.append("threshold: RMSE <= %.3f%% counts as PASS" % threshold) + lines.append("") + lines.append("summary: %d total, %d PASS, %d SKIP, %d FAIL" % ( + len(rows), tally.get("PASS", 0), tally.get("SKIP", 0), len(fails))) + for st in sorted(tally): + if st != "PASS": + lines.append(" %s: %d" % (st, tally[st])) + if max_pass is not None: + lines.append("max RMSE among PASS: %.4f%%" % max_pass) + lines.append("") + lines.append("FAILURES (%d):" % len(fails)) + for name, st, pct, note in fails: + lines.append(" FAIL %-28s %-9s %s %s" % ( + name, st, + ("RMSE=%.4f%%" % pct) if pct is not None else "", + note)) + lines.append("") + lines.append("PER-WIDGET RESULTS:") + for name, st, pct, note in rows: + lines.append("%-28s %-9s %s %s" % ( + name, st, + ("RMSE=%.4f%%" % pct) if pct is not None else "", + note)) + with open(os.path.join(REPORT_DIR, "report.txt"), "w") as f: + f.write("\n".join(lines) + "\n") + with open(os.path.join(REPORT_DIR, "report.tsv"), "w") as f: + f.write("name\tstatus\tdiff_pct\tnote\n") + for name, st, pct, note in rows: + f.write("%s\t%s\t%s\t%s\n" % ( + name, st, ("%.4f" % pct) if pct is not None else "", note)) + return tally + + +def main(): + global DISPLAY + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--only", choices=["build", "shoot", "diff", "all"], default="all") + ap.add_argument("--threshold", type=float, default=DEFAULT_THRESHOLD, + help="max RMSE percent counting as PASS (default 0.5)") + ap.add_argument("--golden", default=os.environ.get("VISREG_GOLDEN_DIR", GOLDEN_DEFAULT)) + ap.add_argument("--display", default=os.environ.get("VISREG_DISPLAY", DISPLAY)) + args = ap.parse_args() + DISPLAY = args.display + + head = subprocess.run(["git", "-C", REPO, "rev-parse", "--short", "HEAD"], + capture_output=True, text=True).stdout.strip() or "unknown" + names = widget_names() + log("widgets: %d, HEAD %s, threshold %.3f%%" % (len(names), head, args.threshold)) + + built = {} + if args.only in ("build", "all"): + built = build_all(names) + else: + # Reuse binaries from a previous run. + built = {n: (os.path.exists(os.path.join(BUILD, n)), "") for n in names} + + shot = {} + retries = {} + if args.only in ("shoot", "all"): + shot, retries = shoot_all(names, built) + else: + shot = {n: ("OK" if os.path.exists(os.path.join(SHOTS, n + ".png")) else "NOBIN") + for n in names} + # Preserve BUILDFAIL markers from the build stage when re-diffing. + for n in names: + if not built.get(n, (True, ""))[0]: + shot[n] = "BUILDFAIL" + + if args.only in ("diff", "all"): + rows = diff_all(names, args.golden, shot, args.threshold, retries) + tally = write_report(rows, args.threshold, args.golden, head) + log("PASS %d / %d, SKIP %d, FAIL %d (report: %s)" % ( + tally.get("PASS", 0), len(rows), tally.get("SKIP", 0), + len(rows) - tally.get("PASS", 0) - tally.get("SKIP", 0), + os.path.join(REPORT_DIR, "report.txt"))) + return 0 if all(r[1] in ("PASS", "SKIP") for r in rows) else 1 + return 0 + + +if __name__ == "__main__": + sys.exit(main())