Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
font = static_small_font;
smReplace = 0;
smAdd = 1;
smSubtract = 2;
smRefine = 3;
vPatchFideltyPopupID = 4160;
vRecomposeModePopupID = 4166;
view(class_name: 'TRecomposeOptions', 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: vRecomposeModePopupID, view_id: 'rmmd', height: gSmallPopupHeight, tooltip: '$$$/Dialog/RecomposeTool/ToolTips/Mode=Choose a remix mode');
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
view(view_id: 'capt', horizontal: align_left, placement: place_row) {
group(placement: place_row, spacing: gIconButtonSpacing, child_vertical: align_center, tooltip: '$$$/Dialog/RecomposeTool/ToolTips/AdaptationGroup=Adaption Options') {
group(placement: place_row, margin: gClusterMargin, tooltip: '$$$/RecomposeToolOptions/Group/StructureAdaptation=Adjust how strictly the source structure is preserved') {
static_text(view_id: 'strt', class_name: 'THotText', horizontal: align_right, name: '$$$/RecomposeToolOptions/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, margin: gClusterMargin, tooltip: '$$$/RecomposeToolOptions/Group/ColorAdaptation=Adjust how much the source color can be modified') {
static_text(view_id: 'colt', class_name: 'THotText', horizontal: align_right, name: '$$$/RecomposeToolOptions/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/RecomposeTool/ToolOptions/SampleAllLayers=Sample All Layers', alternate_icon: 'SampleAllLayers', tooltip: '$$$/Dialog/RecomposeTool/ToolTips/RemixAllLayers=Enable to remix all layers');
check_box(view_id: 'sond', class_name: 'TMiniCheckBox', name: '$$$/Dialog/RecomposeTool/ToolOptions/TransformOnDrop=Transform On Drop', alternate_icon: 'TransformOnDrop', tooltip: '$$$/Dialog/RecomposeTool/ToolTips/PatchScaleCAM=Allows rotation and scaling of selection');
view(view_id: 'tsep', class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
view(class_name: gIconButtonClass, spacing: 0, margin: 1) {
group(spacing: 0, margin: 1, frame: gIconButtonOtherButtonFrame) {
view(view_id: 'cncl', class_name: 'TBevelCancelButton', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/NumericTransform/ToolTip/Cancel=Cancel transform (Esc)');
}
}
view(class_name: gIconButtonClass, spacing: 0, margin: 1) {
group(spacing: 0, margin: 1, frame: gIconButtonOtherButtonFrame) {
view(view_id: 'acpt', class_name: 'TBevelOKButton', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/NumericTransform/ToolTip/OK=Commit transform (Enter)');
}
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated