Mini Kabibi Habibi

Current Path : C:/Program Files/Adobe/Adobe Photoshop 2025/Required/layouts/Shapes/Dialogs/
Upload File :
Current File : C:/Program Files/Adobe/Adobe Photoshop 2025/Required/layouts/Shapes/Dialogs/createPolygon-4807.exv

// Copyright 2023 Adobe Systems Incorporated

vEditWidth = max_char_width() * 4 + gEditDoubleOutset;
vSidesWidth = max_char_width() * 2 + gEditDoubleOutset;
zDialogTitle = '$$$/Dialog/CreatePolygon=Create Polygon';
dialog(name: zDialogTitle, class_name: 'TPolygonCreateDialog', target_id: 'widt', margin_width: gLargeSpace, margin_height: gLargeSpace, placement: place_column, child_horizontal: align_fill, child_vertical: align_center) {
// Note - this is a special case, regular #defines such as Macintosh or WIN_32 are not available here

#ifdef MacEve
    group(placement: place_row, reverse: true) {
#endif

#ifdef WinEve
    group(placement: place_row) {
#endif

        button(name: gOKString, horizontal: align_fill, view_id: 'ok  ', dismiss: true,
            default: true);
        button(name: gCancelString, horizontal: align_fill, view_id: 'cncl', dismiss: true, cancel: true);
    }
    group(placement: place_row) {
        check_box(class_name: 'TCheckBox', view_id: 'Cntr', name: '$$$/VectorToolOptions/FromCenter=From Center', tooltip: '$$$/PolygonToolOptions/ToolTips/FromCenter=Draw polygon from center');
    }
    group(placement: place_row) {
        check_box(class_name: 'TCheckBox', view_id: 'smin', name: '$$$/Dialog/CreatePolygon/SmoothStarIndents=Smooth Star Indents', tooltip: '$$$/PolygonToolOptions/ToolTips/SmoothIndent=Use rounded indents instead of sharp indents');
    }
    group(placement: place_row) {
        edit_text(view_id: 'stro', class_name: 'TUnitsFixedPoint', name: '$$$/Dialog/CreatePolygonDialog/StarRatio=Star Ratio:', width: vEditWidth, tooltip: '$$$/PolygonToolOptions/ToolTips/SetStarRatio=Set star ratio');
    }
    group() {
        group(placement: place_row, child_horizontal: align_center) {
            edit_text(view_id: 'rad1', name: '$$$/Dialog/CreatePolygon/CornerRadius=Corner Radius:', class_name: 'TUnitsFixedPoint', width: vEditWidth, tooltip: '$$$/PolygonTool/ToolTips/Radius=Set radius of rounded corners');
        }
    }
    group() {
        group(placement: place_row, child_horizontal: align_center) {
            edit_text(view_id: 'sidz', class_name: 'TFixedPoint', name: '$$$/Dialog/CreateRoundedRectangle/Sides=Number of Sides:', width: vSidesWidth, tooltip: '$$$/PolygonToolOptions/ToolTips/Sides=Set number of sides (or points on a star)');
        }
    }
    group() {
        group(placement: place_row, child_horizontal: align_center) {
            edit_text(view_id: 'widt', class_name: 'TUnitsFixedPoint', name: '$$$/Dialog/CreatePolygon/Width=Width:', width: vEditWidth, tooltip: '$$$/VectorLayerOptionsBar/ToolTips/ShapeWidth=Set shape width');
            edit_text(view_id: 'hite', class_name: 'TUnitsFixedPoint', name: '$$$/Dialog/CreatePolygon/Height=Height:', width: vEditWidth, tooltip: '$$$/VectorLayerOptionsBar/ToolTips/ShapeHeight=Set shape height');
        }
        group(placement: place_row) {
            check_box(class_name: 'TCheckBox', view_id: 'Squa', name: '$$$/Dialog/CreatePolygon/Symmetric=Symmetric', tooltip: '$$$/Polygon/ToolTips/Symmetric=Draw a polygon with equal sides');
        }
    }
}
// Footer - Copyright 2023 Adobe Systems Incorporated