Bindings for cfillion ReaImGui Reaper Extension.
They are unsafe and hard to use because of all c-types.
But, at least, it works, and can be used raw as in rea-rs
crate, as well
as in reaper-rs
. But for the last one it should be published with the recent version,
to make it possible for selecting back-end with features.
Minimal example crate can be found on GitHub repository:
https://github.com/Levitanus/reaper-imgui/tree/master/hello_world_example
```rust use rears::{PluginContext, Reaper, Timer}; use rearsmacros::reaperextensionplugin; use reaperimgui::{ Context, DrawList, DrawListSplitter, Font, ImGui, Image, ImageSet, ListClipper, Resource, TextFilter, Viewport, }; use std::{error::Error, mem::MaybeUninit}; use cstrmacro::c_str;
struct GuiRunner {
imgui: ImGui,
ctx: Context,
}
impl Timer for GuiRunner {
fn run(&mut self) -> Result<(), Box
fn pluginmain(context: PluginContext) -> Result<(), Box