Skip to content

Commit

Permalink
fix some fades and update egui_baseview from nih_plug
Browse files Browse the repository at this point in the history
  • Loading branch information
ardura committed Aug 21, 2024
1 parent 739341f commit 61bbe5b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 13 deletions.
36 changes: 26 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ hound = "3.5.0"
lazy_static = "1.4.0"

# Nih plug update
nih_plug = { git = "https://github.com/ardura/nih-plug.git", rev = "9d9d5f9710daeadfb2eba3859088b4bea196b904", features = ["assert_process_allocs"] }
nih_plug_egui = { git = "https://github.com/ardura/nih-plug.git", rev = "9d9d5f9710daeadfb2eba3859088b4bea196b904" }
nih_plug = { git = "https://github.com/ardura/nih-plug.git", rev = "30502a623d1eef5eed4e043a1977baddf4cb6343", features = ["assert_process_allocs"] }
nih_plug_egui = { git = "https://github.com/ardura/nih-plug.git", rev = "30502a623d1eef5eed4e043a1977baddf4cb6343" }

# egui_file fork for nih-plug/Actuate
egui_file = { git = "https://github.com/ardura/egui_file.git", rev = "72d857a3689e34f1098e0a4435a82e04746ea9f7" }
egui_file = { git = "https://github.com/ardura/egui_file.git", rev = "eabe829cbaab41eebe6fbe19797d0fbbea23be7d" }

num-complex = "0.4.4"
num-traits = "0.2.17"
Expand Down
2 changes: 2 additions & 0 deletions src/CustomWidgets/BeizerButton.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use nih_plug_egui::egui::{
Align2, Color32, FontId, Pos2, Rect, Response, Rounding, Shape, Stroke, Ui, Vec2, Widget,
};

// This allow is here since Actuate ended up only using HorizontalInline
#[allow(dead_code)]
pub enum ButtonLayout {
HorizontalInline,
Vertical,
Expand Down
2 changes: 2 additions & 0 deletions src/actuate_gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ pub(crate) fn make_actuate_gui(instance: &mut Actuate, _async_executor: AsyncExe
(HEIGHT as f32/ 2.0) - 250.0))
.fixed_size(Vec2::new(660.0, 500.0))
.scroll([true, true])
.fade_in(false)
.fade_out(false)
.enabled(true);
window.show(egui_ctx, |ui| {
ui.visuals_mut().extreme_bg_color = Color32::DARK_GRAY;
Expand Down

0 comments on commit 61bbe5b

Please sign in to comment.