Mini Kabibi Habibi

Current Path : C:/Program Files/Adobe/Adobe Photoshop 2025/Required/layouts/Masks/Tools/
Upload File :
Current File : C:/Program Files/Adobe/Adobe Photoshop 2025/Required/layouts/Masks/Tools/patchTool-4160.exv

// Copyright 2023 Adobe Systems Incorporated

v_styl_patn_String = '$$$/Dialog/PatchTool/UsePattern=Use Pattern';
v_fill_String = '$$$/Dialog/Fill/Title=Fill';
v_styl_heal_String = '$$$/Dialog/PatchTool/Heal=Patch Selection';
v_styl_drag_String = '$$$/Dialog/PatchTool/Drag=Patch:';
v_styl_heal_SrcFDest_String = '$$$/Dialog/PatchTool/Healing1=Source';
v_styl_heal_DestFSrc_String = '$$$/Dialog/PatchTool/Healing2=Destination';
v_styl_heal_Extract_String = '$$$/Dialog/PatchTool/extract=Transparent';
v_content_aware_String = '$$$/Dialog/HealingBrush/ContentAware=Content-Aware';
v_reshuffle_String = '$$$/Dialog/HealingBrush/Reshuffle=Reshuffle';
font = static_small_font;
smReplace = 0;
smAdd = 1;
smSubtract = 2;
smRefine = 3;
vPatternMakerPreviewHeight = 27;
vPatchFideltyPopupID = 4160;
vPatchModeID = 4161;
view(class_name: 'TPatchOptions', 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: 'smpt', 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: vPatchModeID, view_id: 'ptcm', height: gSmallPopupHeight, tooltip: '$$$/Dialog/PatchTool/ToolTips/Mode=Choose a patch mode');
    view(view_id: 'capt', horizontal: align_left, placement: place_row) {
        group(placement: place_row, spacing: gIconButtonSpacing, child_vertical: align_center, tooltip: '$$$/Dialog/PatchTool/ToolTips/AdaptationGroup=Set additional content-aware options') {
            group(placement: place_row, spacing: gIconButtonSpacing, margin: gClusterMargin, tooltip: '$$$/PatchToolOptions/Group/StructureAdaptation=Adjust how strictly the source structure is preserved') {
                static_text(view_id: 'strt', class_name: 'THotText', horizontal: align_right, name: '$$$/PatchToolOptions/StructureAdaptation=Structure: ');
                popup_edit_slider(view_id: 'strc', placement: place_row, edit_class_name: 'TFixedPointCustomizedCAPME', edit_display_format: gContentAwarePatchToolStructure, edit_view_id: 'stre', slider_view_id: 'strs');
            }
            group(placement: place_row, spacing: gIconButtonSpacing, margin: gClusterMargin, tooltip: '$$$/PatchToolOptions/Group/ColorAdaptation=Adjust how much the source color can be modified') {
                static_text(view_id: 'colt', class_name: 'THotText', horizontal: align_right, name: '$$$/PatchToolOptions/ColorAdaptation=Color: ');
                popup_edit_slider(view_id: 'colc', placement: place_row, edit_class_name: 'TFixedPointCustomizedCAPME', edit_display_format: gContentAwarePatchToolStructure, edit_view_id: 'cole', slider_view_id: 'cols');
            }
        }
        view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
    }
    check_box(view_id: 'merg', class_name: 'TMiniCheckBox', name: '$$$/Dialog/PatchTool/ToolOptions/SampleAllLayers=Sample All Layers', alternate_icon: 'SampleAllLayers', tooltip: '$$$/Dialog/PatchTool/ToolTips/PatchAllLayers=Enable to patch all layers');
    view(view_id: 'nmcn', horizontal: align_left, placement: place_row, tooltip: '$$$/Dialog/PatchTool/ToolTips/Drag=Select a patching behavior') {
        view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
        radio_bar(view_id: 'hlgc', usesCompressed: true, vertical: align_center, id_1: 'SFD ', name_1: v_styl_heal_SrcFDest_String, icon_root_name_1: 'Destination', tooltip_1: '$$$/Dialog/PatchTool/ToolTip/Drag1=Patch source from destination', id_2: 'DFS ', name_2: v_styl_heal_DestFSrc_String, icon_root_name_2: 'Source', tooltip_2: '$$$/Dialog/PatchTool/ToolTip/Drag2=Patch destination from source');
        check_box(view_id: 'trpn', class_name: 'TMiniCheckBox', name: v_styl_heal_Extract_String, alternate_icon: 'Transparent', tooltip: '$$$/Dialog/ToolTip/Patch/Transparent=Use transparency when blending patch');
        view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
        group(spacing: gSmallGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/Dialog/PatchTool/ToolTips/Pattern=Use pattern to fill the selected area and patch it') {
            button(dismiss: false, height: gSmallButtonHeight, name: v_styl_patn_String, view_id: 'ptns');
            group(placement: place_column, child_vertical: align_top) {
                view(class_name: 'TPatternThumbnailView', view_id: 'prev', width: gBrushPreviewSize + 13, height: vPatternMakerPreviewHeight, tooltip: '$$$/PaintTools/ToolTips/Pattern=Click+drag to select a pattern');
            }
        }
        view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
        view(view_id: 'hede', horizontal: align_left, placement: place_row) {
            group(placement: place_row, margin: gClusterMargin, tooltip: '$$$/HealingBrush/ToolTips/SmoothingFactor=Adjust the degree of diffusion') {
                static_text(view_id: 'smot', class_name: 'THotText', horizontal: align_right, name: '$$$/PaintTools/HealingBrush/ToolTips/SmoothingFactor=Diffusion:');
                popup_edit_slider(view_id: 'smoc', placement: place_row, edit_class_name: 'TFixedPointCustomizedCAPME', edit_display_format: gHealingSmoothingFactor, edit_view_id: 'smoe', slider_view_id: 'smos');
            }
            view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
        }
    }
}
// Footer - Copyright 2023 Adobe Systems Incorporated