Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
vSelectionViewOptionPopupID = 640;
v_styl_colr_String = '$$$/Dialog/Pencil/Color=Color';
smReplace = 0;
smAdd = 1;
smSubtract = 2;
font = static_small_font;
view(class_name: 'TQuickSelectOptions', 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');
}
}
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);
group(spacing: gSmallGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/BrushOptions/ToolTips/Angle=Set the brush angle') {
event_image(icon_root_name: 'InfoRotate', view_id: 'dumR', width: 16, height: 16, reset_edit_value_on_double_click: 0);
vAngleEditBoxMaxDigits = 4;
edit_text(view_id: 'angl', class_name: 'TUnitsFixedPoint', max_digits: vAngleEditBoxMaxDigits, tooltip: '$$$/BrushOptions/ToolTips/Angle=Set the brush angle');
}
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);
}
group(margin_left: 2, margin_right: 2, child_vertical: align_center, placement: place_row, spacing: 0) {
button(view_id: 'atct', height: gSmallButtonHeight, name: '$$$/SelectionTool/ToolOptions/AutoSelect=Select Subject', tooltip: '$$$/SelectionTool/ToolTips/AutoSelect=Creates a selection from the most prominent objects in the image', dismiss: false, dim: true, enable: false);
view(class_name: 'TInferenceModeButton', view_id: 'mode', tooltip: '$$$/SelectSubject/ToolTips/MenuDropdown=Process select subject through your device or the cloud. To change^rthe default setting, go to Preferences > Image Processing', width: gSmallButtonHeight, vertical: align_fill);
}
group(margin_left: 8, margin_right: 8, 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