Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
vStylePopupID = 1421;
vPixelsString = '$$$/Dialog/Marquee/Pixels=pixels';
font = static_small_font;
smReplace = 0;
smAdd = 1;
smSubtract = 2;
smRefine = 3;
view(class_name: 'TRectangularMarqueeOptions', 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: 'smrm', 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);
edit_text(view_id: 'fthr', tooltip: '$$$/SelectTools/ToolTips/FeatherEdit=Softens edges of the selection', class_name: 'TUnitsFixedPoint', name: '$$$/Dialog/Marquee/Feather=Feather:', width: gFixedEditFeatherWidth);
check_box(view_id: 'anti', class_name: 'TMiniCheckBox', name: '$$$/Dialog/Marquee/AntiAliased=Anti-alias', alternate_icon: 'AntiAlias', tooltip: '$$$/SelectTools/ToolTips/AntialiasCheck=Smoothes edge transition');
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
popup(resource_id: vStylePopupID, view_id: 'styl', tooltip: '$$$/MarqueeTool/ToolTips/MarqueeStylePopup=Sets how marquee tool draws');
group(placement: place_row, spacing: 2, child_vertical: align_center, tooltip: '$$$/SelectTools/ToolTips/Width=Set the selection width') {
static_text(class_name: 'THotText', view_id: 'wlab', horizontal: align_right, name: '$$$/Dialog/Marquee/Width=Width:');
edit_text(view_id: 'wid ', class_name: 'TUnitsFixedPoint', max_digits: 4);
}
view(class_name: gIconButtonClass, spacing: 0, margin: 1, horizontal: align_right) {
group(spacing: 0, margin: 1, frame: gIconButtonOtherButtonFrame) {
icon_button(data_type: 'int32', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, view_id: 'aswp', sticky: false, tooltip: '$$$/TextOptions/ToolTips/SwapAspect=Swaps height and width', initial_value: 0, icon_root_name: 'SwapValues');
}
}
group(placement: place_row, spacing: 2, child_vertical: align_center, tooltip: '$$$/SelectTools/ToolTips/Height=Set the selection height') {
static_text(class_name: 'THotText', view_id: 'hlab', horizontal: align_right, name: '$$$/Dialog/Marquee/Height=Height:');
edit_text(view_id: 'ht ', class_name: 'TUnitsFixedPoint', max_digits: 4);
}
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', 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