Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
v_panl_auto_String = '$$$/Dialog/Pencil/AutoErase=Auto Erase';
v_fade_fbox_String = '$$$/Dialog/Pencil/Fade=Fade:';
v_fade_ftxt_String = '$$$/Dialog/Pencil/Steps=steps to:';
v_styl_opac_String = '$$$/Dialog/Pencil/Opacity=Opacity';
v_styl_colr_String = '$$$/Dialog/Pencil/Color=Color';
mFullBrushMode = 801;
font = static_small_font;
view(class_name: 'TPencilOptions', view_id: 'panl', width: gOptionsPanelWidth, height: gOptionsPanelHeight, placement: place_row, child_vertical: align_center, margin_width: gOptionsMarginWidth, margin_height: gOptionsMarginHeight, spacing: gGap) {
group(spacing: gSmallGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/PaintTools/ToolTips/ClickPaintingBrush=Click to open the Brush Preset picker') {
view(class_name: 'TToolBrushPreview', view_id: 'bprv', width: gBrushPreviewWidth, height: gBrushPreviewHeight);
}
view(class_name: gIconButtonClass, spacing: 0, margin: 1, horizontal: align_right) {
group(spacing: 0, margin: 1, frame: gIconButtonOtherButtonFrame) {
icon_button(data_type: 'int32', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, view_id: 'palt', sticky: false, tooltip: '$$$/TextOptions/ToolTips/ToggleBrushStyle=Toggle the Brush Settings panel', initial_value: 0, icon_root_name: 'BrushPanel');
}
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
control(class_name: 'TBlendReadout', placement: place_row, view_id: 'blen', enabled: false, child_vertical: align_center, tooltip: '$$$/PaintTools/ToolTips/BlendingReadout=') {
popup(resource_id: mFullBrushMode, view_id: 'bpop', width: gBlendPopupFixedWidth, tooltip: '$$$/PaintTools/ToolTips/BlendingModePopup=Painting Mode');
group(spacing: gGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/PaintTools/ToolTips/Opacity=Set opacity for stroke') {
static_text(view_id: 'stit', class_name: 'THotText', horizontal: align_right, name: gSliderLabelOpacity, width: gSliderLabelWidth);
popup_edit_slider(view_id: 'pusl', placement: place_row, edit_class_name: 'TUnitsFixedPoint', edit_display_format: gOpacityEditFormat, edit_view_id: 'cell', slider_view_id: 'tbib');
}
view(class_name: gIconButtonClass, spacing: 0, margin: 1) {
group(spacing: 0, margin: 1, frame: gIconButtonOtherButtonFrame) {
icon_button(class_name: 'TPunchButton', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, view_id: 'oPrs', tooltip: '$$$/BrushOptions/ToolTips/PressureOpacity=Always use Pressure for Opacity. When off, Brush Preset controls pressure', initial_value: 0, icon_root_name: 'ToolPenPressureOpacity');
}
}
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
control(view_id: 'smth', class_name: 'TSliderReadout', spacing: gSmallGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/PaintTools/ToolTips/Smooth=Set smoothing for stroke^r^nUse higher values to reduce the shakiness of brush strokes') {
static_text(view_id: 'stit', class_name: 'THotText', horizontal: align_right, name: gSliderLabelSmooth);
popup_edit_slider(view_id: 'pusl', placement: place_row, edit_class_name: 'TUnitsFixedPoint', edit_display_format: gToolsSmoothFormat, edit_view_id: 'cell', slider_view_id: 'tbib');
}
view(view_id: 'smop', vertical: align_center, class_name: 'TFlyoutIconButton', placement: place_row, spacing: gSmallGap, tooltip: '$$$/PaintTools/ToolTips/SmoothSettingsFlyout=Set additional smoothing options') {
view(class_name: 'TCustomDrawFlyoutControl', view_id: 'gfly', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, vertical: align_center);
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
group(spacing: gSmallGap, placement: place_row, child_vertical: align_center, tooltip: '$$$/BrushOptions/ToolTips/Angle=Set the brush angle') {
event_image(icon_root_name: 'InfoRotate', view_id: 'dumR', width: 16, height: 16, reset_edit_value_on_double_click: 0);
vAngleEditBoxMaxDigits = 4;
edit_text(view_id: 'angl', class_name: 'TUnitsFixedPoint', max_digits: vAngleEditBoxMaxDigits, tooltip: '$$$/BrushOptions/ToolTips/Angle=Set the brush angle');
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
check_box(view_id: 'auto', class_name: 'TMiniCheckBox', name: v_panl_auto_String, alternate_icon: 'BackgroundOverColor', tooltip: '$$$/PaintTools/ToolTips/BGoverFG=Draws background color over foreground colors');
view(class_name: gIconButtonClass, spacing: 0, margin: 1) {
group(spacing: 0, margin: 1, frame: gIconButtonOtherButtonFrame) {
icon_button(class_name: 'TPunchButton', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, view_id: 'sPrs', tooltip: '$$$/BrushOptions/ToolTips/Pressure=Always use Pressure for Size. When off, Brush Preset controls pressure', initial_value: 0, icon_root_name: 'ToolPenPressure');
}
}
icon_button(class_name: 'TPunchButton', width: gToolOptionsIconWidth, height: gToolOptionsIconHeight, view_id: 'symm', tooltip: '$$$/BrushOptions/ToolTips/SymmetryPopup=Set symmetry options for Painting', initial_value: 0, icon_root_name: 'PaintSymmetryOptions');
}
// Footer - Copyright 2023 Adobe Systems Incorporated