diff --git a/README.adoc b/README.adoc index cfb727dd6..09d3bb827 100644 --- a/README.adoc +++ b/README.adoc @@ -89,10 +89,10 @@ Helgobox is fired up just like any other VST instrument in REAPER: By adding it Initially, you see the Helgobox plug-in, which mainly provides the ReaLearn user interface: .Main panel (containing the list of mappings) -image::doc/images/screenshot-main-panel-annotated.svg[] +image::doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel.png[] .Mapping panel (for editing one particular mapping) -image::doc/images/screenshot-mapping-panel.png[] +image::doc/realearn/modules/ROOT/images/realearn/screenshots/mapping-panel.png[] But there's also the Helgobox app, which mainly provides the Playtime user interface. You can open it either from the plug-in's menu or by using the convenient "Playtime" button in the main toolbar. diff --git a/doc/realearn/modules/ROOT/images/realearn/screenshots/group-panel.png b/doc/realearn/modules/ROOT/images/realearn/screenshots/group-panel.png index 61c8cca7a..ac260f7d3 100644 Binary files a/doc/realearn/modules/ROOT/images/realearn/screenshots/group-panel.png and b/doc/realearn/modules/ROOT/images/realearn/screenshots/group-panel.png differ diff --git a/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel-annotated.svg b/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel-annotated.svg deleted file mode 100644 index a4d89f161..000000000 --- a/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel-annotated.svg +++ /dev/null @@ -1,3213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - Version info - Mapping rows panel - Mapping row - - - Header panel - - - Source label - - Enable/disable control - Enable/disable feedback - target label - - - - - - diff --git a/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel.png b/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel.png index cbb0a0da8..70602229e 100644 Binary files a/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel.png and b/doc/realearn/modules/ROOT/images/realearn/screenshots/main-panel.png differ diff --git a/doc/realearn/modules/ROOT/images/realearn/screenshots/mapping-panel.png b/doc/realearn/modules/ROOT/images/realearn/screenshots/mapping-panel.png index ebf2b2da7..a098d0f14 100644 Binary files a/doc/realearn/modules/ROOT/images/realearn/screenshots/mapping-panel.png and b/doc/realearn/modules/ROOT/images/realearn/screenshots/mapping-panel.png differ diff --git a/doc/realearn/modules/ROOT/pages/user-interface/main-panel.adoc b/doc/realearn/modules/ROOT/pages/user-interface/main-panel.adoc index df48038cb..d98d3f594 100644 --- a/doc/realearn/modules/ROOT/pages/user-interface/main-panel.adoc +++ b/doc/realearn/modules/ROOT/pages/user-interface/main-panel.adoc @@ -2,7 +2,7 @@ The main panel is what you see immediately when you open the Helgobox plug-in window. -image:realearn/screenshots/main-panel-annotated.svg[Main panel] +image:realearn/screenshots/main-panel.png[Main panel] It's divided into 3 larger areas: diff --git a/main/src/infrastructure/test/mod.rs b/main/src/infrastructure/test/mod.rs index eee7f5c8a..a1e449a1d 100644 --- a/main/src/infrastructure/test/mod.rs +++ b/main/src/infrastructure/test/mod.rs @@ -1461,8 +1461,16 @@ mod macos_impl { pub async fn take_screenshots() { // Given let realearn = setup().await; + let project = realearn.track().project(); + let reverb_track = project.add_track().unwrap(); + reverb_track.set_name("Reverb"); + let piano_track = project.add_track().unwrap(); + piano_track.set_name("Piano"); + let synth_track = project.add_track().unwrap(); + synth_track.set_name("Synth"); + synth_track.add_send_to(&reverb_track); // When - load_realearn_preset(&realearn, include_str!("presets/basics.json")); + load_realearn_preset(&realearn, include_str!("presets/screenshots.json")); moment().await; // Then realearn.outcome.fx.show_in_floating_window(); diff --git a/main/src/infrastructure/test/presets/screenshots.json b/main/src/infrastructure/test/presets/screenshots.json new file mode 100644 index 000000000..e419dca10 --- /dev/null +++ b/main/src/infrastructure/test/presets/screenshots.json @@ -0,0 +1,177 @@ +{ + "mainUnit": { + "version": "2.16.10", + "id": "I3iqzlfV", + "letMatchedEventsThrough": true, + "stayActiveWhenProjectInBackground": "Always", + "controlDeviceId": "62", + "feedbackDeviceId": "fx-output", + "defaultGroup": {}, + "defaultControllerGroup": {}, + "mappings": [ + { + "id": "134104a5-8eb1-4a07-b8a9-b65d0a8f74d3", + "name": "Track volume", + "source": { + "category": "virtual", + "type": 1, + "channel": 0, + "number": 64, + "controlElementIndex": "ch1/fader" + }, + "mode": { + "minStepFactor": 1, + "maxStepFactor": 5 + }, + "target": { + "type": 2, + "trackIndex": 2, + "fxAnchor": "id", + "useSelectionGanging": false, + "useTrackGrouping": false, + "soloBehavior": 1, + "seekBehavior": "Immediate", + "mouseAction": { + "kind": "MoveTo", + "axis": "X" + }, + "takeMappingSnapshot": { + "kind": "ById", + "id": "" + } + } + }, + { + "id": "HYAJ4Toj7uJ1-c7rgYdiV", + "name": "Send volume", + "source": { + "category": "virtual", + "type": 1, + "channel": 0, + "number": 64, + "controlElementIndex": "ch1/v-pot" + }, + "mode": { + "minStepFactor": 1, + "maxStepFactor": 5 + }, + "target": { + "type": 3, + "trackName": "Synth", + "fxAnchor": "id", + "useSelectionGanging": false, + "useTrackGrouping": false, + "soloBehavior": 1, + "seekBehavior": "Immediate", + "mouseAction": { + "kind": "MoveTo", + "axis": "X" + }, + "takeMappingSnapshot": { + "kind": "ById", + "id": "" + } + } + }, + { + "id": "9Ag8hTcHPi6bm8WtAh7hH", + "name": "Track pan", + "source": { + "type": 7, + "channel": 0, + "number": 64, + "controlElementIndex": "ch1/v-pot" + }, + "mode": { + "minStepFactor": 1, + "maxStepFactor": 5 + }, + "target": { + "type": 4, + "trackName": "Piano", + "fxAnchor": "id", + "useSelectionGanging": false, + "useTrackGrouping": false, + "soloBehavior": 1, + "seekBehavior": "Immediate", + "mouseAction": { + "kind": "MoveTo", + "axis": "X" + }, + "takeMappingSnapshot": { + "kind": "ById", + "id": "" + } + } + }, + { + "id": "DKpyUNeMHTkNF8ARLrVJK", + "name": "Selected track volume", + "source": { + "type": 3, + "channel": 0, + "number": 64, + "controlElementIndex": "ch1/v-pot" + }, + "mode": { + "minStepFactor": 1, + "maxStepFactor": 5 + }, + "target": { + "type": 2, + "trackGUID": "selected", + "fxAnchor": "id", + "useSelectionGanging": false, + "useTrackGrouping": false, + "soloBehavior": 1, + "seekBehavior": "Immediate", + "mouseAction": { + "kind": "MoveTo", + "axis": "X" + }, + "takeMappingSnapshot": { + "kind": "ById", + "id": "" + } + } + }, + { + "id": "0QrJZ0hi6dyw6aKlLvgqT", + "name": "Arm selected", + "source": { + "category": "virtual", + "type": 3, + "channel": 0, + "number": 64, + "controlElementType": "Button", + "controlElementIndex": "ch1/record-ready" + }, + "mode": { + "minStepFactor": 1, + "maxStepFactor": 5 + }, + "target": { + "type": 5, + "trackGUID": "selected", + "fxAnchor": "id", + "useSelectionGanging": false, + "useTrackGrouping": false, + "soloBehavior": 1, + "seekBehavior": "Immediate", + "mouseAction": { + "kind": "MoveTo", + "axis": "X" + }, + "takeMappingSnapshot": { + "kind": "ById", + "id": "" + } + } + } + ], + "instanceFx": { + "address": "Focused" + } + }, + "additionalUnits": [] +} \ No newline at end of file