Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
font = static_small_font;
smReplace = 0;
smAdd = 1;
smSubtract = 2;
smRefine = 3;
mEyeRadius = 2370;
zPixels = '$$$/Dialog/MagenticLasso/Pixels=pixels';
vAntiString = '$$$/Dialog/MagicWand/AntiAliased=Anti-alias';
view(class_name: 'TWandOptions', view_id: 'panl', width: gOptionsPanelWidth, height: gOptionsPanelHeight, placement: place_row, child_vertical: align_center, margin_width: gOptionsMarginWidth, margin_height: gOptionsMarginHeight) {
control(frame: gClusterFrame, view_id: 'smwa', vertical: align_center, class_name: 'TIconButtonCluster_SelectionMode') {
group(placement: place_row, spacing: gIconButtonSpacing, margin: gClusterMargin) {
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Replace=New selection', initial_value: smReplace, spacing: 0, icon_root_name: 'MarqueeNormal');
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Add=Add to selection', initial_value: smAdd, spacing: 0, icon_root_name: 'MarqueeAdd');
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Subtract=Subtract from selection', initial_value: smSubtract, spacing: 0, icon_root_name: 'MarqueeSubtract');
icon_button(data_type: 'SelectionMode', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/SelectionMode/Intersect=Intersect with selection', initial_value: smRefine, spacing: 0, icon_root_name: 'MarqueeIntersect');
}
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
popup(resource_id: mEyeRadius, view_id: 'eyed', height: gSmallPopupHeight, tooltip: '$$$/MagicWandTool/ToolTips/SampleSize=The number of pixels sampled by the tool');
group(placement: place_row, spacing: gGap, child_vertical: align_center, tooltip: '$$$/MagicWandTool/ToolTips/ToleranceEdit=Set range when sampling color') {
edit_text(view_id: 'tolr', class_name: 'TFixedPoint', max_digits: 5, name: '$$$/Dialog/MagicWand/Tolerance=Tolerance:');
}
check_box(view_id: 'anti', class_name: 'TMiniCheckBox', name: vAntiString, alternate_icon: 'AntiAlias', tooltip: '$$$/SelectTools/ToolTips/AntialiasCheck=Smoothes edge transition');
check_box(view_id: 'cntg', class_name: 'TMiniCheckBox', name: '$$$/Dialog/MagicWand/Contiguous=Contiguous', alternate_icon: 'Contiguous', tooltip: '$$$/MagicWandTool/ToolTips/Contiguous=Sample only contiguous pixels');
check_box(view_id: 'merg', class_name: 'TMiniCheckBox', name: '$$$/Dialog/MagicWand/SampleAllLayers=Sample All Layers', alternate_icon: 'SampleAllLayers', tooltip: '$$$/MagicWandTool/ToolTips/MergedCheck=Sample colors from composite image');
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: 0) {
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