Skip to content

Instantly share code, notes, and snippets.

@Cellane
Created April 25, 2013 08:04
Show Gist options
  • Save Cellane/5458229 to your computer and use it in GitHub Desktop.
Save Cellane/5458229 to your computer and use it in GitHub Desktop.
<?xml version='1.0' encoding='utf-8'?>
<Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
<Application.Commands>
<Command Name="ApplicationMenu" Id="1000" />
<Command Name="ButtonExit" Id="1001" LabelTitle="Exit" LabelDescription="Exit Description" TooltipTitle="Exit" TooltipDescription="Exit application.">
<Command.LargeImages>
<Image>Resources/exit-32.bmp</Image>
</Command.LargeImages>
<Command.SmallImages>
<Image>Resources/exit-16.bmp</Image>
</Command.SmallImages>
</Command>
<Command Name="ButtonHelp" Id="1999" />
<Command Name="TabMain" Id="2000" LabelTitle="Main" />
<Command Name="GroupPolynomialCurves" Id="2100" LabelTitle="Polynomial Curves" />
<Command Name="ButtonInterpolation" Id="2101" LabelTitle="Interpolation Curve">
<Command.LargeImages>
<Image>Resources/interpolation.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="GroupParametricCurves" Id="2200" LabelTitle="Parametric Curves" />
<Command Name="ButtonBezierCubic" Id="2201" LabelTitle="Bézier's  Cubic ">
<Command.LargeImages>
<Image>Resources/bezier-cubic.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="ButtonBezier" Id="2202" LabelTitle="Bézier's  Curve ">
<Command.LargeImages>
<Image>Resources/bezier.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="ButtonCoons" Id="2203" LabelTitle="Coons'  Curve ">
<Command.LargeImages>
<Image>Resources/coons.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="ButtonFergusonCubic" Id="2204" LabelTitle="Ferguson's     Cubic    ">
<Command.LargeImages>
<Image>Resources/ferguson-cubic.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="GroupSettings" LabelTitle="Settings" />
<Command Name="SpinnerSample" Id="2301" LabelTitle="Sample size:" />
</Application.Commands>
<Application.Views>
<Ribbon>
<Ribbon.ApplicationMenu>
<ApplicationMenu CommandName="ApplicationMenu">
<MenuGroup>
<Button CommandName='ButtonExit' />
</MenuGroup>
</ApplicationMenu>
</Ribbon.ApplicationMenu>
<Ribbon.HelpButton>
<HelpButton CommandName="ButtonHelp" />
</Ribbon.HelpButton>
<Ribbon.Tabs>
<Tab CommandName="TabMain">
<Tab.ScalingPolicy>
<ScalingPolicy>
<ScalingPolicy.IdealSizes>
<Scale Group="GroupPolynomialCurves" Size="Large" />
<Scale Group="GroupParametricCurves" Size="Large" />
<Scale Group="GroupSettings" Size="Large" />
</ScalingPolicy.IdealSizes>
</ScalingPolicy>
</Tab.ScalingPolicy>
<Group CommandName="GroupPolynomialCurves" SizeDefinition="OneButton">
<Button CommandName="ButtonInterpolation" />
</Group>
<Group CommandName="GroupParametricCurves" SizeDefinition="FourButtons">
<Button CommandName="ButtonBezierCubic" />
<Button CommandName="ButtonBezier" />
<Button CommandName="ButtonCoons" />
<Button CommandName="ButtonFergusonCubic" />
</Group>
<Group CommandName="GroupSettings">
<Spinner CommandName="SpinnerSample" />
</Group>
</Tab>
</Ribbon.Tabs>
</Ribbon>
</Application.Views>
</Application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment