Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
vSelectionViewOptionPopupID = 640;
v_styl_colr_String = '$$$/Dialog/Pencil/Color=Color';
smReplace = 0;
smAdd = 1;
smSubtract = 2;
smRefine = 3;
font = static_small_font;
view(class_name: 'TQSMatOptions', view_id: 'panl', width: gOptionsPanelWidth, height: gOptionsPanelHeight, placement: place_row, child_vertical: align_center, margin_width: gOptionsMarginWidth, margin_height: gOptionsMarginHeight, spacing: gGap) {
group(placement: place_row, child_vertical: align_center, horizontal: align_left, height: gOptionsPanelHeight, margin_width: gOptionsMarginWidth, margin_height: gOptionsMarginHeight, spacing: gGap) {
control(frame: gClusterFrame, view_id: 'smwa', vertical: align_center, class_name: 'TIconButtonCluster_SelectionMode') {
group(placement: place_row, spacing: gIconButtonSpacing + 2, margin: gClusterMargin) {
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Replace=New selection', initial_value: smReplace, spacing: 0, icon_root_name: 'QuickSelect');
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Add=Add to selection', initial_value: smAdd, spacing: 0, icon_root_name: 'QuickSelectAdd');
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Subtract=Subtract from selection', initial_value: smSubtract, spacing: 0, icon_root_name: 'QuickSelectSubtract');
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/QuickSelectRefine=Refine selection', initial_value: smRefine, spacing: 0, icon_root_name: 'BorderBrushAdd');
}
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
group(spacing: gSmallGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/QuickSelect/ClickPaintingBrush=Click to open the brush options') {
view(class_name: 'TToolBrushPreview', view_id: 'bprv', width: gBrushPreviewWidth, height: gBrushPreviewHeight);
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
check_box(view_id: 'merg', class_name: 'TMiniCheckBox', alternate_icon: 'SampleAllLayers', name: '$$$/QuickSelect/ToolOptions/SampleAllLayers=Sample All Layers', tooltip: '$$$/QuickSelect/ToolTips/SampleAllLayers=Sample colors from composite image');
check_box(view_id: 'atre', class_name: 'TMiniCheckBox', name: '$$$/QuickSelect/ToolOptions/AutoEnhance=Enhance Edge', tooltip: '$$$/QuickSelect/ToolTips/AutoEnhance=Automatically enhance the selection edge', alternate_icon: 'AutoEnhance');
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
popup(view_id: 'mpmo', resource_id: 641, tooltip: '$$$/QuickSelect/ToolTips/SelectionViewMode=Choose Mask Preview Mode');
button(view_id: 'dcon', height: gSmallButtonHeight, name: '$$$/QuickSelect/ToolOptions/Decontaminate=Decontaminate', dismiss: false, dim: false, enable: true, tooltip: '$$$/QuickSelect/ToolTips/Decontaminate=Decontaminate color');
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
}
group(margin_left: 2, margin_right: 2, child_vertical: align_center, placement: place_row, spacing: 8) {
button(view_id: 'redg', height: gSmallButtonHeight, name: '$$$/SelectionTool/ToolOptions/SelectAndMask=Select and Mask...', tooltip: '$$$/SelectionTool/ToolTips/SelectAndMaskTip=Create or refine a selection', dismiss: false, dim: true, enable: false);
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated