Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / RibbonSimple / src / Ribbon.xml
diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/RibbonSimple/src/Ribbon.xml b/research/transmission_spectroscopy/TOF/Win32++/samples/RibbonSimple/src/Ribbon.xml
new file mode 100644 (file)
index 0000000..6796a7c
--- /dev/null
@@ -0,0 +1,178 @@
+<?xml version='1.0' encoding='utf-8'?>\r
+<Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>\r
+  <!-- Commands section -->\r
+  <Application.Commands>\r
+\r
+    <Command Name="cmdTab1"\r
+             Comment="These comments are optional and are inserted into the header file."\r
+             Symbol="IDC_CMD_TAB1" \r
+             Id="10000" >\r
+      <Command.LabelTitle>\r
+        <String Id ="200">Tab 1</String>\r
+      </Command.LabelTitle>\r
+    </Command>\r
+    <!-- Optional Symbol and Id properties are not defined for the following commands.\r
+    A Symbol same as the name of the command \r
+    and a valid Id for this command will be automatically generated. -->\r
+    <Command Name="cmdGroup1">\r
+      <!-- This image is used for when the group shrinks into a "pop-up".  The other groups\r
+      in the markup don't display as pop-ups, so we don't specify an image for them.  -->\r
+      <Command.SmallImages>\r
+        <Image Id="201">res/Button_Image.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdGroup2"/>\r
+    <Command Name="cmdGroup3"/>\r
+    <Command Name="cmdGroup4"/>\r
+    <Command Name="cmdButton1">\r
+      <Command.LabelTitle>\r
+        <String Id ="210">Button 1</String>\r
+      </Command.LabelTitle>\r
+      <!-- Providing both large and small images isn't required, but it usually improves the look\r
+      of your application if the control size changes. -->\r
+      <Command.LargeImages>\r
+        <Image Id="211">res/AddTableL.bmp</Image>\r
+      </Command.LargeImages>\r
+      <Command.SmallImages>\r
+        <Image Id="212">res/AddTableS.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdButton2">\r
+      <Command.LabelTitle>\r
+        <String Id ="220">Button 2</String>\r
+      </Command.LabelTitle>\r
+      <Command.LargeImages>\r
+        <Image Id="221">res/DeleteTableL.bmp</Image>\r
+      </Command.LargeImages>\r
+      <Command.SmallImages>\r
+        <Image Id="222">res/DeleteTableS.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdButton3">\r
+      <Command.LabelTitle>\r
+        <String Id ="230">Button 3</String>\r
+      </Command.LabelTitle>\r
+      <Command.LargeImages>\r
+        <Image Id="231">res/PrintRelationshipsL.bmp</Image>\r
+      </Command.LargeImages>\r
+      <Command.SmallImages>\r
+        <Image Id="232">res/PrintRelationshipsS.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdButton4">\r
+      <Command.LabelTitle>\r
+        <String Id ="240">Button 4</String>\r
+      </Command.LabelTitle>\r
+      <Command.LargeImages>\r
+        <Image Id="241">res/AddTableL.bmp</Image>\r
+      </Command.LargeImages>\r
+      <Command.SmallImages>\r
+        <Image Id="242">res/AddTableS.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdButton5">\r
+      <Command.LabelTitle>\r
+        <String Id ="250">Button 5</String>\r
+      </Command.LabelTitle>\r
+      <Command.SmallImages>\r
+        <Image Id="251">res/Cut.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdButton6"/>\r
+    <Command Name="cmdToggleButton1">\r
+      <Command.LabelTitle>\r
+        <String Id ="260">ToggleButton 1</String>\r
+      </Command.LabelTitle>\r
+      <Command.LargeImages>\r
+        <Image Id="261">res/AddTableL.bmp</Image>\r
+      </Command.LargeImages>\r
+      <Command.SmallImages>\r
+        <Image Id="262">res/AddTableS.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdToggleButton2">\r
+      <Command.LabelTitle>\r
+        <String Id ="270">ToggleButton 2</String>\r
+      </Command.LabelTitle>\r
+      <Command.SmallImages>\r
+        <Image Id="271">res/Copy.bmp</Image>\r
+      </Command.SmallImages>\r
+    </Command>\r
+    <Command Name="cmdQat"/>\r
+    <Command Name="cmdFileMenu"/>\r
+    <Command Name="cmdMRUList">\r
+      <Command.LabelTitle>\r
+        <String Id ="280">MRU List</String>\r
+      </Command.LabelTitle>\r
+    </Command>\r
+    <Command Name="cmdExit" Symbol="IDC_CMD_EXIT">\r
+      <Command.LabelTitle>\r
+        <String Id ="290">Exit Button</String>\r
+      </Command.LabelTitle>\r
+      <Command.LargeImages>\r
+        <Image Id ="291">res/ExitL.bmp</Image>\r
+      </Command.LargeImages>\r
+    </Command>\r
+  </Application.Commands>\r
+  <Application.Views>\r
+    <Ribbon>\r
+      <Ribbon.ApplicationMenu>\r
+        <ApplicationMenu CommandName="cmdFileMenu">\r
+          <ApplicationMenu.RecentItems>\r
+            <RecentItems CommandName="cmdMRUList" MaxCount="1" />\r
+          </ApplicationMenu.RecentItems>\r
+          <MenuGroup Class="MajorItems">\r
+            <Button CommandName="cmdExit" />\r
+          </MenuGroup>\r
+        </ApplicationMenu>\r
+      </Ribbon.ApplicationMenu>\r
+      <Ribbon.Tabs>\r
+        <Tab CommandName="cmdTab1">\r
+          <Tab.ScalingPolicy>\r
+            <ScalingPolicy>\r
+              <ScalingPolicy.IdealSizes>\r
+                <!-- This describes the maximum size of each group in the tab. -->\r
+                <Scale Group="cmdGroup1" Size="Large" />\r
+                <Scale Group="cmdGroup2" Size="Large" />\r
+                <Scale Group="cmdGroup3" Size="Large" />\r
+                <Scale Group="cmdGroup4" Size="Large" />\r
+              </ScalingPolicy.IdealSizes>\r
+              <!-- This describes the order and how the groups shrink when the window is\r
+              resized. -->\r
+              <Scale Group="cmdGroup3" Size="Medium" />\r
+              <Scale Group="cmdGroup4" Size="Medium" />\r
+              <Scale Group="cmdGroup1" Size="Popup" />\r
+              <Scale Group="cmdGroup4" Size="Small" />\r
+              <Scale Group="cmdGroup2" Size="Medium" />\r
+            </ScalingPolicy>\r
+          </Tab.ScalingPolicy>\r
+          <Group CommandName="cmdGroup1" SizeDefinition="OneButton">\r
+            <Button CommandName="cmdButton1" />\r
+          </Group>\r
+          <Group CommandName="cmdGroup2" SizeDefinition="TwoButtons">\r
+            <Button CommandName="cmdButton2" />\r
+            <Button CommandName="cmdButton3" />\r
+          </Group>\r
+          <Group CommandName="cmdGroup3" SizeDefinition="ThreeButtons">\r
+            <!-- You can put the same commands into multiple groups. -->\r
+            <Button CommandName="cmdButton1" />\r
+            <Button CommandName="cmdButton2" />\r
+            <Button CommandName="cmdButton3" />\r
+          </Group>\r
+          <!-- The SizeDefinitions describe how many buttons are in the group and how the\r
+          individual elements inside the group shrink.  -->\r
+          <Group CommandName="cmdGroup4" SizeDefinition="FiveOrSixButtons">\r
+            <Button CommandName="cmdButton3" />\r
+            <Button CommandName="cmdButton4" />\r
+            <ToggleButton CommandName="cmdToggleButton1" />\r
+            <Button CommandName="cmdButton5" />\r
+            <ToggleButton CommandName="cmdToggleButton2" />\r
+          </Group>\r
+        </Tab>\r
+      </Ribbon.Tabs>\r
+      <Ribbon.QuickAccessToolbar>\r
+        <QuickAccessToolbar CommandName="cmdQat" />\r
+      </Ribbon.QuickAccessToolbar>\r
+    </Ribbon>\r
+  </Application.Views>\r
+</Application>
\ No newline at end of file

UCC git Repository :: git.ucc.asn.au