mac: add @2x tutorial slides, #1072
|
@ -1,6 +1,8 @@
|
|||
dist_pixmaps_DATA = \
|
||||
side-splash.png \
|
||||
user-icon-default.png \
|
||||
tutorial-slide-1.png\
|
||||
tutorial-slide-2.png \
|
||||
about.png
|
||||
|
||||
pixmapsdir = $(pkgdatadir)/pixmaps/
|
||||
|
|
6586
SparkleShare/Common/Pixmaps/Sources/tutorial-slides.svg
Normal file
After Width: | Height: | Size: 2.5 MiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 186 KiB |
BIN
SparkleShare/Common/Pixmaps/tutorial-slide-1.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
SparkleShare/Common/Pixmaps/tutorial-slide-1@2x.png
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
SparkleShare/Common/Pixmaps/tutorial-slide-2.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
SparkleShare/Common/Pixmaps/tutorial-slide-2@2x.png
Normal file
After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.6 KiB |
|
@ -1,8 +1,6 @@
|
|||
SUBDIRS = icons
|
||||
|
||||
dist_pixmaps_DATA = \
|
||||
tutorial-slide-1.png \
|
||||
tutorial-slide-2.png \
|
||||
tutorial-slide-3.png
|
||||
|
||||
pixmapsdir = $(pkgdatadir)/pixmaps/
|
||||
|
|
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 711 B After Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 936 B After Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 329 B |
|
@ -40,10 +40,7 @@ namespace SparkleShare {
|
|||
private NSButton hidden_close_button;
|
||||
|
||||
|
||||
public SparkleEventLog (IntPtr handle) : base (handle)
|
||||
{
|
||||
}
|
||||
|
||||
public SparkleEventLog (IntPtr handle) : base (handle) { }
|
||||
|
||||
public SparkleEventLog () : base ()
|
||||
{
|
||||
|
@ -283,8 +280,8 @@ namespace SparkleShare {
|
|||
folders = Controller.Folders;
|
||||
|
||||
this.popup_button.Cell.ControlSize = NSControlSize.Small;
|
||||
this.popup_button.Font = NSFontManager.SharedFontManager.FontWithFamily
|
||||
("Lucida Grande", NSFontTraitMask.Condensed, 0, NSFont.SmallSystemFontSize);
|
||||
this.popup_button.Font = NSFontManager.SharedFontManager.FontWithFamily (
|
||||
"Lucida Grande", NSFontTraitMask.Condensed, 0, NSFont.SmallSystemFontSize);
|
||||
|
||||
this.popup_button.RemoveAllItems ();
|
||||
|
||||
|
|
|
@ -812,12 +812,12 @@ namespace SparkleShare {
|
|||
|
||||
if (File.Exists (slide_image_path)) {
|
||||
SlideImage = new NSImage (slide_image_path) {
|
||||
Size = new SizeF (350, 200)
|
||||
Size = new SizeF (324, 200)
|
||||
};
|
||||
|
||||
SlideImageView = new NSImageView () {
|
||||
Image = SlideImage,
|
||||
Frame = new RectangleF (215, Frame.Height - 350, 350, 200)
|
||||
Frame = new RectangleF (228, Frame.Height - 350, 324, 200)
|
||||
};
|
||||
|
||||
ContentView.AddSubview (SlideImageView);
|
||||
|
@ -1061,13 +1061,11 @@ namespace SparkleShare {
|
|||
|
||||
public class SparkleTextFieldDelegate : NSTextFieldDelegate {
|
||||
|
||||
public event StringValueChangedHandler StringValueChanged;
|
||||
public delegate void StringValueChangedHandler ();
|
||||
public event Action StringValueChanged = delegate { };
|
||||
|
||||
|
||||
public override void Changed (NSNotification notification)
|
||||
{
|
||||
if (StringValueChanged != null)
|
||||
StringValueChanged ();
|
||||
}
|
||||
}
|
||||
|
@ -1075,13 +1073,11 @@ namespace SparkleShare {
|
|||
|
||||
public class SparkleTableViewDelegate : NSTableViewDelegate {
|
||||
|
||||
public event SelectionChangedHandler SelectionChanged;
|
||||
public delegate void SelectionChangedHandler ();
|
||||
public event Action SelectionChanged = delegate { };
|
||||
|
||||
|
||||
public override void SelectionDidChange (NSNotification notification)
|
||||
{
|
||||
if (SelectionChanged != null)
|
||||
SelectionChanged ();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,9 +109,6 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Info.plist" />
|
||||
<None Include="..\Common\Pixmaps\side-splash%402x.png">
|
||||
<Link>Pixmaps\side-splash%402x.png</Link>
|
||||
</None>
|
||||
<None Include="..\Common\Plugins\bitbucket%402x.png">
|
||||
<Link>Plugins\bitbucket%402x.png</Link>
|
||||
</None>
|
||||
|
@ -127,19 +124,6 @@
|
|||
<None Include="..\Common\Plugins\ssnet%402x.png">
|
||||
<Link>Plugins\ssnet%402x.png</Link>
|
||||
</None>
|
||||
<None Include="Pixmaps\process-syncing-active%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-down-active%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-down%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-error-active%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-error%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-idle-active%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-idle%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-up-active%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing-up%402x.png" />
|
||||
<None Include="Pixmaps\process-syncing%402x.png" />
|
||||
<None Include="..\Common\Pixmaps\about%402x.png">
|
||||
<Link>Pixmaps\about%402x.png</Link>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
|
||||
|
@ -180,12 +164,6 @@
|
|||
<Content Include="..\Common\HTML\jquery.js">
|
||||
<Link>HTML\jquery.js</Link>
|
||||
</Content>
|
||||
<Content Include="Pixmaps\tutorial-slide-1.png">
|
||||
<Link>Pixmaps\tutorial-slide-1.png</Link>
|
||||
</Content>
|
||||
<Content Include="Pixmaps\tutorial-slide-2.png">
|
||||
<Link>Pixmaps\tutorial-slide-2.png</Link>
|
||||
</Content>
|
||||
<Content Include="Pixmaps\tutorial-slide-3.png">
|
||||
<Link>Pixmaps\tutorial-slide-3.png</Link>
|
||||
</Content>
|
||||
|
@ -232,6 +210,34 @@
|
|||
<Content Include="..\Common\Pixmaps\user-icon-default.png">
|
||||
<Link>Pixmaps\user-icon-default.png</Link>
|
||||
</Content>
|
||||
<Content Include="..\Common\Pixmaps\side-splash%402x.png">
|
||||
<Link>Pixmaps\side-splash%402x.png</Link>
|
||||
</Content>
|
||||
<Content Include="Pixmaps\process-syncing-active%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-down-active%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-down%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-error-active%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-error%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-idle-active%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-idle%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-up-active%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing-up%402x.png" />
|
||||
<Content Include="Pixmaps\process-syncing%402x.png" />
|
||||
<Content Include="..\Common\Pixmaps\about%402x.png">
|
||||
<Link>Pixmaps\about%402x.png</Link>
|
||||
</Content>
|
||||
<Content Include="..\Common\Pixmaps\tutorial-slide-1.png">
|
||||
<Link>Pixmaps\tutorial-slide-1.png</Link>
|
||||
</Content>
|
||||
<Content Include="..\Common\Pixmaps\tutorial-slide-1%402x.png">
|
||||
<Link>Pixmaps\tutorial-slide-1%402x.png</Link>
|
||||
</Content>
|
||||
<Content Include="..\Common\Pixmaps\tutorial-slide-2.png">
|
||||
<Link>Pixmaps\tutorial-slide-2.png</Link>
|
||||
</Content>
|
||||
<Content Include="..\Common\Pixmaps\tutorial-slide-2%402x.png">
|
||||
<Link>Pixmaps\tutorial-slide-2%402x.png</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Pixmaps\" />
|
||||
|
|