GOOD Refactor GUI components and add PlainSlider widget

- Added a new `PlainSlider` widget for keyboard-editable numeric sliders.
- Updated various panels to utilize the new `PlainSlider` for better user interaction.
- Removed unused code and dead code warnings across multiple files.
- Improved organization of modules by adding a `widgets` module.
- Cleaned up imports in several files to streamline the codebase.
- Added Qodana configuration file for code analysis and quality checks.
This commit is contained in:
2026-07-19 00:55:40 +03:00
parent bbabd2acdb
commit 9388e6f096
46 changed files with 1680 additions and 872 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ fn main() {
&alpha, CANVAS, CANVAS,
s.depth, s.size, s.soften, 120.0, s.altitude,
&dir_enum, &hcie_fx::types::Technique::Smooth, &style_enum,
best_lb, best_hl, best_sh, 1.0,
best_lb, best_hl, best_sh, 1.0, 1.0,
);
let px = npix();
-2
View File
@@ -1,5 +1,3 @@
use image::GenericImageView;
fn main() {
let ref_img = image::open("_images/_psd_stil_test/test_2/Emboss.png")
.unwrap()
@@ -127,7 +127,7 @@ fn main() {
&rect_alpha, unsafe { CANVAS }, unsafe { CANVAS },
s.depth, s.size, s.soften, s.angle, 30.0,
&dir_enum, &hcie_fx::types::Technique::Smooth, &style_enum,
lighting_blur, hl_scale, sh_scale, profile_exp,
lighting_blur, hl_scale, sh_scale, profile_exp, 1.0,
);
let px = npix();