diff --git a/tools/visreg/.gitignore b/tools/visreg/.gitignore new file mode 100644 index 0000000..6c57698 --- /dev/null +++ b/tools/visreg/.gitignore @@ -0,0 +1 @@ +report/ diff --git a/tools/visreg/README.md b/tools/visreg/README.md new file mode 100644 index 0000000..58fb67e --- /dev/null +++ b/tools/visreg/README.md @@ -0,0 +1,91 @@ +# Visual regression harness (`tools/visreg/`) + +Re-renders every `xframe-demo` widget and diffs it against its golden +screenshot, so a drawing regression shows up as a failing widget instead +of a surprise on a docs page. + +## Run + +```sh +tools/visreg/run.sh # full sweep: all 547 widgets +tools/visreg/run.sh --widgets "GtkButton GtkLabel" # subset +tools/visreg/run.sh --threshold 1.0 # looser threshold +``` + +Exit code is 0 when every compared widget passes (or is skipped), 1 when +any widget fails. A report is written either way to `tools/visreg/report/`: + +- `report.csv` — one row per widget: `name,status,rmse_pct,rmse_raw,notes` +- `report.md` — summary + failure table +- `summary.txt` — one-line counts +- `diffs/` — ImageMagick diff images, failures only + +`report/` is git-ignored; the harness, goldens and this README are +committed. + +## How it renders + +The same path the docs sweep used (Dec 2, 2026, hot_chicago): + +1. Runs the prebuilt `target/debug/examples/` binary (built + once by `cargo build -p xframe-demo --examples`; the harness rebuilds + only if a binary is missing, or always with `--rebuild`). +2. Under Xvfb (`1280x1024x24`, no window manager), the demo opens its + 800x600 window at 100,100 and draws the widget. +3. The window is found by title (` - XFrame demo`) with `xdotool` + and captured with ImageMagick `import -window ` — with no WM + there are no decorations, so the capture is exactly the 800x600 + client area, matching the goldens. The capture is *settled*: frames + are taken until two consecutive screenshots are pixel-identical, so + a shot can never catch the X server mid-draw (the docs sweep's + GtkCalendar golden did exactly that — fill drawn, border/text not + yet — and the harness refuses to repeat the mistake). + +## How it compares + +`compare -metric RMSE golden new diff.png`. The normalised RMSE (the +parenthesised value, 0–1) × 100 is the reported RMSE %. A widget passes +when RMSE % ≤ threshold (default **0.5%**). + +The threshold is deliberately not zero: screenshots can differ by a few +pixels from font rendering / anti-aliasing between runs, and a +zero-threshold harness would cry wolf. 0.5% of an 800x600 window is +~2,400 fully-different pixels — far above the handful of pixels of AA +wobble a clean tree produces (a clean-tree run measures 0.0000% on the +overwhelming majority of widgets), and far below what any real drawing +regression produces (a missing border, wrong fill or shifted label is +typically several percent). If a clean tree ever fails, the threshold — +not the widget — is the suspect; re-tune it from a calibration run +(`--widgets` a sample across families, inspect the RMSE distribution) +before touching widget code. + +## Goldens + +`golden/` holds the 547 docs-sweep screenshots from +`/opt/lightgui-docs/rust_shots/` (Dec 2, 2026) — the same images on the +rustdoc widget pages. They are the baseline: a widget that renders +identically to its docs screenshot passes. + +To accept an intentional rendering change, review the failure diffs in +`report/diffs/` first, then: + +```sh +tools/visreg/run.sh --widgets "" --keep-shots --update-goldens +git diff --stat tools/visreg/golden/ # confirm only intended goldens moved +``` + +## Known skips + +- **GtkInvisible** — skipped by design. It draws nothing (its golden is + a blank 800x600 window); there is nothing to compare. + +## Known-baseline notes + +- **GtkCalendar golden refreshed Dec 2, 2026.** The docs-sweep golden + was a mid-draw capture: grey fill only, no border and no `Calendar` + label (RMSE 3.9246% vs a correct render). The widget/drawing code is + unchanged since Nov 30, and the docs *pilot* screenshot of the same + widget (taken 06:00 UTC, before the sweep) is pixel-identical + (RMSE 0) to the current render — so the golden, not the widget, was + wrong. Refreshed from a settled harness capture; the stale file is + not kept. diff --git a/tools/visreg/golden/GtkAboutDialog.png b/tools/visreg/golden/GtkAboutDialog.png new file mode 100644 index 0000000..608d6b9 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..6d66739 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..9b342ae 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..b7b5c16 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..58f2d24 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..c2d780d 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..8965e86 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..6ca234c 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..a317d57 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..cd90a09 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..f295b35 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..bf6c1b5 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..8bb0f9a 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..b08ed23 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..0104d4b 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..4497ed2 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..bff3eed 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..448befe 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..c3a804e 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..527564d 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..3bbe280 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..b3179d3 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..d11eef1 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..f57cc65 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..8bef321 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..78be5b1 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..e0dc898 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..5684091 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..5f798bf 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..7b8f9ff 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..733d808 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..9769966 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..3d3e0e0 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..36d1533 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..5792064 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..9b50f8f 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..3d04791 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..a2b47ae 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..e9765d7 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..142e739 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..dbf82d0 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..b75aca2 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..9a24946 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..f944cc4 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..38a8f8b 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..92b4c11 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..01a14fc 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..4112e6b 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..1f3c213 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..c7b0748 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..4c5bedd 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..3a62e0e 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..9169cd6 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..7e32125 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..b55d440 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..ec4b278 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..ee27a3f 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..cd97660 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..793c1f8 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..34b07a8 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..e89bd7b 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..06a6e66 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..83740e3 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..a507acd 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..fd7a848 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..ad29bcb 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..b58188b 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..a00f6cc 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..b1c1006 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..9f529c8 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..3532f49 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..3daeee1 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..09dbc8b 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..d100eb8 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..f630b7e 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..ef5f09c 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..e9b2736 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..a609e98 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..0287d0b 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..fdaf15f 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..59a9e41 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..121cb82 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..7622933 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..f3f7cee 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..c91cb48 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..3e0dee3 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..62fe9c6 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..d38d971 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..7dd12fa 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..6625be1 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..d9535ec 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..b55c855 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..7bb1779 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..2315e2d 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..dc4a7b4 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..8f25cf9 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..a533e58 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..7ddead3 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..16072d9 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..4c178e9 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..623302c 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..e70dedd 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..130b2d3 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..7b9b288 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..29e30a3 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..43aa5cb 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..7122d77 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..fafdd07 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..faac711 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..df2fc16 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..447ce16 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..3dc085f 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..b65c32c 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..7ead63e 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..3cfc1a5 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..f8788b8 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..b0d0e7e 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..0a5fdb7 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..c2a29b1 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..ccdcdb0 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..ee71539 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..663871e 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..fec200e 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..5255cf2 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..37bfc17 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..f17f90c 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..78bb862 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..cee239e 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..a0478ff 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..30811c6 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..c1cf93b 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..fb15efa 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..46bd04c 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..5effd34 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..9d9092f 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..6159ea8 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..ddd815c 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..6affaa3 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..e2d820f 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..cb956f7 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..4bb95c5 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..bebd94d 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..c27afaf 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..41817f9 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..4e97ee2 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..b8f5ba9 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..96a1567 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..111cc7d 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..7be8dd1 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..f8478b6 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..304bf6a 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..b6d81d7 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..6e258c6 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..177e8f3 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..71036ea 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..1c9fb35 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..f07c048 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..f93ef29 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..3f5271f 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..f910a19 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..48053b7 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..ea903f6 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..469747f 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..9c6fa5f 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..fb3f7e1 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..4893028 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..9f9d423 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..8189639 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..4d660bf 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..18cbc91 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..8678a21 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..4e4248e 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..2964325 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..416811c 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..cf42ae9 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..0695b4d 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..84bba29 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..c9db51c 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..95c12d1 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..054ed0d 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..48fcee5 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..6ba7e9e 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..c963bc8 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..d567946 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..7576f03 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..c432e3d 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..11b5385 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..98b01be 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..e297842 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..548e334 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..fe08571 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..eefb276 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..d157dfc 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..446bf3b 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..4ad0788 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..4139a06 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..869ac84 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..d4b97a4 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..79ea82b 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..5a5bb5e 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..ef76c13 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..887ea8c 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..652f975 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..f1683c7 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..2e713f4 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..5db683f 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..f4e3960 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..af03591 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..835c240 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..59ae8c5 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..3ec0523 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..e5c37d2 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..f6d5fee 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..6a66a6b 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..75d149b 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..ddd0892 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..5dbc278 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..0ac6cce 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..49b1db0 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..4c01f02 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..340e796 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..af533dc 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..58e96d0 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..b909a13 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..1810881 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..037feca 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..0cc8a55 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..7fe1dbe 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..44a37eb 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..62cefc7 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..99b9394 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..e07afe1 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..f24d4c2 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..9e792aa 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..f3f424f 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..8230c8a 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..d8b666b 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..4d9be7f 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..f6959f0 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..dae6c6a 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..1a1c302 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..e4f38ef 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..3d7822f 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..2b0ba42 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..6d6fe94 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..5237dd8 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..a68f121 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..31c41a5 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..92e6a51 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..a7ef1c1 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..ae7bbfe 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..ba00844 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..21fa2eb 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..ba6c5ad 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..59149c8 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..5081c90 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..849145b 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..430e3c0 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..6eb323d 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..8b54e23 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..c4a13af 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..d1ced12 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..dbdce90 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..e458eca 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..73cbb3c 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..d2c69ff 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..d5fb3a3 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..05960bf 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..ea51669 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..8f11b8a 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..51769e7 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..782abad 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..83e655c 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..27ae8d8 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..2bfab3a 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..a50e097 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..d13c2c4 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..2a5cb11 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..7ac7b8b 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..6975e97 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..e824a49 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..4a600c3 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..ca9a716 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..772838e 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..5de8c8a 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..f6f69fb 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..376f9d9 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..43a9c98 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..9a0dae0 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..ff141d1 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..2d2f97f 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..63928bc 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..cc7a699 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..a0a5983 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..10b18cc 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..5ce63cc 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..98e39ca 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..7f0db4e 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..bedb2aa 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..f9dc3ad 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..b2f80c0 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..37be52b 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..ef6450d 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..f72b1a9 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..5995b8e 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..1ebea31 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..dc231af 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..f18b361 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..8f251ea 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..3b4ccbf 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..8a25d59 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..a14daad 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..2a75fa1 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..bbdd83d 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..1a251fb 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..539ecc7 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..f7979e9 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..a5f8382 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..74c4ec0 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..950a382 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..954b67b 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..ee3bce2 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..96ef09d 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..57b3a3e 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..3dfa5a6 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..397b334 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..5371a3c 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..fb0ad3b 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..06c3288 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..9de6e22 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..93e9a4f 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..2f3ecb5 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..2ffe119 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..0400a36 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..67b877e 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..380ca1b 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..12126bc 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..72692e0 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..47ccb32 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..d5232f7 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..92696e4 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..8f7f82b 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..46a06e2 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..6431c67 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..777080a 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..03c5ca3 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..a8ee79c 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..b911e3d 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..a0e881f 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..b377968 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..e867a36 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..192163b 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..ca496e4 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..053f8a8 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..f453b8b 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..52c14ea 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..1b53430 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..d0922ad 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..891a44e 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..db31270 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..bda42f9 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..1922175 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..695a2be 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..4cce6fa 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..773e259 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..ff71d35 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..535050b 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..d65d80f 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..d23b8c2 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..a033ca7 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..e22bc23 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..298b635 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..4eef702 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..184e503 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..301c2fc 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..56e8073 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..ae81b8e 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..d4ec3aa 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..f6d9c36 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..ef464c7 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..7b427cc 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..b73b574 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..9135649 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..4dc1f7b 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..9288416 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..9e8cd9f 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..c138771 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..aad8fd6 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..3b264d4 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..b467224 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..58b6026 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..089f083 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..4be0a4b 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..a6d1ec0 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..593cb45 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..8e866c7 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..1caff52 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..5c20927 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..8dec6d8 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..44fa0e4 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..27197fc 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..2f96966 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..7725eaa 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..598c231 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..2a6aafc 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..ba9a2fd 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..b7400f0 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..c9b7b8d 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..2695c38 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..42fdc7a 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..9611160 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..be13ba2 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..8c5056c 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..cf53fa2 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..790830d 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..7a9eafb 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..4be6bd0 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..ee7609e 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..748a2f2 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..da3c917 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..3de250d 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..41a3b31 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..e4727bd 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..101c29c 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..676f8db 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..c51257e 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..a541d1c 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..63115ae 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..fce3b5b 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..5335439 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..0fe59fb 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..76f3f39 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..610861e 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..f75a0d9 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..68f1f5c 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..a23a472 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..dbd3ae7 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..13496ea 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..7a03f93 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..167f1a8 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..8303a60 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..8c3a8a9 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..0d99aaa 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..792e95c 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..d581c97 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..ccd30f2 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..ab45a86 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..b1ec339 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..9b951ec 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..40733c4 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..ada4235 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..aa1da62 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..3be3d87 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..ad4b824 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..e4ca3b4 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..af85305 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..e54b621 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..23fbb2c 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..47b1627 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..c469bc8 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..0ca777f 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..e894b24 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..4ab8516 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..40c6804 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..424dc70 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..7b3396c 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..f621f80 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..d0e7036 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..2881a79 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..e86af3e 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..cf69880 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..48435b0 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..221fb4e 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..694862a 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..9112dbe 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..29959d2 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..7c060c6 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..be82f0b 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..f6e3676 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..04711e5 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..23f99b0 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..1142468 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..16d2b3f 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..2b42370 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..a25b12f 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..1cda418 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..2770b2d 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..fea5cb1 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..6e3bf4f 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..34f9113 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..dabb5c8 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..9df379f 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..854983b 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..88b5044 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..089995e 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..6583f9e 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..9d02a4c 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..9f9be1f 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..4c8ec37 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..3fb6a0f 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..2fb9292 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..79c5ac4 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..0af2a8d 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..9e2ef11 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..1ba555f 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..95b51cb 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..e773049 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..8420d6e 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..01770c6 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..f7d7b2a 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..1790b42 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..f9678ef 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..5159542 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..2479431 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..237f043 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..86cb2ba 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..10465e6 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..338a880 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..9e35d21 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..b6adb5b 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..fb6bb26 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..dbd7d5b 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..fb2c98d 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..7634ce9 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..bfb894c 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..e0d139c 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..cc0f2de 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..7fd18c2 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..8d7bfcc 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..3389b94 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..1c0889b 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..1f4c2e9 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..115b3d8 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..58cea14 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..391d64a 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..6b4b1f8 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..d6c7956 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..3231c61 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..e99a582 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..307899c 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..342c396 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..0c575a4 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..b45609a 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..9276b2c 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..677650c 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..108702d 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..3eab321 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..96d982e --- /dev/null +++ b/tools/visreg/run.sh @@ -0,0 +1,286 @@ +#!/usr/bin/env bash +# tools/visreg/run.sh — visual regression harness for the Rust LightGUI demos. +# +# Re-renders every xframe-demo widget exactly the way the docs sweep did +# (prebuilt target/debug/examples/ binary, 800x600 window under +# Xvfb 1280x1024x24, captured with `import -window `), diffs each +# new screenshot against its golden in tools/visreg/golden/ with +# ImageMagick `compare -metric RMSE`, and writes a per-widget report. +# +# Usage: +# tools/visreg/run.sh [--golden-dir DIR] [--out DIR] [--threshold PCT] +# [--widgets "A B C" | @file] [--rebuild] +# [--update-goldens] [--keep-shots] +# +# --golden-dir goldens to compare against (default: tools/visreg/golden) +# --out report directory (default: tools/visreg/report) +# --threshold max RMSE percent for PASS (default 0.5; see README.md) +# --widgets run only these widgets (space-separated, or @file with +# one name per line); default is all 547 from +# `xframe-demo --list` +# --rebuild force `cargo build -p xframe-demo --examples` first; +# otherwise the build runs only if a binary is missing +# --update-goldens replace goldens with the new shots (ONLY after +# reviewing the diffs and deciding the change is intended) +# --keep-shots keep every new screenshot (default: only failures' diffs +# are kept; passing shots are deleted) +# +# Exit code: 0 when every compared widget passes (or is skipped), 1 when +# any widget fails. The report is written either way: +# /report.csv one row per widget: name,status,rmse_pct,rmse_raw,notes +# /report.md human-readable summary + failure table +# /summary.txt one-line counts +# /diffs/ ImageMagick diff images, failures only +# /shots/ new screenshots (only with --keep-shots) +# +# GtkInvisible is skipped by design: it draws nothing, so there is no +# screenshot to compare (its golden is a blank 800x600 window). +set -u + +VISREG_DIR="$(cd "$(dirname "$0")" && pwd)" +REPO="$(cd "$VISREG_DIR/../.." && pwd)" +GOLDEN_DIR="$VISREG_DIR/golden" +OUT_DIR="$VISREG_DIR/report" +THRESHOLD="0.5" +WIDGETS_ARG="" +REBUILD=0 +UPDATE_GOLDENS=0 +KEEP_SHOTS=0 + +while [ $# -gt 0 ]; do + case "$1" in + --golden-dir) GOLDEN_DIR="$2"; shift 2;; + --out) OUT_DIR="$2"; shift 2;; + --threshold) THRESHOLD="$2"; shift 2;; + --widgets) WIDGETS_ARG="$2"; shift 2;; + --rebuild) REBUILD=1; shift;; + --update-goldens) UPDATE_GOLDENS=1; shift;; + --keep-shots) KEEP_SHOTS=1; shift;; + --in-xvfb) shift;; # internal: already under Xvfb, ignore + *) echo "visreg: unknown option: $1" >&2; exit 2;; + esac +done + +# --update-goldens needs the new shots kept around for the copy step. +[ "$UPDATE_GOLDENS" = 1 ] && KEEP_SHOTS=1 + +# Re-exec under Xvfb when there is no display (same screen the docs +# sweep used: 1280x1024x24; the demo window is 800x600 at 100,100). +# NOTE: build the re-exec argv explicitly — `${VAR:+...}` alternates +# would fire on the "0" defaults too. +if [ -z "${DISPLAY:-}" ] && [ -z "${VISREG_IN_XVFB:-}" ]; then + re_args=(--in-xvfb --golden-dir "$GOLDEN_DIR" --out "$OUT_DIR" + --threshold "$THRESHOLD") + [ -n "$WIDGETS_ARG" ] && re_args+=(--widgets "$WIDGETS_ARG") + [ "$REBUILD" = 1 ] && re_args+=(--rebuild) + [ "$UPDATE_GOLDENS" = 1 ] && re_args+=(--update-goldens) + [ "$KEEP_SHOTS" = 1 ] && re_args+=(--keep-shots) + VISREG_IN_XVFB=1 exec xvfb-run -a -s "-screen 0 1280x1024x24" \ + env VISREG_IN_XVFB=1 "$0" "${re_args[@]}" +fi + +export PATH="$HOME/.cargo/bin:/root/.cargo/bin:$PATH" + +BIN_DIR="$REPO/target/debug/examples" +DEMO_BIN="$REPO/target/debug/xframe-demo" +SHOTS_DIR="$OUT_DIR/shots" +DIFFS_DIR="$OUT_DIR/diffs" +mkdir -p "$OUT_DIR" "$SHOTS_DIR" "$DIFFS_DIR" + +# --- widget list ----------------------------------------------------------- +if [ -n "$WIDGETS_ARG" ]; then + if [ "${WIDGETS_ARG#@}" != "$WIDGETS_ARG" ]; then + mapfile -t NAMES < "${WIDGETS_ARG#@}" + else + # shellcheck disable=SC2206 + NAMES=($WIDGETS_ARG) + fi +elif [ -x "$DEMO_BIN" ]; then + mapfile -t NAMES < <("$DEMO_BIN" --list) +else + # Fall back to the golden directory listing. + mapfile -t NAMES < <(cd "$GOLDEN_DIR" && printf '%s\n' *.png | sed 's/\.png$//' | sort) +fi +# Drop empty lines (e.g. trailing newline in a @file). +TMP=() +for n in "${NAMES[@]}"; do [ -n "$n" ] && TMP+=("$n"); done +NAMES=("${TMP[@]}") +echo "visreg: ${#NAMES[@]} widget(s), threshold ${THRESHOLD}% RMSE, goldens $GOLDEN_DIR" + +# --- build (only if needed) ------------------------------------------------ +need_build=0 +[ "$REBUILD" = 1 ] && need_build=1 +if [ "$need_build" = 0 ]; then + for n in "${NAMES[@]}"; do + [ -x "$BIN_DIR/$n" ] || { need_build=1; break; } + done +fi +if [ "$need_build" = 1 ]; then + echo "visreg: building examples (cargo build -p xframe-demo --examples)..." + (cd "$REPO" && cargo build -p xframe-demo --examples) || { + echo "visreg: cargo build failed" >&2; exit 1; } +fi + +# --- sweep ----------------------------------------------------------------- +REPORT_CSV="$OUT_DIR/report.csv" +echo "name,status,rmse_pct,rmse_raw,notes" > "$REPORT_CSV" +pass=0; fail=0; skip=0 +FAILED_NAMES=() + +for name in "${NAMES[@]}"; do + golden="$GOLDEN_DIR/$name.png" + shot="$SHOTS_DIR/$name.png" + diff="$DIFFS_DIR/$name.png" + + # GtkInvisible draws nothing by design: no screenshot to compare. + if [ "$name" = "GtkInvisible" ]; then + echo "$name,SKIP,,,\"invisible by design (no screenshot)\"" >> "$REPORT_CSV" + skip=$((skip + 1)); echo "SKIP $name (invisible by design)" + continue + fi + if [ ! -f "$golden" ]; then + echo "$name,FAIL,,,\"no golden screenshot\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (no golden)") + echo "FAIL $name (no golden)" + continue + fi + if [ ! -x "$BIN_DIR/$name" ]; then + echo "$name,FAIL,,,\"example binary missing\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (binary missing)") + echo "FAIL $name (binary missing)" + continue + fi + + # Launch, wait for the window, screenshot it, kill it. (Same method + # as the docs pilot sweep: timeout backstop, xdotool window lookup + # by title, ImageMagick import of that window — no window manager, + # so the capture is exactly the 800x600 client area.) + timeout 20 "$BIN_DIR/$name" >/dev/null 2>&1 & + pid=$! + wid="" + for _ in $(seq 1 50); do + wid=$(xdotool search --name "$name - XFrame demo" 2>/dev/null | head -1) + [ -n "$wid" ] && break + sleep 0.2 + done + if [ -z "$wid" ]; then + kill "$pid" 2>/dev/null; wait "$pid" 2>/dev/null + echo "$name,FAIL,,,\"no window appeared\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (no window)") + echo "FAIL $name (no window)" + continue + fi + sleep 0.5 + # Settle: capture until two consecutive screenshots are identical. + # A capture can race the X server mid-draw — the docs sweep's + # GtkCalendar golden caught exactly that (fill drawn, border/text + # not yet). Two identical frames in a row means the draw is done. + settle_note="" + shot_ok=0 + prev="" + for _ in 1 2 3 4; do + tmp_shot="$SHOTS_DIR/.settle.png" + import -window "$wid" "$tmp_shot" 2>/dev/null || break + if [ -n "$prev" ]; then + if compare -metric RMSE "$prev" "$tmp_shot" null: 2>&1 | grep -q "(0)"; then + mv "$tmp_shot" "$shot" + rm -f "$prev" + shot_ok=1 + break + fi + rm -f "$prev" + fi + prev="$tmp_shot" + sleep 0.3 + done + if [ "$shot_ok" = 0 ]; then + if [ -n "$prev" ] && [ -f "$prev" ]; then + mv "$prev" "$shot" # never settled; use the last frame + settle_note="capture never settled; used last frame" + else + kill "$pid" 2>/dev/null; wait "$pid" 2>/dev/null + echo "$name,FAIL,,,\"screenshot failed\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (screenshot failed)") + echo "FAIL $name (screenshot failed)" + continue + fi + fi + kill "$pid" 2>/dev/null; wait "$pid" 2>/dev/null + + size=$(identify -format "%wx%h" "$shot" 2>/dev/null || echo "?") + if [ "$size" != "800x600" ]; then + echo "$name,FAIL,,,\"screenshot size $size (expected 800x600)\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (size $size)") + echo "FAIL $name (size $size)" + continue + fi + + # ImageMagick RMSE: `compare` prints e.g. "12.3456 (0.0001884)" to + # stderr and exits 1 when images differ; the parenthesised value is + # the normalised RMSE in [0,1]. A few pixels of font/AA wobble are + # expected, so PASS is pct <= threshold, not pct == 0. + cmp_out=$(compare -metric RMSE "$golden" "$shot" "$diff" 2>&1) + norm=$(echo "$cmp_out" | sed -n 's/.*(\([0-9.]*\)).*/\1/p' | head -1) + if [ -z "$norm" ]; then + echo "$name,FAIL,,,\"compare failed: $cmp_out\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (compare failed)") + echo "FAIL $name (compare failed)" + continue + fi + pct=$(awk -v n="$norm" 'BEGIN { printf "%.4f", n * 100 }') + raw=$(echo "$cmp_out" | awk '{print $1}') + if awk -v p="$pct" -v t="$THRESHOLD" 'BEGIN { exit !(p <= t) }'; then + echo "$name,PASS,$pct,$raw,\"$settle_note\"" >> "$REPORT_CSV" + pass=$((pass + 1)) + rm -f "$diff" + [ "$KEEP_SHOTS" = 0 ] && rm -f "$shot" + echo "PASS $name (${pct}%)" + else + echo "$name,FAIL,$pct,$raw,\"RMSE ${pct}% > ${THRESHOLD}% threshold${settle_note:+; $settle_note}\"" >> "$REPORT_CSV" + fail=$((fail + 1)); FAILED_NAMES+=("$name (${pct}%)") + echo "FAIL $name (${pct}%)" + fi +done + +[ "$KEEP_SHOTS" = 0 ] && rmdir "$SHOTS_DIR" 2>/dev/null +rmdir "$DIFFS_DIR" 2>/dev/null # only remains if it holds failure diffs + +total=${#NAMES[@]} +{ + echo "visual regression: $pass PASS, $fail FAIL, $skip SKIP, $total total" + echo "threshold: ${THRESHOLD}% RMSE | goldens: $GOLDEN_DIR | report: $OUT_DIR" + if [ "$fail" -gt 0 ]; then + echo "failures:" + for f in "${FAILED_NAMES[@]}"; do echo " - $f"; done + fi +} | tee "$OUT_DIR/summary.txt" + +{ + echo "# Visual regression report" + echo + echo "- **Run:** $(date -u '+%Y-%m-%d %H:%M:%S UTC')" + echo "- **Threshold:** ${THRESHOLD}% RMSE (ImageMagick \`compare -metric RMSE\`)" + echo "- **Goldens:** \`$GOLDEN_DIR\`" + echo "- **Result:** $pass PASS, $fail FAIL, $skip SKIP, $total total" + echo + if [ "$fail" -gt 0 ]; then + echo "## Failures" + echo + echo "| widget | RMSE % | notes |" + echo "|--------|--------|-------|" + awk -F, '$2 == "FAIL" { gsub(/"/, "", $5); print "| " $1 " | " $3 " | " $5 " |" }' "$REPORT_CSV" + echo + fi + echo "Full per-widget rows: [report.csv](report.csv)" +} > "$OUT_DIR/report.md" + +if [ "$UPDATE_GOLDENS" = 1 ]; then + echo "visreg: --update-goldens: replacing goldens with new shots..." + for name in "${NAMES[@]}"; do + [ "$name" = "GtkInvisible" ] && continue + [ -f "$SHOTS_DIR/$name.png" ] && cp "$SHOTS_DIR/$name.png" "$GOLDEN_DIR/$name.png" + done + echo "visreg: goldens updated (review with git diff before committing)" +fi + +[ "$fail" = 0 ]