From 84bc2fc519cce78a06d3d46ed1fe19acbddd0803 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 16 May 2024 02:13:25 -0700 Subject: [PATCH] add note about changing ViziaPlug --- src/getting_started.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/getting_started.md b/src/getting_started.md index d27b5b5..2026f06 100644 --- a/src/getting_started.md +++ b/src/getting_started.md @@ -49,6 +49,8 @@ pub(crate) fn create(_params: Arc) -> Option> { } ``` +*Make sure to change instances of `ViziaPlug` to the name of your plugin.* + The `create_vizia_editor` function creates the vizia GUI window with a size determined by the `ViziaState`. For now this state is hard-coded but later we'll move it to the plugin parameters so that the window state is remembered between successive openings of the window. Within the closure passed to the `create_vizia_editor` function is where we create the vizia GUI and add some controls. In this case we've added a simple label to begin with. @@ -105,4 +107,4 @@ For the above to work the `ViziaPlug` struct must be made public. Finally, use `cargo run` to build and run the standalone version of the plugin: - \ No newline at end of file +