Add crop/trim/canvas padding to adjustments, wire all sliders to config
Add crop to aspect ratio (8 ratios), trim whitespace, and canvas padding controls to the adjustments step per design doc. Wire brightness, contrast, saturation, sharpen, grayscale, and sepia to JobConfig. Add Select All / Deselect All toolbar buttons to images step. Include new adjustment operations in output step summary.
This commit is contained in:
@@ -304,6 +304,18 @@ fn build_loaded_state(state: &AppState) -> gtk::Box {
|
||||
.build();
|
||||
add_button.add_css_class("flat");
|
||||
|
||||
let select_all_button = gtk::Button::builder()
|
||||
.icon_name("edit-select-all-symbolic")
|
||||
.tooltip_text("Select all images (Ctrl+A)")
|
||||
.build();
|
||||
select_all_button.add_css_class("flat");
|
||||
|
||||
let deselect_all_button = gtk::Button::builder()
|
||||
.icon_name("edit-clear-symbolic")
|
||||
.tooltip_text("Deselect all images (Ctrl+Shift+A)")
|
||||
.build();
|
||||
deselect_all_button.add_css_class("flat");
|
||||
|
||||
let clear_button = gtk::Button::builder()
|
||||
.icon_name("edit-clear-all-symbolic")
|
||||
.tooltip_text("Remove all images")
|
||||
@@ -326,6 +338,8 @@ fn build_loaded_state(state: &AppState) -> gtk::Box {
|
||||
}
|
||||
|
||||
toolbar.append(&count_label);
|
||||
toolbar.append(&select_all_button);
|
||||
toolbar.append(&deselect_all_button);
|
||||
toolbar.append(&add_button);
|
||||
toolbar.append(&clear_button);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user