Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
iconButtonWidth = 27;
font = static_small_font;
extraForScrollBar = 2;
vLoopItemOnce = '$$$/Menu/Animation/Looping/Once=Once';
vLoopItemThreeTimes = '$$$/Menu/Animation/Looping/ThreeTimes=3 times';
vLoopItemForever = '$$$/Menu/Animation/Looping/Forever=Forever';
vLoopItemOther = '$$$/Menu/Animation/Looping/Other=Other...';
vLoopItem999 = '$$$/AnimationPalette/Loop/Placeholder=999 times';
vLoopMaxItemWidth = max(zstring_width(zstring: vLoopItemOnce, font_id: gUIFont, font_size: gSmallFontSize), zstring_width(zstring: vLoopItemThreeTimes, font_id: gUIFont, font_size: gSmallFontSize), zstring_width(zstring: vLoopItemForever, font_id: gUIFont, font_size: gSmallFontSize), zstring_width(zstring: vLoopItemOther, font_id: gUIFont, font_size: gSmallFontSize), zstring_width(zstring: vLoopItem999, font_id: gUIFont, font_size: gSmallFontSize));
vLoopViewWidth = vLoopMaxItemWidth + 6;
view(class_name: 'TFramesView', view_id: 'frms', show: false, width: gHorzPaletteWidth, height: gHorzPaletteHeight, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
view(class_name: 'TBufferedParent', view_id: 'buff', horizontal: align_fill, vertical: align_fill, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
view(view_id: 'bevl', horizontal: align_fill, vertical: align_fill, spacing: 0, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
control(view_id: 'hfrm', class_name: 'TBevelShadowEdge', height: 1, width: gHorzPaletteWidth, resize_size_vertical: sizeFixed, resize_size_horizontal: sizeRelSuperView);
group(placement: place_row, horizontal: align_fill, vertical: align_fill, margin: 0, spacing: 0, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
group(placement: place_offscreen, horizontal: align_fill, vertical: align_fill, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
scroller(view_id: 'scrl', horizontal: align_fill, vertical: align_fill, vertical_scroll: false, horizontal_scroll: false, class_name: 'TScroller', noFrame: true, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
view(view_id: 'list', class_name: 'TAnimCellView', horizontal: align_fill, vertical: align_fill, resize_size_horizontal: sizeVariable, resize_size_vertical: sizeRelSuperView);
}
group(placement: place_row, view_id: 'tlgp', margin: 8, horizontal: align_fill, vertical: align_fill, resize_size_horizontal: sizeRelSuperView, resize_size_vertical: sizeRelSuperView) {
static_text(view_id: 'tmsg', font: static_small_font, wincontrol: false, width: 320, vertical: align_fill);
view(view_id: 'cpad', width: 8, horizontal: align_left, vertical: align_top);
button(view_id: 'tcvt', dismiss: false, horizontal: align_left, vertical: align_top, enabled: false, name: '$$$/AnimationPalette/ConvertTimeline=Convert');
}
}
}
group(placement: place_row, resize_size_horizontal: sizeRelSuperView, horizontal: align_fill, vertical: align_bottom, resize_location_vertical: locationRelSuperView, spacing: 0, height: gPaletteButtonBarHeight + extraForScrollBar, margin: 0) {
group(placement: place_row, resize_location_vertical: locationRelSuperView, spacing: 0) {
icon_button(data_type: 'int32', view_id: 'cvtA', palette_button_bar: true, resize_location_horizontal: locationRelSuperView, horizontal: align_right, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_top, icon_root_name: 'AnimConvert', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/ConvertToTimeline=Convert to video timeline', flat: true);
view(class_name: 'TGroupSeparator', view_id: 'sep4', width: 1, height: gPaletteButtonBarHeight);
view(placement: place_column, resize_location_vertical: locationRelSuperView, vertical: align_top, spacing: 0, margin: 0) {
divider(view_id: 'edg2', width: vLoopViewWidth + 14, height: 2, vertical: align_top, resize_location_horizontal: locationFixed, horizontal: align_left, spacing: 0, margin: 0);
view(class_name: 'TAnimationLoopView', view_id: 'lpVw', placement: place_row, spacing: 0, margin: 0, vertical: align_fill, resize_location_vertical: locationRelSuperView, tooltip: '$$$/AnimationPalette/Tooltip/Loop=Selects looping options') {
view(class_name: 'TAnimationLoopText', view_id: 'lpTx', height: gPaletteButtonBarHeight, width: vLoopViewWidth, enabled: false, resize_location_vertical: locationRelSuperView, spacing: 0, margin: 0);
icon_image(width: 14, height: gPaletteButtonBarHeight, icon_root_name: 'DropDownTriangle', view_id: 'lpAr', enabled: false, resize_location_vertical: locationRelSuperView, spacing: 0, margin: 0);
}
}
group(placement: place_column, resize_location_vertical: locationRelSuperView, spacing: 0) {
view(view_id: 'ibar', placement: place_row, vertical: align_top, spacing: 0) {
view(class_name: 'TGroupSeparator', view_id: 'sep1', width: 1, height: gPaletteButtonBarHeight + extraForScrollBar);
icon_button(data_type: 'int32', view_id: 'rwnd', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, icon_root_name: 'TimeRewind', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/Rewind=Selects first frame', flat: true);
icon_button(data_type: 'int32', view_id: 'prev', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, icon_root_name: 'TimeReverse', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/PrevFrame=Selects previous frame', flat: true);
group(placement: place_offscreen, vertical: align_fill, resize_size_vertical: sizeRelSuperView) {
icon_button(data_type: 'int32', view_id: 'play', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, icon_root_name: 'Play', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/Play=Plays animation', flat: true);
icon_button(data_type: 'int32', view_id: 'stop', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, icon_root_name: 'Stop', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/Stop=Stops animation', flat: true);
}
icon_button(data_type: 'int32', view_id: 'next', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, icon_root_name: 'TimeForward', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/NextFrame=Selects next frame', flat: true);
view(class_name: 'TGroupSeparator', view_id: 'sep2', width: 1, height: gPaletteButtonBarHeight);
icon_button(data_type: 'int32', view_id: 'twen', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarIconHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, icon_root_name: 'AnimTweenButton', do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/Tween=Tweens animation frames', flat: true);
view(class_name: 'TNewFrameButton', view_id: 'newf', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/NewFrame=Duplicates selected frames', flat: true);
view(class_name: 'TDeleteFrameButton', view_id: 'trsh', palette_button_bar: true, width: gPaletteButtonBarIconWidth, height: gPaletteButtonBarHeight + extraForScrollBar, vertical: align_fill, resize_size_vertical: sizeRelSuperView, do_cursors: true, tooltip: '$$$/AnimationPalette/Tooltip/DeleteFrame=Deletes selected frames', flat: true);
view(class_name: 'TGroupSeparator', view_id: 'sep3', width: 1, height: gPaletteButtonBarHeight);
}
}
}
view(view_id: 'scrv', horizontal: align_fill, vertical: align_fill, resize_size_horizontal: sizeRelSuperView, height: gPaletteButtonBarHeight);
group(height: gPaletteButtonBarHeight + 1, placement: place_row, resize_location_horizontal: locationRelSuperView, resize_location_vertical: locationRelSuperView, spacing: 0) {
divider(view_id: 'edg3', width: gPaletteButtonBarRightMargin, vertical: align_top, resize_location_horizontal: locationRelSuperView);
}
}
}
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated