RAYSCAPER VIEW TOGGLE — 1.1.0

INSTALL / UPDATE
In SketchUp, choose Extensions > Extension Manager > Install Extension.
Select Rayscaper_View_Toggle_1.1.0.rbz, then restart SketchUp.
Install over version 1.0.0: the extension keeps the same loader and folder.
The toolbar and menu are now named "Rayscaper View Toggle".

USE
Click "Toggle Render in Viewport" to switch between normal Rayscaper
rendering and rendering inside the SketchUp viewport.
Pressed button = Render in Viewport enabled.
The orange monitor has an outward arrow for normal rendering and an
inward arrow for Render in Viewport. The tooltip describes the next click.
The button stays synchronized with Rayscaper's own menu option.

To show the toolbar again:
Extensions > Rayscaper View Toggle > Show Toolbar.
The command can also be assigned a shortcut in SketchUp Preferences.
Start Rayscaper with its usual render button if no render is running.

WHAT CHANGED IN 1.1.0
- Original orange / charcoal icons matching the Rayscaper toolbar style.
- English toolbar, menu, command, tooltips, status messages and errors.
- SVG icons on Windows; PNG fallback for macOS versions before 2027.
- Compatibility review covering SketchUp 2024, 2025, 2026 and 2027.

COMPATIBILITY AND VERIFICATION
Target platform: SketchUp for Windows 2024–2027, with a compatible
Rayscaper installation exposing its native "Render in Viewport" command.

Real application test:
SketchUp 2024 (24.0.594), Ruby 3.2.2, Windows, Rayscaper 0.9.105 Beta.
Both directions of the toggle, icon selection, English labels and tooltips,
native command state, and restoration of the initial mode were checked.

API compatibility review, through SketchUp 2027:
The UI::Command, UI::Toolbar and timer APIs used here remain documented.
Command#proc, get_validation_proc and extension= have existed since 2022.
SketchUp 2027 uses Ruby 3.4.9. This extension contains only Ruby and icons;
it ships no native binary and uses no removed Ruby dependency.
It does not call UI.refresh_toolbars, deprecated in SketchUp 2027.
Rayscaper's release notes announce SketchUp 2027 support from 0.9.100 Beta;
0.9.103 Beta also fixes a SketchUp 2027 shutdown crash. Use a current
Rayscaper build compatible with your SketchUp version.

SketchUp 2025, 2026 and 2027 were not installed on the test computer:
their API compatibility was reviewed, but no real application test on
those versions was performed. macOS was not tested.

The extension invokes Rayscaper's existing translated menu command;
it does not modify Rayscaper files or replace its renderer.
A future change to the command's name or source location could require
an update. If the native command cannot be found, the button is disabled.

OFFICIAL REFERENCES
https://ruby.sketchup.com/UI/Command.html
https://ruby.sketchup.com/UI/Toolbar.html
https://ruby.sketchup.com/UI.html#start_timer-class_method
https://ruby.sketchup.com/file.ReleaseNotes.html
https://www.rayscaper.com/manual/release-notes/

Independent custom extension for Julien. Not an official Rayscaper product.
This custom RBZ is unsigned.
