waterfall color designer app (#2625)

This commit is contained in:
zxkmm
2026-01-20 04:46:25 +08:00
committed by GitHub
parent 877ede5f86
commit 86d7b345d0
7 changed files with 869 additions and 3 deletions
+4
View File
@@ -332,6 +332,10 @@ WaterfallView::WaterfallView(const bool cursor) {
}
};
load_gradient();
}
void WaterfallView::load_gradient() {
if (!waterfall_widget.gradient.load_file(default_gradient_file)) {
waterfall_widget.gradient.set_default();
}
+1
View File
@@ -146,6 +146,7 @@ class WaterfallView : public View {
void set_parent_rect(const Rect new_parent_rect) override;
void show_audio_spectrum_view(const bool show);
void load_gradient();
private:
void update_widgets_rect();