Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
mLayerPaletteMode = 2490;
mLayerFilterMode = 2493;
mLayerFilterLayerAttributePopup = 2495;
mLayerFilterEffectsPopup = 2497;
mLayerFilterBlendModesPopup = 2498;
mLayerFilterColorPopup = 2499;
mLayerFilterArtboardPopup = 2494;
vLayerPaletteWidth = gListPaletteWidth;
vScrollerWidth = vLayerPaletteWidth - gScrollerInset;
vHeaderHeight = 80;
font = static_small_font;
mLayerCompositeEngine = 2496;
view ( class_name: 'TLayersPanel', view_id: 'layr',
width: vLayerPaletteWidth,
resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView, margin_top: gPaletteTopMargin)
{
view ( class_name: 'TBufferedParent', view_id: 'buff',
resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView)
{
view ( view_id: 'bevl',
margin: 0,
spacing: 0,
resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView)
{
group(view_id: 'filt', placement: place_row, height:mSectionRowHeight, margin_left: 3, margin_right: 3, spacing: 0, vertical: align_center, horizontal: align_fill) // fourth row group (layer filter options)
{
popup(resource_id: mLayerFilterMode, view_id: 'Fmnu',
horizontal: align_fill,
icon_root_name: 'FilteringLayerSearch',
tooltip: '$$$/LayersPalette/ToolTips/FilterMenu=Filter layers by type');
group(class_name: 'TChildSwapView',
view_id: 'Fswp',
placement: place_offscreen,
spacing: 0,
margin_left: 1,
margin_right: 1,
child_vertical: align_center,
horizontal: align_fill)
{
group (placement: place_column, horizontal: align_fill)
{
group (placement: place_row, spacing: 0, enabled: false, child_horizontal: align_fill, horizontal: align_center)
{
view ( class_name: 'TPunchButton',
view_id: 'Fpxl',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterPixelLayers=Filter for pixel layers');
view ( class_name: 'TPunchButton',
view_id: 'Fadj',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterAdjustmentLayers=Filter for adjustment layers');
view ( class_name: 'TPunchButton',
view_id: 'Ftyp',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterTypeLayers=Filter for type layers');
view ( class_name: 'TPunchButton',
view_id: 'Fshp',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterShapeLayers=Filter for shape layers');
view ( class_name: 'TPunchButton',
view_id: 'Fsmo',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterSmartObjects=Filter for smart objects');
}
}
group (placement: place_column, horizontal: align_fill)
{
edit_text (view_id: 'Fnam', horizontal: align_fill, width: 129, tooltip: '$$$/LayersPalette/ToolTips/FilterName=Filter by layer name');
}
group (placement: place_column, horizontal: align_fill)
{
popup(resource_id: mLayerFilterEffectsPopup, view_id: 'Feft', horizontal: align_fill);
}
group (placement: place_column, horizontal: align_fill)
{
popup(resource_id: mLayerFilterBlendModesPopup, view_id: 'Fbln', horizontal: align_fill);
}
group (placement: place_column, horizontal: align_fill)
{
popup(resource_id: mLayerFilterLayerAttributePopup, view_id: 'Fatr', horizontal: align_fill);
}
group (placement: place_column, horizontal: align_fill)
{
zpopup (view_id: 'Fclr', resource_id: mLayerFilterColorPopup, horizontal: align_fill, width: 109);
}
group (placement: place_column, horizontal: align_fill)
{
group (placement: place_row, spacing: 0, enabled: false, child_horizontal: align_fill, horizontal: align_center)
{
view ( class_name: 'TPunchButton',
view_id: 'Fcld',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterSOCloudUpToDate=Filter for smart objects linked in library');
view ( class_name: 'TPunchButton',
view_id: 'Futd',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterSOUpToDate=Filter for smart objects linked locally');
view ( class_name: 'TPunchButton',
view_id: 'Foud',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterSOOutOfDate=Filter for linked smart objects that are out of date');
view ( class_name: 'TPunchButton',
view_id: 'Fmis',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterSOMissing=Filter for linked smart objects that are missing');
view ( class_name: 'TPunchButton',
view_id: 'Femb',
width: gPaletteIconWidth,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/FilterSOEmbedded=Filter for embedded smart objects');
}
}
group (placement: place_column, horizontal: align_fill)
{ // isolation mode
}
group (placement: place_column, horizontal: align_fill)
{ // artboard auto-select
}
group (placement: place_column, horizontal: align_fill)
{ // layer group
}
}
check_box(view_id: 'tflt', class_name: 'TLightSwitch', tooltip: '$$$/LayersPalette/ToolTips/FilterLayers=Turn layer filtering on or off');
}
divider (view_id: 'flsp', resize_size_horizontal: sizeRelSuperView);
group(view_id: 'blgp', placement: place_row, margin_left: 3, margin_right: 3, spacing: 0, height:mSectionRowHeight, horizontal: align_fill) // first row (blend mode, opacity edit/popup slider)
{
popup(resource_id: mLayerPaletteMode,
view_id: 'bpop',
width: 113,
height: gSmallPopupHeight + 1,
horizontal: align_fill,
tooltip: '$$$/LayersPalette/ToolTips/Blend=Set blending mode for selected layer');
group(spacing:2, placement: place_row, child_vertical: align_center, horizontal: align_right, margin_left: 2, include_view: compCoreFtrPrefs)
{
static_text(view_id: 'CEns', name: '$$$/LayersPalette/CompositeEngineSymbol=^u', class_name: 'THotText', horizontal:align_right, width: gStaticTextHeight+4, height: gStaticTextHeight+4);
zpopup (view_id: 'cEng', resource_id: mLayerCompositeEngine, horizontal: align_right, width: 18);
}
group(spacing:2, placement: place_row, child_vertical: align_center, horizontal: align_right, margin_left: 2) // opacity cluster
{
static_text(view_id: 'stit', name: '$$$/LayersPalette/Opacity=Opacity:', class_name: 'THotText',
horizontal:align_right);
popup_edit_slider (view_id: 'pusl',
placement: place_row,
tooltip: '$$$/LayerEffects/ToolTip/Blending/LayerOpacity=Set opacity for selected layer',
edit_class_name: 'TUnitsFixedPoint',
edit_display_format: gOpacityEditFormat,
edit_view_id: 'cell',
slider_view_id: 'tbib');
}
}
divider (view_id: 'blsp', resize_size_horizontal: sizeRelSuperView);
group(view_id: 'angr', placement: place_row, margin_left: 3, margin_right: 3, spacing: 0, height:mSectionRowHeight, horizontal: align_fill) // second row (unify buttons, propagate frame checkbox)
{
static_text(view_id: 'unfy',
class_name: 'THotText',
name: '$$$/LayersPalette/Unify=Unify:',
horizontal:align_right);
control (view_id: 'ufrm', placement: place_row, spacing: 0, margin: 0, enabled: false) // unify buttons
{
view ( class_name: 'TPunchButton',
view_id: 'upos', // position
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/UnifyLayerPosition=Merge layer position');
view ( class_name: 'TPunchButton',
view_id: 'uvis', // visibility
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/UnifyLayerVisibility=Merge layer visibility');
view ( class_name: 'TPunchButton',
view_id: 'uefx', // effects
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/UnifyLayerStyle=Merge layer style');
}
check_box ( view_id: 'prpg',
class_name: 'TMiniCheckBox',
horizontal: align_right,
name: '$$$/LayersPalette/PropageFrame1=Propagate Frame 1',
tooltip: '$$$/LayersPalette/ToolTips/PropogateFrame1=Propagate changes made to frame one');
}
divider (view_id: 'ansp', resize_size_horizontal: sizeRelSuperView);
group(view_id: 'lkgr', placement: place_row, margin_left: 3, margin_right: 3, spacing: 0, height:mSectionRowHeight, horizontal: align_fill) // third row (lock buttons, fill edit/popup slider)
{
group(width: 2);
static_text(view_id: 'lock', class_name: 'THotText', name: '$$$/LayersPalette/Lock=Lock:', // Lock: label
horizontal:align_left);
control (view_id: 'lfrm', placement: place_row, spacing: 0, margin: 0, enabled: false) // lock buttons
{
view ( class_name: 'TPunchButton',
view_id: 'tlok', // transparency
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/LockTransparency=Lock transparent pixels');
view ( class_name: 'TPunchButton',
view_id: 'ilok', // image
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/LockImage=Lock image pixels');
view ( class_name: 'TPunchButton',
view_id: 'mlok', // position
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/LockMove=Lock position');
view ( class_name: 'TPunchButton',
view_id: 'rlok', // Container Group (Artboard, FramedGroup) Auto-nest
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/LockAutonest=Prevent auto-nesting into and out of Artboards and Frames');
view ( class_name: 'TPunchButton',
view_id: 'alok', // all
width: gPaletteIconWidth-2,
height: gPaletteIconHeight,
tooltip: '$$$/LayersPalette/ToolTips/LockAll=Lock all attributes');
}
group(spacing:2, placement: place_row, child_vertical: align_center, horizontal: align_right) // fill cluster
{
static_text(view_id: 'flab',
name: '$$$/LayersPalette/Fill=Fill:',
class_name: 'THotText',
horizontal:align_right);
popup_edit_slider (view_id: 'pusf',
placement: place_row,
tooltip: '$$$/LayerEffects/ToolTip/Blending/LayerFillOpacity=Set fill opacity for selected layer',
edit_class_name: 'TUnitsFixedPoint',
edit_display_format: gOpacityEditFormat,
edit_view_id: 'cell',
slider_view_id: 'tbib');
}
}
group (spacing : 0, margin : 0, vertical: align_bottom, // group to force tight fitting, shoved palette bottom
view_id: 'llgr',
resize_size_horizontal: sizeRelSuperView,
resize_size_vertical: sizeRelSuperView,
horizontal: align_fill,
vertical: align_fill)
{
group(spacing: 0, horizontal: align_fill,
resize_size_horizontal: sizeRelSuperView,
resize_size_vertical: sizeRelSuperView )
{
control (view_id: 'hfrm',
class_name: 'TBevelShadowEdge',
horizontal: align_fill,
vertical: align_top,
width: gStdPaletteWidth,
height: 1,
resize_size_vertical: sizeFixed,
resize_size_horizontal: sizeRelSuperView);
scroller (view_id: 'scrl', // scroller and the layer list view it controls
horizontal: align_fill,
vertical: align_fill,
width: gStdPaletteWidth - gScrollerInset,
height: 1, // other uses of scroller have this...not sure why...
vertical_scroll: true,
horizontal_scroll: false,
noFrame: true,
class_name: 'TLayerCellViewScroller',
resize_size_horizontal: sizeRelSuperView,
resize_size_vertical: sizeRelSuperView )
{
view (view_id: 'list', class_name: 'TLayerCellView',
height: gStdPaletteHeight - gScrollerInset - vHeaderHeight + 60, width: gStdPaletteWidth - gScrollerInset,
horizontal: align_fill,
vertical: align_fill,
resize_size_horizontal: sizeRelSuperView,
resize_size_vertical: sizeVariable );
}
}
group (placement: place_column, spacing: 0, horizontal: align_fill,
resize_size_horizontal: sizeRelSuperView,
resize_size_vertical: sizeRelSuperView,
spacing: 0,
resize_location_vertical: locationRelSuperView)
{
view (view_id: 'bbar', class_name: 'TLayersButtonBar', placement: place_row, spacing: 0, horizontal: align_fill,
resize_size_horizontal: sizeRelSuperView, resize_location_vertical: locationRelSuperView)
{
divider (view_id: 'edge', vertical: align_top, horizontal: align_fill, resize_size_horizontal: sizeRelSuperView, resize_location_horizontal: locationFixed);
icon_button (data_type: 'int32', view_id: 'link', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2, height: gPaletteButtonBarIconHeight, icon_root_name: 'LinkLayers', do_cursors: true, flat: true); // link
icon_button (class_name: 'TPunchButton', view_id: 'lyfx', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2 , height: gPaletteButtonBarIconHeight, icon_root_name: 'AddFX', do_cursors: true, menu_marker: true, flat: true); // layer effects
icon_button (data_type: 'int32', view_id: 'mask', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2, height: gPaletteButtonBarIconHeight, icon_root_name: 'AddMask', do_cursors: true, flat: true, richtooltip: true); // mask
icon_button (class_name: 'TPunchButton', view_id: 'adjs', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2, height: gPaletteButtonBarIconHeight, icon_root_name: 'Adjustment', do_cursors: true, menu_marker: true, flat: true); // adjustments
icon_button (data_type: 'int32', view_id: 'lset', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2, height: gPaletteButtonBarIconHeight, icon_root_name: 'NewFolder', do_cursors: true, flat: true); // layer group
icon_button (data_type: 'int32', view_id: 'newl', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2, height: gPaletteButtonBarIconHeight, icon_root_name: 'NewSheet', do_cursors: true, flat: true); // new layer
icon_button (data_type: 'int32', view_id: 'trsh', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth-2, height: gPaletteButtonBarIconHeight, icon_root_name: 'Trashcan', do_cursors: true, flat: true); // trash
divider (view_id: 'edg2', width: gPaletteButtonBarRightMargin, vertical: align_top, resize_location_horizontal: locationRelSuperView, horizontal: align_right);
}
}
}
}
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated