Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
dialog(name: '$$$/Dialog/Video/RenderVideo/Title=Render Video', class_name: 'TRenderVideoDialog', target_id: 'name', child_horizontal: align_fill) {
vEditFilenameWidth = max_digit_width() * 24 + gEditDoubleOutset;
vEditSizeWidth = max_digit_width() * 5 + gEditDoubleOutset;
vEditFrameWidth = max_digit_width() * 5 + gEditDoubleOutset;
// Note - this is a special case, regular #defines such as Macintosh or WIN_32 are not available here
#ifdef MacEve
vEditFrameRateWidth = max_digit_width() * 5 + gEditDoubleOutset;
#endif
#ifdef WinEve
vEditFrameRateWidth = max_digit_width() * 6 + gEditDoubleOutset;
#endif
vEditHeight = gEditTextHeight - 4;
vPatchWidth = (max_digit_width() * 4);
vAMEFormatPopupWidth = 250;
vAMEPresetPopupWidth = 250;
vAMEFormatLabelWidth = zstring_width(zstring: '$$$/Menu/RenderVideo/Format=For&mat:');
vAMEPresetLabelWidth = zstring_width(zstring: '$$$/Menu/RenderVideo/Preset=&Preset:');
vAMESizeLabelWidth = zstring_width(zstring: '$$$/Menu/RenderVideo/Size=Si&ze:');
vAMERateLabelWidth = zstring_width(zstring: '$$$/Menu/FrameRate=Frame &Rate:');
vAMEAspectLabelWidth = zstring_width(zstring: '$$$/Menu/RenderVideo/Aspect/Aspect=Aspe&ct:');
vAMEFieldLabelWidth = zstring_width(zstring: '$$$/Menu/RenderVideo/FieldOrder/FieldOrder=F&ield Order:');
vAMEMaxLabelWidth = max(vAMEFormatLabelWidth, vAMEPresetLabelWidth, vAMESizeLabelWidth, vAMERateLabelWidth, vAMEAspectLabelWidth, vAMEFieldLabelWidth);
// Note - this is a special case, regular #defines such as Macintosh or WIN_32 are not available here
#ifdef MacEve
vColorManageMargin = vAMEMaxLabelWidth + 5;
#endif
#ifdef WinEve
vColorManageMargin = vAMEMaxLabelWidth + 11;
#endif
group(child_horizontal: align_fill) {
button(view_id: 'ok ', name: '$$$/Dialog/Video/RenderVideo/OKButton=Render', dismiss: false,
default: true);
button(view_id: 'cncl', name: gCancelString,
default: false);
}
group(child_horizontal: align_fill) {
cluster(name: '$$$/Dialog/Video/RenderVideo/Location=Location', placement: place_column) {
group(placement: place_row) {
static_text(name: '$$$/Dialog/Video/RenderVideo/Name=&Name:');
edit_text(view_id: 'name', class_name: 'TFilenameText', max_chars: 63, width: vEditFilenameWidth);
}
group(placement: place_row, horizontal: align_fill) {
button(name: '$$$/Dialog/Video/RenderVideo/SelectFolder=Select &Folder...', horizontal: align_left, view_id: 'dirB', dismiss: false,
default: false, dialogButton: false);
static_text(view_id: 'dirT', horizontal: align_fill);
}
group(placement: place_row) {
check_box(name: '$$$/Dialog/Video/RenderVideo/CreateNewSubfolder=Create New S&ubfolder:', view_id: 'subc');
edit_text(view_id: 'sube', class_name: 'TFilenameText', max_chars: 63, width: vEditFilenameWidth);
}
}
popup_cluster(view_id: 'mthd', cluster_id: 'mthc', resource_id: 4018, placement: place_column, spacing: gLargeSpace) {
group(placement: place_offscreen) {
group(view_id: 'ameg') {
group(placement: place_column, horizontal: align_fill) {
group(placement: place_row, horizontal: align_fill) {
popup(view_id: 'amef', resource_id: 4016, vertical: align_center, width: vAMEFormatPopupWidth);
popup(view_id: 'amep', resource_id: 4017, vertical: align_center, width: vAMEPresetPopupWidth);
}
group(placement: place_row) {
popup(view_id: 'amsz', resource_id: 4011);
edit_text(view_id: 'amwd', class_name: 'TFixedPoint', width: vEditSizeWidth);
static_text(name: '$$$/ControlsStrings/times=x');
edit_text(view_id: 'amht', class_name: 'TFixedPoint', width: vEditSizeWidth);
}
group(placement: place_row, child_horizontal: align_left) {
popup(view_id: 'amrp', resource_id: 4013);
edit_text(view_id: 'amrt', class_name: 'TFixedPoint', width: vEditFrameRateWidth);
static_text(name: '$$$/ControlsStrings/FramesPerSecond=fps');
}
group(placement: place_row, horizontal: align_fill) {
popup(view_id: 'fiel', resource_id: 4022, vertical: align_center, width: vAMEPresetPopupWidth);
popup(view_id: 'aspc', resource_id: 4021, vertical: align_center, width: vAMEPresetPopupWidth);
}
}
group(placement: place_row, horizontal: align_fill, spacing: 0, margin_top: 2) {
view(width: vColorManageMargin);
check_box(view_id: 'clmg', name: '$$$/Dialog/Video/RenderVideo/ColorManage=Color Mana&ge', tooltip: '$$$/Dialog/Video/RenderVideo/Tooltip/ColorManage=Preserve color appearance of video project');
}
}
group(view_id: 'seqg') {
group(placement: place_column, horizontal: align_fill) {
group(placement: place_row) {
popup(view_id: 'seqp', resource_id: 4010);
button(name: '$$$/Dialog/Video/RenderVideo/Settings=&Settings...', view_id: 'sqop',
default: false, dismiss: false, dialogButton: false);
}
group(placement: place_row) {
view(width: 12, height: 12);
group(placement: place_row, spacing: gLargeSpace) {
group(placement: place_row) {
static_text(name: '$$$/Dialog/Video/RenderVideo/StartingNumber=S&tarting #:');
edit_text(view_id: 'stnm', class_name: 'TFixedPoint', width: vEditSizeWidth);
}
group(placement: place_row) {
static_text(name: '$$$/Dialog/Video/RenderVideo/Digits=&Digits:');
popup(view_id: 'dgts', resource_id: 4014);
}
static_text(view_id: 'sqex', name: '$$$/Dialog/Video/RenderView/ExampleFileName=Ex: File000001.XXX');
}
}
group(placement: place_row) {
popup(view_id: 'sqsz', resource_id: 4011);
edit_text(view_id: 'sqwd', class_name: 'TFixedPoint', width: vEditSizeWidth);
static_text(name: '$$$/ControlsStrings/times=x');
edit_text(view_id: 'sqht', class_name: 'TFixedPoint', width: vEditSizeWidth);
}
group(placement: place_row, child_horizontal: align_left) {
popup(view_id: 'sqrp', resource_id: 4020);
edit_text(view_id: 'sqrt', class_name: 'TFixedPoint', width: vEditFrameRateWidth);
static_text(name: '$$$/ControlsStrings/FramesPerSecond=fps');
}
}
}
}
}
group(placement: place_row, child_vertical: align_top) {
cluster(name: '$$$/Dialog/Video/RenderVideo/Range=Range', placement: place_column, spacing: gLargeSpace) {
group(placement: place_offscreen) {
group(view_id: 'advS', placement: place_column, child_vertical: align_center) {
radio(view_id: 'afAd', name: '$$$/Dialog/Video/RenderVideo/AllFrames=&All Frames');
group(placement: place_row) {
radio(view_id: 'frng', name: '$$$/Dialog/Video/RenderVideo/InFrame=&Start Frame:');
edit_text(view_id: 'infr', class_name: 'TFixedPoint', width: vEditFrameWidth);
static_text(name: '$$$/Dialog/Video/RenderVideo/OutFrame=End Frame:');
edit_text(view_id: 'outf', class_name: 'TFixedPoint', width: vEditFrameWidth);
}
group(placement: place_row) {
radio(name: '$$$/Dialog/Video/RenderVideo/CurrentlySelectedFramesLabel=&Work Area:', view_id: 'sfAd');
static_text(view_id: 'slrg', name: '$$$/Dialog/Video/RenderVideo/FrameRangePlaceholder=12345 to 54321');
}
}
group(view_id: 'smpS', placement: place_column, vertical: align_fill, child_vertical: align_center) {
radio(view_id: 'afSm', name: '$$$/Dialog/Video/RenderVideo/AllFrames2=A&ll Frames');
vertical_spacer(spacer_type: 'Radio', view_id: 'dmmy', name: '$$$/Dialog/Video/RenderVideo/InFrame=&Start Frame:');
radio(name: '$$$/Dialog/Video/RenderVideo/CurrentlySelectedFrames2=Currently S&elected Frames', view_id: 'sfSm');
}
}
}
cluster(name: '$$$/Dialog/Video/RenderVideo/RenderOptions=Render Options', placement: place_column, spacing: 4) {
group(placement: place_row) {
popup(view_id: 'alph', resource_id: 4012);
control(view_id: 'ptch', class_name: 'TColorPatch', width: vPatchWidth, vertical: align_fill, top_outset: 1, bottom_outset: 3, frame: gIconButtonBevelFrame);
}
}
}
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated