Skip to content

Commit

Permalink
feat: FreakyZoomableImageView is here (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
FreakyAli authored May 31, 2024
1 parent 763949e commit 736227a
Show file tree
Hide file tree
Showing 16 changed files with 346 additions and 230 deletions.
17 changes: 10 additions & 7 deletions MAUI.FreakyControls/MAUI.FreakyControls/Maui.FreakyControls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<RootNamespace>Maui.FreakyControls</RootNamespace>
<AssemblyVersion>0.4.12</AssemblyVersion>
<AssemblyFileVersion>0.4.12</AssemblyFileVersion>
<Version>0.4.12-pre</Version>
<Version>0.4.12</Version>
<NeutralLanguage>en</NeutralLanguage>
<!--Version of C# to use -->
<PackageId>FreakyControls</PackageId>
Expand All @@ -25,9 +25,9 @@
<PackageIcon>maui_toolkit.png</PackageIcon>
<RepositoryUrl>https://github.com/FreakyAli/MAUI.FreakyControls</RepositoryUrl>
<PackageProjectUrl>https://github.com/FreakyAli/MAUI.FreakyControls</PackageProjectUrl>
<PackageTags>Maui dotnet.Maui .net-Maui FreakyControls CodeView OTP SwipeButton PinCodeView Switch AutoComplete JumpList Button Checkbox uikit Signature Radiobutton SignatureView Svg CircularImage TextInputLayout</PackageTags>
<PackageReleaseNotes>Bug fixes for Pincode and TextInputLayout</PackageReleaseNotes>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<PackageTags>Maui dotnet.Maui .net-Maui FreakyControls CodeView OTP SwipeButton PinCodeView Zoom ZoomableImage Switch AutoComplete JumpList Button Checkbox uikit Signature Radiobutton SignatureView Svg CircularImage TextInputLayout</PackageTags>
<PackageReleaseNotes>FreakyZoomableImageView is here!</PackageReleaseNotes>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<Copyright>Copyright 2023</Copyright>
<PackOnBuild>true</PackOnBuild>
<SynchReleaseVersion>false</SynchReleaseVersion>
Expand Down Expand Up @@ -55,12 +55,12 @@
<MauiCss Remove="Shared\FreakyPinView\**" />
<MauiXaml Remove="Shared\FreakyPinView\**" />
<None Remove="Shared\FreakyPinView\**" />
<None Remove="Shared\FreakyZoomableImage\" />
<None Remove="Shared\FreakySwipeButton\" />
<None Remove="Shared\FreakyCropView\" />
<None Remove="Shared\FreakyChip\" />
<None Remove="Shared\Constants\" />
<None Remove="Dotnet\" />
<None Remove="Shared\FreakyZoomableImageView\" />
</ItemGroup>
<ItemGroup>
<None Remove="Platforms\iOS\" />
Expand All @@ -81,7 +81,7 @@
<None Remove="Platforms\iOS\NativeControls\" />
<None Remove="Shared\FreakyTextInputLayout\" />
<None Include="maui_toolkit.png" Pack="true" Visible="false" PackagePath="" />
<None Include="readme.md" Pack="true" Visible="false" PackagePath="" />
<None Include="Readme.md" Pack="true" Visible="false" PackagePath="" />
<None Remove="Platforms\iOS\FreakyCircularImageHandler.ios" />
<None Remove="Shared\FreakyButton\" />
<None Remove="Shared\Helpers\" />
Expand Down Expand Up @@ -132,12 +132,12 @@
<Folder Include="Shared\FreakyCodeView\" />
<Folder Include="Shared\Behaviors\" />
<Folder Include="Shared\FreakySwitch\" />
<Folder Include="Shared\FreakyZoomableImage\" />
<Folder Include="Shared\FreakySwipeButton\" />
<Folder Include="Shared\FreakyCropView\" />
<Folder Include="Shared\FreakyChip\" />
<Folder Include="Shared\Constants\" />
<Folder Include="Dotnet\" />
<Folder Include="Shared\FreakyZoomableImageView\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.0" />
Expand All @@ -162,6 +162,9 @@
<ItemGroup>
<Compile Remove="Platforms\Android\FreakyAutoCompleteView.android.cs" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Platforms/Android/Resources/values/attrs.xml" />
</ItemGroup>
<ItemGroup>
<None Update="Platforms\Android\Resources\values\styles.xml">
<ExcludeFromCurrentConfiguration>false</ExcludeFromCurrentConfiguration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@
<attr name="clearLabelTextSize" format="dimension" />
<attr name="clearLabelTextColor" format="color" />
</declare-styleable>
<declare-styleable name='SKCanvasView'>
<attr name='ignorePixelScaling' format='boolean'/>
</declare-styleable>
</resources>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:tm="clr-namespace:Maui.FreakyEffects.TouchTracking;assembly=Maui.FreakyEffects"
x:Class="Maui.FreakyControls.FreakyZoomableView">
<ContentView.Effects>
<tm:TouchEffect Capture="True" TouchAction="OnTouch"/>
</ContentView.Effects>
<ContentView.GestureRecognizers>
<TapGestureRecognizer Tapped="DoubleTapped" NumberOfTapsRequired="2"/>
<PanGestureRecognizer PanUpdated="OnPanUpdated"/>
<PinchGestureRecognizer PinchUpdated="PinchUpdated"/>
</ContentView.GestureRecognizers>
</ContentView>
Loading

0 comments on commit 736227a

Please sign in to comment.