[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    selection handling plan
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2011-05-24 12:49:30
Message-ID: 201105241449.30767.boud () valdyas ! org
[Download RAW message or body]

Here are my notes for the selection handling plan:

SELECTION PLAN

Big Refactors:

1) Remove KisSelection from KisImage; make default selection = selection mask on root \
group layer. The rool layer selection mask is the default selection for selection \
actions. 2) Separate pixel and vector selection into a pixel selection mask and \
vector selection mask 3) Re-enable mask visualisation: show both by default? Buttons \
in statusbar to switch visualisation on/off

Consequences of 1:

 * rename "local selection" to "selection mask"
 * create method to merge two masks together (idea: d&d with confirmation by dropping \
                nodes on top of each other)
 * show rootlayer? (if so, fix bugs when d&d root layer)
 * display group layer selection masks always directly under the group layer, not \
mixed with the paint layers -- maybe separate hierarchy, or as icons on the group \
                layer layerbox item?)
 * deactivate gui options to d&d move and delete the layer when the active layer is \
                the group layer
 * the most local group's selection mask is the current selection, selection masks on \
groups are not active in a "merged" way

Consequences of 2:

 * make selection masks use grayscale colorspace instead of alpha
 * remove selection tools from toolbox; always paint on selection with the main tools
    * consequence: add a button on the top toolbar next to erase button to enable \
selection mode: when pressed, the paint tools will create a new selection mask on the \
root layer, or paint  on the root layer's selection mask if there's one.
 * allow to drag any shapes on vector selections
 

-- 
Boudewijn Rempt | http://www.valdyas.org, http://www.krita.org
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic