mono/packages/media/cpp/src/win/ui_next/Ribbon.xml

177 lines
5.9 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
<Application.Commands>
<!-- Tab -->
<Command Name="cmdTabHome" Id="400">
<Command.LabelTitle>
<String Id="4001">Home</String>
</Command.LabelTitle>
</Command>
<!-- Groups -->
<Command Name="cmdGroupQueue" Id="401">
<Command.LabelTitle>
<String Id="4011">Queue</String>
</Command.LabelTitle>
</Command>
<Command Name="cmdGroupActions" Id="402">
<Command.LabelTitle>
<String Id="4021">Actions</String>
</Command.LabelTitle>
</Command>
<!-- Buttons -->
<Command Name="cmdAddFiles" Symbol="IDC_CMD_ADD_FILES" Id="302">
<Command.LabelTitle>
<String Id="3021">Add Files</String>
</Command.LabelTitle>
<Command.LargeImages>
<Image Id="3022">res/AddFilesL.bmp</Image>
</Command.LargeImages>
<Command.SmallImages>
<Image Id="3023">res/AddFilesS.bmp</Image>
</Command.SmallImages>
</Command>
<Command Name="cmdAddFolder" Symbol="IDC_CMD_ADD_FOLDER" Id="303">
<Command.LabelTitle>
<String Id="3031">Add Folder</String>
</Command.LabelTitle>
<Command.LargeImages>
<Image Id="3032">res/AddFolderL.bmp</Image>
</Command.LargeImages>
<Command.SmallImages>
<Image Id="3033">res/AddFolderS.bmp</Image>
</Command.SmallImages>
</Command>
<Command Name="cmdClear" Symbol="IDC_CMD_CLEAR" Id="301">
<Command.LabelTitle>
<String Id="3011">Clear</String>
</Command.LabelTitle>
<Command.LargeImages>
<Image Id="3012">res/ClearL.bmp</Image>
</Command.LargeImages>
<Command.SmallImages>
<Image Id="3013">res/ClearS.bmp</Image>
</Command.SmallImages>
</Command>
<Command Name="cmdResize" Symbol="IDC_CMD_RESIZE" Id="300">
<Command.LabelTitle>
<String Id="3001">Resize</String>
</Command.LabelTitle>
<Command.LargeImages>
<Image Id="3002">res/ResizeL.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="cmdExit" Symbol="IDC_CMD_EXIT" Id="304">
<Command.LabelTitle>
<String Id="3041">Exit</String>
</Command.LabelTitle>
</Command>
<Command Name="cmdAbout" Symbol="IDC_CMD_ABOUT" Id="305">
<Command.LabelTitle>
<String Id="3051">About</String>
</Command.LabelTitle>
</Command>
<!-- AI Transform tab -->
<Command Name="cmdTabAI" Id="410">
<Command.LabelTitle>
<String Id="4101">AI Transform</String>
</Command.LabelTitle>
</Command>
<Command Name="cmdGroupTransform" Id="411">
<Command.LabelTitle>
<String Id="4111">Transform</String>
</Command.LabelTitle>
</Command>
<Command Name="cmdTransform" Symbol="IDC_CMD_TRANSFORM" Id="310">
<Command.LabelTitle>
<String Id="3101">Transform</String>
</Command.LabelTitle>
<Command.LargeImages>
<Image Id="3102">res/TransformL.bmp</Image>
</Command.LargeImages>
<Command.SmallImages>
<Image Id="3103">res/TransformS.bmp</Image>
</Command.SmallImages>
</Command>
<!-- Misc -->
<Command Name="cmdAppMenu" Id="710" />
<Command Name="cmdHelp" Symbol="IDC_RIBBONHELP" Id="700" />
<Command Name="cmdQAT" Symbol="IDC_QAT" Id="701" />
<Command Name="cmdCustomizeQAT" Symbol="IDC_CUSTOMIZE_QAT" Id="702" />
</Application.Commands>
<Application.Views>
<Ribbon>
<Ribbon.ApplicationMenu>
<ApplicationMenu CommandName="cmdAppMenu">
<MenuGroup Class="MajorItems">
<Button CommandName="cmdAddFiles" />
<Button CommandName="cmdAddFolder" />
</MenuGroup>
<MenuGroup>
<Button CommandName="cmdAbout" />
</MenuGroup>
<MenuGroup>
<Button CommandName="cmdExit" />
</MenuGroup>
</ApplicationMenu>
</Ribbon.ApplicationMenu>
<Ribbon.Tabs>
<Tab CommandName="cmdTabHome">
<Tab.ScalingPolicy>
<ScalingPolicy>
<ScalingPolicy.IdealSizes>
<Scale Group="cmdGroupQueue" Size="Large" />
<Scale Group="cmdGroupActions" Size="Large" />
</ScalingPolicy.IdealSizes>
<Scale Group="cmdGroupQueue" Size="Medium" />
<Scale Group="cmdGroupActions" Size="Popup" />
</ScalingPolicy>
</Tab.ScalingPolicy>
<Group CommandName="cmdGroupQueue" SizeDefinition="ThreeButtons">
<Button CommandName="cmdAddFiles" />
<Button CommandName="cmdAddFolder" />
<Button CommandName="cmdClear" />
</Group>
<Group CommandName="cmdGroupActions" SizeDefinition="OneButton">
<Button CommandName="cmdResize" />
</Group>
</Tab>
<Tab CommandName="cmdTabAI">
<Tab.ScalingPolicy>
<ScalingPolicy>
<ScalingPolicy.IdealSizes>
<Scale Group="cmdGroupTransform" Size="Large" />
</ScalingPolicy.IdealSizes>
<Scale Group="cmdGroupTransform" Size="Popup" />
</ScalingPolicy>
</Tab.ScalingPolicy>
<Group CommandName="cmdGroupTransform" SizeDefinition="OneButton">
<Button CommandName="cmdTransform" />
</Group>
</Tab>
</Ribbon.Tabs>
<Ribbon.HelpButton>
<HelpButton CommandName="cmdHelp" />
</Ribbon.HelpButton>
<Ribbon.QuickAccessToolbar>
<QuickAccessToolbar CommandName="cmdQAT" CustomizeCommandName="cmdCustomizeQAT">
<QuickAccessToolbar.ApplicationDefaults>
<Button CommandName="cmdResize" ApplicationDefaults.IsChecked="true" />
</QuickAccessToolbar.ApplicationDefaults>
</QuickAccessToolbar>
</Ribbon.QuickAccessToolbar>
</Ribbon>
</Application.Views>
</Application>