Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
font = static_small_font;
kZoomModeCluster = 2053989228;
kZoomModeIn = 2702;
kZoomModeOut = 2703;
vPixButtonWidth = zstring_width(zstring: '$$$/ZoomToolOptions/ActualPixelsXOne=100%');
vFitButtonWidth = zstring_width(zstring: '$$$/ZoomToolOptions/FitOnScreen=Fit Screen');
vFillButtonWidth = zstring_width(zstring: '$$$/ZoomToolOptions/FillScreen=Fill Screen');
view(class_name: 'TZoomToolOptions', view_id: 'panl', width: gOptionsPanelWidth, height: gOptionsPanelHeight, placement: place_row, spacing: gGap, child_vertical: align_center, margin_width: gOptionsMarginWidth, margin_height: gOptionsMarginHeight) {
view(view_id: kZoomModeCluster, class_name: 'TIconButtonCluster_int32', placement: place_row) {
group(placement: place_row, margin: gClusterMargin, frame: gClusterFrame, spacing: gSmallGap) {
icon_button(data_type: 'int32', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/ZoomTool/Tooltip/ZoomIn=Zoom In', initial_value: kZoomModeIn, icon_root_name: 'ZoomIn');
icon_button(data_type: 'int32', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, tooltip: '$$$/ZoomTool/Tooltip/ZoomOut=Zoom Out', initial_value: kZoomModeOut, icon_root_name: 'ZoomOut');
}
}
group(view_id: 'ckgp', placement: place_row, height: gOptionsPanelHeight) {
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
check_box(view_id: 'rsiz', class_name: 'TMiniCheckBox', name: '$$$/ZoomToolOptions/ResizeWindowsToFit=Resize Windows to Fit', alternate_icon: 'ScaleToFit', tooltip: '$$$/ZoomTool/Tooltip/ResizeWindowsToFit=Resize windows when zooming using the Zoom Tool');
check_box(view_id: 'gang', class_name: 'TMiniCheckBox', name: '$$$/ZoomToolOptions/ZoomAll=Zoom All Windows', alternate_icon: 'ZoomAllWindows', tooltip: '$$$/ZoomTool/Tooltip/ZoomAll=Zoom all open document windows when using the Zoom Tool');
check_box(view_id: 'scrZ', class_name: 'TMiniCheckBox', name: '$$$/ZoomToolOptions/ScrubbyZoom=Scrubby Zoom', alternate_icon: 'ScrubbyZoom', tooltip: '$$$/ZoomTool/Tooltip/ScrubbyZoom=Click and move left or right to scale using the Zoom Tool (OpenGL only)');
}
group(view_id: 'btgp', placement: place_row, height: gOptionsPanelHeight) {
button(dismiss: false, height: gSmallButtonHeight, name: '$$$/ZoomToolOptions/ActualPixelsXOne=100%', view_id: 'acpx', width: vPixButtonWidth, tooltip: '$$$/HandTool/Tooltip/ActualPixels=Zoom current window to 1:1');
button(dismiss: false, height: gSmallButtonHeight, name: '$$$/ZoomToolOptions/FitOnScreen=Fit Screen', view_id: 'ftos', width: vFitButtonWidth, tooltip: '$$$/HandTool/Tooltip/FitOnScreen=Zoom current window to screen size');
button(dismiss: false, height: gSmallButtonHeight, name: '$$$/ZoomToolOptions/FillScreen=Fill Screen', view_id: 'fsrn', width: vFillButtonWidth, tooltip: '$$$/HandTool/Tooltip/FillScreen=Zoom current window to fill the screen');
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated