Commits

Christian Specht committed 410d029 Draft

replace links in titlebar by icons

  • Participants
  • Parent commits fe77fbd

Comments (0)

Files changed (7)

File img/WindowsIcons/appbar.question.png

Added
New image

File img/WindowsIcons/appbar.refresh.png

Added
New image

File img/WindowsIcons/appbar.settings.png

Added
New image

File img/WindowsIcons/license.txt

+Read the license:
+http://creativecommons.org/licenses/by/3.0/ *
+
+Basicaly, use it anyway you want but include this license file in the source if your project is open source. Nothing is needed in the front facing project (UNLESS you are using any of the icons listed below). Commercial use is not only allowed but encouraged. This pack was made to promote consistency in applications.
+
+Creator
+- Austin Andrews (@templarian)
+
+Contributor**
+- Oren Nachman
+  - appbar.chevron.down
+  - appbar.chevron.up
+  - appbar.chevron.left
+  - appbar.chevron.right
+
+Attribution***
+- Kris Vandermotten (@kvandermotten)
+  - appbar.medical.pulse
+- Constantin Kichinsky (@kichinsky)
+  - appbar.currency.rubles
+  - appbar.currency.grivna
+- Massimo Savazzi (@msavazzi)
+  - List of missing exported icons
+- Proletkult Graphik, from The Noun Project
+  - appbar.draw.pen (inspired)
+- Olivier Guin, from The Noun Project
+  - appbar.draw.marker
+- Gibran Bisio, from The Noun Project
+  - appbar.draw.bucket
+Andrew Forrester, from The Noun Project
+  - appbar.fingerprint
+
+** Developers and designers that emailed Templarian the source .design icons to be added into the package. PNGs also accepted, but may take longer to be added.
+*** Icons I've copied so closely you want to attribute them and are also under the CC license.
+
+Contact
+- http://templarian.com/
+- admin[@]templarian[.]com
+
+* Does not apply to copyrighted logos
+- Skype
+- Facebook
+- Twitter
+- etc...

File readme-full.md

 - [Autofac](http://autofac.org)
 - [Hid Library](https://github.com/mikeobrien/HidLibrary)
 - [MahApps.Metro](http://mahapps.com/MahApps.Metro/)
+- [Modern UI Icons](http://modernuiicons.com/)
 - [Moq](http://code.google.com/p/moq/)
 - [MSBuild Community Tasks](https://github.com/loresoft/msbuildtasks)
 - [NuGet](http://nuget.codeplex.com/)

File src/MissileSharp.Launcher/MissileSharp.Launcher.csproj

     <Resource Include="..\..\img\logo64x64.png">
       <Link>Views\logo64x64.png</Link>
     </Resource>
+    <Resource Include="..\..\img\WindowsIcons\appbar.question.png">
+      <Link>Views\appbar.question.png</Link>
+    </Resource>
+    <Resource Include="..\..\img\WindowsIcons\appbar.refresh.png">
+      <Link>Views\appbar.refresh.png</Link>
+    </Resource>
+    <Resource Include="..\..\img\WindowsIcons\appbar.settings.png">
+      <Link>Views\appbar.settings.png</Link>
+    </Resource>
     <Content Include="..\MissileSharp.Demo\settings.txt">
       <Link>settings.txt</Link>
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>

File src/MissileSharp.Launcher/Views/MainWindow.xaml

         ShowIconOnTitleBar="true">
     <Controls:MetroWindow.WindowCommands>
         <Controls:WindowCommands>
-            <Button Content="ABOUT" Command="{Binding AboutCommand}" />
-            <Button Content="EDIT SETTINGS" Command="{Binding EditSettingsCommand}" />
-            <Button Content="RELOAD SETTINGS" Command="{Binding ReloadSettingsCommand}" />
+            <Button Command="{Binding EditSettingsCommand}">
+                <Image Source="appbar.settings.png" />
+            </Button>
+            <Button Command="{Binding ReloadSettingsCommand}">
+                <Image Source="appbar.refresh.png" />
+            </Button>
+            <Button Command="{Binding AboutCommand}">
+                <Image Source="appbar.question.png" />
+            </Button>
         </Controls:WindowCommands>
     </Controls:MetroWindow.WindowCommands>
     <Grid>