Skip to content

Masks: refactor #418

Open
2 of 5 issues completed
Open
2 of 5 issues completed
@aurelienpierre

Description

@aurelienpierre
  • move dt_dev_add_history_item() calls outside of drawing functions 87bf061
  • move direct UI calls to redraw outside of drawing functions d6ca2bc
  • remove redundant pipe invalidations from drawing functions d2f681d
  • add a GUI timeout on mask user events to prevent continuously commiting to history d115abf
  • manage an high-level forms hash to detect changes on drawn shapes and commit on history only when needed 55f5596
  • detach getter/setter functions for masks properties (size, opacity, hardness) from direct GUI events handlers
  • make masks selected for edition mode only on click, not on mouse hover.
  • expose mask locking mode on darkroom zooming & panning in GUI checkbox
  • add opacity mask slider in GUI
  • add hardness mask slider in GUI
  • add rescaling mask slider in GUI
  • add combobox for mapping Wacom pen pressure to mask properties in GUI
  • add shapes creation toggle buttons to darkroom toolbar
  • make continuous drawing by default until disabled from shapes creation toogle buttons
  • make contextual menu on right clic on shapes, allowing to delete shape and add/delete nodes from there
  • ensure no keyboard shortcuts are required for typical mask drawing, aka WE CAN FUCKING DRAW MASKS WITH ONLY A WACOM TABLET IN A PHOTO EDITOR IN 2025

Sub-issues

Metadata

Metadata

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions