Mini Kabibi Habibi
layout selection_bar {
interface:
includeGenerate: true;
includeRemove: true;
view context_bar(name: '$$$/CxUI/Selection/Bar/Title=Selection Bar') {
optional(bind: @includeGenerate) {
context_button(identifier: 'generate',
image: 'CxUI_GenerativeFill',
name: '$$$/CxUI/Selection/Bar/Button/GenerateLabel=Generative Fill',
alt:'$$$/CxUI/Selection/Bar/Button/Generate/Tooltip=Modify existing content, extend images, and generate objects, backgrounds and scenes.');
}
optional(bind: @includeRemove) {
context_button(identifier: 'remove',
image: 'Remove',
name: '$$$/CxUI/Selection/Bar/Button/RemoveLabel=Remove');
}
context_button(identifier: 'modify',
image: 'Drover_SelectAndMask',
variant: 'action',
is_quiet: true,
alt: '$$$/CxUI/Selection/Bar/Button/ModifySelection/Tooltip=Modify selection');
context_button(identifier: 'invert',
image: 'Drover_Inverse',
variant: 'action',
is_quiet: true,
alt: '$$$/CxUI/Selection/Bar/Button/Invert/Tooltip=Invert selection');
context_button(identifier: 'mask',
image: 'Drover_Mask',
variant: 'action',
is_quiet: true,
alt: '$$$/CxUI/Selection/Bar/Button/Mask/Tooltip=Create mask from selection');
context_button(identifier: 'fill',
image: 'Drover_Fill',
variant: 'action',
is_quiet: true,
alt: '$$$/CxUI/Selection/Bar/Button/Fill/Tooltip=Fill selection');
context_button(identifier: 'adjustment',
image: 'Drover_Adjustments',
variant: 'action',
is_quiet: true,
alt: '$$$/CxUI/Selection/Bar/Button/Adjustment/Tooltip=Create new adjustment layer');
context_button(identifier: 'more',
image: 'More_Options',
variant: 'action',
is_quiet: true,
alt: '$$$/CxUI/Bar/Common/Button/More/Tooltip=More options');
context_button(identifier: 'deselect',
name: '$$$/CxUI/Selection/Bar/Button/Deselect/Label=Deselect',
alt: '$$$/CxUI/Selection/Bar/Button/Deselect/Tooltip=Deselect');
}
}