Photoshop's remaining blend modes in its groups (12.7a); v1.2.2 kernels for 12.7b
This commit is contained in:
1 parent
29eab10edc
commit
7d47cc367a
26 files changed
+348
-56
No files matched your search
@@ -4,8 +4,12 @@ BlendModePicker::BlendModePicker(EditorSession &session, QWidget *parent) : QCom
|
||||
{
|
||||
setAccessibleName(QStringLiteral("Blend mode"));
|
||||
setObjectName(QStringLiteral("blendMode"));
|
||||
for (const LayerBlendMode mode : allLayerBlendModes)
|
||||
// Grouped as Photoshop groups them, a line between.
|
||||
for (const LayerBlendMode mode : allLayerBlendModes) {
|
||||
if (count() && blendGroup(mode) != blendGroup(*layerBlendMode(itemText(count() - 1))))
|
||||
insertSeparator(count());
|
||||
addItem(rawValue(mode));
|
||||
}
|
||||
connect(this, &QComboBox::highlighted, this, &BlendModePicker::highlight);
|
||||
connect(this, &QComboBox::activated, this, &BlendModePicker::choose);
|
||||
connect(&m_session, &EditorSession::changed, this, &BlendModePicker::synchronize);
|
||||
|
||||
Reference in new issue
Block a user