@ -1,166 +0,0 @@
|
||||
<mxfile host="Electron" modified="2023-04-26T09:20:54.422Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.1.2 Chrome/106.0.5249.199 Electron/21.4.3 Safari/537.36" etag="HOY-pmsK_Fn-Df1bF7mx" version="21.1.2" type="device">
|
||||
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||
<mxGraphModel dx="1075" dy="518" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--0" value="Partition" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="40" y="40" width="160" height="210" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--1" value="nom : string
" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--2" value="id : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--3" value="auteur : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-2" value="complexite : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="104" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-3" value="description : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="130" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-4" value="instrument : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="156" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-5" value="son : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="182" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-15" value="Utilisateur" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="340" y="50" width="160" height="130" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-0" value="id : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="F1N5ZnOkq_SLJsnGEIhJ-15">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-16" value="favoris : List<Partition>" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" vertex="1">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-23" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" source="F1N5ZnOkq_SLJsnGEIhJ-24" target="F1N5ZnOkq_SLJsnGEIhJ-24" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="40" y="120" as="sourcePoint" />
|
||||
<mxPoint x="200" y="120" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-24" value="ajouter(partition : Partition)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" vertex="1">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-26" value="retirer(partition : Partition)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" vertex="1">
|
||||
<mxGeometry y="104" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-36" value="MetronomeInterface" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="640" y="250" width="160" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-40" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-49" value="lancer()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" vertex="1">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-51" value="arreter()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" vertex="1">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-50" value="regler()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" vertex="1">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-41" value="Trier" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="25" y="360" width="190" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-42" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-46" value="List<Partition> parNom()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" vertex="1">
|
||||
<mxGeometry y="26" width="190" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-47" value="List<Partition> parComplexite()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" vertex="1">
|
||||
<mxGeometry y="52" width="190" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-48" value="List<Partition> parInstrument()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" vertex="1">
|
||||
<mxGeometry y="78" width="190" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-43" value="ReglageTempo" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="390" y="380" width="160" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-44" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-43" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-45" value="valeur : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-43" vertex="1">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-16" value="augmenter(valeur : int)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="F1N5ZnOkq_SLJsnGEIhJ-43">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-17" value="reduire(valeur : int)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="F1N5ZnOkq_SLJsnGEIhJ-43">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-3" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.992;entryY=-0.062;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="F1N5ZnOkq_SLJsnGEIhJ-24" target="F1N5ZnOkq_SLJsnGEIhJ-2">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-5" value="<font style="font-size: 24px;">*</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="190" y="100" width="50" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-18" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="F1N5ZnOkq_SLJsnGEIhJ-41" target="zkfFHV4jXpPFQw0GAbJ--0">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="250" y="370" as="sourcePoint" />
|
||||
<mxPoint x="200" y="310" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-20" value="List&lt;Partition&gt; partitions" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="130" y="260" width="150" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-26" value="Metronome" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="390" y="246" width="160" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-27" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-28" value="lancer()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-29" value="arreter()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-30" value="regler()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-31" value="" style="endArrow=none;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.002;entryY=0.212;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="38y7BlAEXtyw1VBwOBFz-29" target="F1N5ZnOkq_SLJsnGEIhJ-51">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="710" y="300" as="sourcePoint" />
|
||||
<mxPoint x="760" y="250" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.002;entryY=0.16;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="F1N5ZnOkq_SLJsnGEIhJ-2" target="38y7BlAEXtyw1VBwOBFz-29">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="F1N5ZnOkq_SLJsnGEIhJ-2" target="38y7BlAEXtyw1VBwOBFz-16">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
@ -1 +0,0 @@
|
||||
<mxfile host="Electron" modified="2023-04-07T14:25:18.855Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/20.8.10 Chrome/106.0.5249.199 Electron/21.3.5 Safari/537.36" etag="EKfUrMKp8IX080VhHC3_" version="20.8.10" type="device"><diagram id="dKqOANvqvkoLY0ukcHwj" name="Page-1">7VtZc+I4EP41PGbKJ8cjRzIztcluarMzm+ybsIVRRrYoWQ4wv34l37LEEQKYVPECVkvG8tf9dbdaomOPw9VXChbzB+JD3LEMf9WxJx3LMg3X4F9Css4kXcvMBAFFfj6oEjyh37C4M5cmyIexNJARghlayEKPRBH0mCQDlJKlPGxGsPzUBQigInjyAFal/yKfzTNp3+pV8m8QBfPiyWZ3kPWEoBicv0k8Bz5Z1kT2bcceU0JYdhWuxhAL8ApcsvvuNvSWE6MwYvvccOv86BoPD9MpnYa/w9vo/q+5d+Pa2c+8AZzkb5zPlq0LCJZzxODTAniiveRq7tijOQsxb5n8EsSLDPgZWkH+rNEMYTwmmFAu8+EMJJj3jtTp5m/wBimDq5oon/5XSELI6JoPWck2sawpopDNa0oohSBXflD+VIUPv8ghegdcpqmgA31uL3mTUDYnAYkAvq2kI0qSyBfITAzeqsbcE7LIMXyFjK1z4wcJIzLCHDG6fs7vTxsvovHFLZqTVb1zss5bGyFngAaQbXvPHEDxcls1QyEGDL3JZNHBnt/6SBCfS6nRQf6c3DlY/YbiYpJQD+Y3VbobUgrWtWELMSDe/BjL0T/nbs/xZs9omE42g8qQSkgOty1HZd4F2xaM/KFwr7zpYRDHyMuEdwgXP324+dlX85PGO+7pzc+9ml/p/XpX86uNt80zmF+RDFR5yA+GMIoBgwlVLJPnUgtxmYR46DGRaYxEGoF43nYPphA/khgxRCI+ZEoYI2FtwBCjQHQw0khkSMIwiuC4zCS3xtD90xa3Ab+rpjG2JovpniqJcU6b8kUkgkfK9xrI2SpwrqVBrhQeP/8zFOx+EsTt08B8kZK+LksNTzR8FC9IhKZpV9O1YsxXMAKnHVCfBlm7a8kJjqNCaxrOGY3StFsJPyvEnquAw1svtZ4q9ohGFXqKkFVFqRcpSOlDlg/ieTrXrcEp8/nbgLL2jWJHT6I+pmBLoc4/FEHVt7dNjZ4jUUPjrfs6n3MyYvQU3J46Y7szHGDug5EIVsL/JPz9a/7n0lEtc5+2YC2rMhfgb4yD/I25w9/skSIfyyUN9nVJR0+sP0atgUKtexB5MIvn6ZtHIo6LSwwumV5uM2Xvq/QanJVe7awmC3rVyVVSbQe9zM6xV6BHoleL69aP2YC6ptsrchl+wj/CdOgwFJ0eCRdiRadbCrbOPFcObBrmmboide9k1HOvke1o1LM/KfXUbR05smXsGjBKIiIodlmksvry8tTRLE/Pmy322uSU2TkgnB1eUJ1i4v2SGLW1ELabRN19SWRdFom6ConyFauAgX9+j2JGkxCmxVPxLMuYoNkMeWLHM+VXKf+ThJdGMrNRfnasL64aurSVSfdEiLvtbK/qaHYAyXaFLSkmfWQDYzfj+p80bPUVxg1fScJSzpEknQdDNG36acF1Bt4IRRdXX7WMxnqsp6uvnrPob++oXF8okErdyFKB7LlnzARs3e5JF4QCjfycS70FV4yTOi6FgTQkqA7G1CDn0DAZWx5myC/YQFcDOMi3tjwOOKxvihV7XiHyfbxJmbIjPYbyjIHMAk0ttashgX0y5akR/aq8DcpzGumBrdl9O6/y1OBwVd4m5jUPMBlqandW5TlX5h2sPLvftvLUOvlVeZvcZk9WnnVG5bkTdvNsBMH4dZT8F/0BHm+Wd8Vpj89aiH/Xomqj/uorJi1K+5bYi8La+RdM26ZdI+bfWeEhwFWtj8FwQVQraDexdxpne5wzbghroWz3/MmHefKu0yfHKj5ogbQ+J5Wsfah02WVzx5HXW47RMqfca95waNLnmC3nDdeE/XDdaWLZkXTHm9U/xrKz19X/7uzb/wE=</diagram></mxfile>
|
@ -1,178 +0,0 @@
|
||||
<mxfile host="Electron" modified="2023-04-26T09:35:01.505Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.1.2 Chrome/106.0.5249.199 Electron/21.4.3 Safari/537.36" etag="YUOqR0L9-2vrrIqfiBgy" version="21.1.2" type="device">
|
||||
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||
<mxGraphModel dx="1075" dy="518" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--0" value="Partition" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="40" y="40" width="160" height="210" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--1" value="nom : string
" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--2" value="id : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zkfFHV4jXpPFQw0GAbJ--3" value="auteur : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-2" value="complexite : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="104" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-3" value="description : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="130" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-4" value="instrument : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="156" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-5" value="son : string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
|
||||
<mxGeometry y="182" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-15" value="Utilisateur" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="340" y="50" width="160" height="130" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-0" value="id : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="F1N5ZnOkq_SLJsnGEIhJ-15">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-16" value="favoris : List<Partition>" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" vertex="1">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-23" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" source="F1N5ZnOkq_SLJsnGEIhJ-24" target="F1N5ZnOkq_SLJsnGEIhJ-24" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="40" y="120" as="sourcePoint" />
|
||||
<mxPoint x="200" y="120" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-24" value="ajouter(partition : Partition)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" vertex="1">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-26" value="retirer(partition : Partition)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-15" vertex="1">
|
||||
<mxGeometry y="104" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-36" value="MetronomeInterface" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="620" y="250" width="160" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-40" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-49" value="lancer()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" vertex="1">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-51" value="arreter()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" vertex="1">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-50" value="regler()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-36" vertex="1">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-41" value="Trier" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="25" y="360" width="190" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-42" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-46" value="List<Partition> parNom()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" vertex="1">
|
||||
<mxGeometry y="26" width="190" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-47" value="List<Partition> parComplexite()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" vertex="1">
|
||||
<mxGeometry y="52" width="190" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-48" value="List<Partition> parInstrument()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="F1N5ZnOkq_SLJsnGEIhJ-41" vertex="1">
|
||||
<mxGeometry y="78" width="190" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-43" value="ReglageTempo" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||
<mxGeometry x="390" y="380" width="160" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-44" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-43" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="F1N5ZnOkq_SLJsnGEIhJ-45" value="valeur : int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="F1N5ZnOkq_SLJsnGEIhJ-43" vertex="1">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-16" value="augmenter(valeur : int)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="F1N5ZnOkq_SLJsnGEIhJ-43">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-17" value="reduire(valeur : int)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="F1N5ZnOkq_SLJsnGEIhJ-43">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-43" value="" style="endArrow=none;html=1;rounded=0;exitX=0.002;exitY=1.006;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1.002;entryY=1.006;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="F1N5ZnOkq_SLJsnGEIhJ-43" source="F1N5ZnOkq_SLJsnGEIhJ-45" target="F1N5ZnOkq_SLJsnGEIhJ-45">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="250" y="80" as="sourcePoint" />
|
||||
<mxPoint x="200" y="53" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-3" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.992;entryY=-0.062;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="F1N5ZnOkq_SLJsnGEIhJ-24" target="F1N5ZnOkq_SLJsnGEIhJ-2">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-5" value="<font style="font-size: 24px;">*</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="185" y="108" width="50" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-18" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="38y7BlAEXtyw1VBwOBFz-36" target="zkfFHV4jXpPFQw0GAbJ--0">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="250" y="370" as="sourcePoint" />
|
||||
<mxPoint x="200" y="310" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-20" value="List&lt;Partition&gt; partitions" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="115.63" y="260" width="150" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-26" value="Metronome" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="390" y="250" width="160" height="104" as="geometry">
|
||||
<mxRectangle x="220" y="120" width="160" height="26" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-27" value="" style="endArrow=none;html=1;rounded=0;exitX=0.01;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.98;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="1.599999999999909" y="25.610000000000014" as="sourcePoint" />
|
||||
<mxPoint x="156.79999999999995" y="25.610000000000014" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-28" value="lancer()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-29" value="arreter()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry y="52" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-30" value="regler()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="38y7BlAEXtyw1VBwOBFz-26">
|
||||
<mxGeometry y="78" width="160" height="26" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-31" value="" style="endArrow=none;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="38y7BlAEXtyw1VBwOBFz-29" target="F1N5ZnOkq_SLJsnGEIhJ-51">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="710" y="300" as="sourcePoint" />
|
||||
<mxPoint x="640" y="310" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.002;entryY=0.16;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="38y7BlAEXtyw1VBwOBFz-37" target="38y7BlAEXtyw1VBwOBFz-29">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="38y7BlAEXtyw1VBwOBFz-37" target="38y7BlAEXtyw1VBwOBFz-16">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-36" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#000000;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="115.63" y="340" width="8.75" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38y7BlAEXtyw1VBwOBFz-37" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#000000;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="200" y="152" width="20" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
Before Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 213 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 213 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 27 KiB |
@ -1,7 +0,0 @@
|
||||
Pierre : https://www.hubspot.fr/make-my-persona?persona=-NRsDth3GptLpLd2KlRq
|
||||
Baptiste : https://www.hubspot.fr/make-my-persona?persona=-NRxkXdvCS2jHr7u5PJz
|
||||
Corrine : https://www.hubspot.fr/make-my-persona?persona=-NRsEXWJlPfCnBdUqmJl
|
||||
|
||||
User Story Pierre : https://www.canva.com/design/DAFe4DrRK-0/4eT5Hl9yj_U46cMt-TdlZw/edit?utm_content=DAFe4DrRK-0&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
|
||||
User Story Baptiste : https://www.canva.com/design/DAFe4JlhJTA/b1-Dk9lBY3hDeMsNbxcmNA/edit?utm_content=DAFe4JlhJTA&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
|
||||
User Story Corrine : https://www.canva.com/design/DAFe4IVvv84/H-k_-bL1TaoNv2XO7z2XOg/edit?utm_content=DAFe4IVvv84&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
|
@ -0,0 +1,14 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:MusiLib"
|
||||
x:Class="MusiLib.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
|
||||
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="MusiLib.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:MusiLib"
|
||||
xmlns:views="clr-namespace:MusiLib.Views"
|
||||
Shell.FlyoutBehavior="Disabled">
|
||||
<TabBar>
|
||||
|
||||
|
||||
<ShellContent
|
||||
Title="Accueil"
|
||||
ContentTemplate="{DataTemplate views:Accueil}"
|
||||
Route="Accueil" />
|
||||
|
||||
|
||||
</TabBar>
|
||||
</Shell>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#512BD4</color>
|
||||
<color name="colorPrimaryDark">#2B0B98</color>
|
||||
<color name="colorAccent">#2B0B98</color>
|
||||
</resources>
|
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Hosting;
|
||||
|
||||
namespace MusiLib;
|
||||
|
||||
class Program : MauiApplication
|
||||
{
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var app = new Program();
|
||||
app.Run(args);
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<maui:MauiWinUIApplication
|
||||
x:Class="MusiLib.WinUI.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:maui="using:Microsoft.Maui"
|
||||
xmlns:local="using:MusiLib.WinUI">
|
||||
|
||||
</maui:MauiWinUIApplication>
|
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="7A9D67B0-FF6A-4546-AA1E-E6121BBFFCCD" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>$placeholder$</DisplayName>
|
||||
<PublisherDisplayName>User Name</PublisherDisplayName>
|
||||
<Logo>$placeholder$.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Resources>
|
||||
<Resource Language="x-generate" />
|
||||
</Resources>
|
||||
|
||||
<Applications>
|
||||
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="$placeholder$"
|
||||
Description="$placeholder$"
|
||||
Square150x150Logo="$placeholder$.png"
|
||||
Square44x44Logo="$placeholder$.png"
|
||||
BackgroundColor="transparent">
|
||||
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
||||
<uap:SplashScreen Image="$placeholder$.png" />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
||||
</Applications>
|
||||
|
||||
<Capabilities>
|
||||
<rescap:Capability Name="runFullTrust" />
|
||||
</Capabilities>
|
||||
|
||||
</Package>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="MusiLib.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<!-- The combination of below two tags have the following effect:
|
||||
1) Per-Monitor for >= Windows 10 Anniversary Update
|
||||
2) System < Windows 10 Anniversary Update
|
||||
-->
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"profiles": {
|
||||
"Windows Machine": {
|
||||
"commandName": "MsixPackage",
|
||||
"nativeDebugging": false
|
||||
}
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 106 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 108 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 290 KiB |
After Width: | Height: | Size: 255 B |
@ -0,0 +1,15 @@
|
||||
Any raw assets you want to be deployed with your application can be placed in
|
||||
this directory (and child directories). Deployment of the asset to your application
|
||||
is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
|
||||
|
||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
|
||||
These files will be deployed with you package and will be accessible using Essentials:
|
||||
|
||||
async Task LoadMauiAsset()
|
||||
{
|
||||
using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
|
||||
using var reader = new StreamReader(stream);
|
||||
|
||||
var contents = reader.ReadToEnd();
|
||||
}
|
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xaml-comp compile="true" ?>
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||
|
||||
<Color x:Key="Primary">#512BD4</Color>
|
||||
<Color x:Key="Secondary">#DFD8F7</Color>
|
||||
<Color x:Key="Tertiary">#2B0B98</Color>
|
||||
<Color x:Key="White">White</Color>
|
||||
<Color x:Key="Black">Black</Color>
|
||||
<Color x:Key="Gray100">#E1E1E1</Color>
|
||||
<Color x:Key="Gray200">#C8C8C8</Color>
|
||||
<Color x:Key="Gray300">#ACACAC</Color>
|
||||
<Color x:Key="Gray400">#919191</Color>
|
||||
<Color x:Key="Gray500">#6E6E6E</Color>
|
||||
<Color x:Key="Gray600">#404040</Color>
|
||||
<Color x:Key="Gray900">#212121</Color>
|
||||
<Color x:Key="Gray950">#141414</Color>
|
||||
<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
|
||||
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
|
||||
<SolidColorBrush x:Key="TertiaryBrush" Color="{StaticResource Tertiary}"/>
|
||||
<SolidColorBrush x:Key="WhiteBrush" Color="{StaticResource White}"/>
|
||||
<SolidColorBrush x:Key="BlackBrush" Color="{StaticResource Black}"/>
|
||||
<SolidColorBrush x:Key="Gray100Brush" Color="{StaticResource Gray100}"/>
|
||||
<SolidColorBrush x:Key="Gray200Brush" Color="{StaticResource Gray200}"/>
|
||||
<SolidColorBrush x:Key="Gray300Brush" Color="{StaticResource Gray300}"/>
|
||||
<SolidColorBrush x:Key="Gray400Brush" Color="{StaticResource Gray400}"/>
|
||||
<SolidColorBrush x:Key="Gray500Brush" Color="{StaticResource Gray500}"/>
|
||||
<SolidColorBrush x:Key="Gray600Brush" Color="{StaticResource Gray600}"/>
|
||||
<SolidColorBrush x:Key="Gray900Brush" Color="{StaticResource Gray900}"/>
|
||||
<SolidColorBrush x:Key="Gray950Brush" Color="{StaticResource Gray950}"/>
|
||||
|
||||
<Color x:Key="Yellow100Accent">#F7B548</Color>
|
||||
<Color x:Key="Yellow200Accent">#FFD590</Color>
|
||||
<Color x:Key="Yellow300Accent">#FFE5B9</Color>
|
||||
<Color x:Key="Cyan100Accent">#28C2D1</Color>
|
||||
<Color x:Key="Cyan200Accent">#7BDDEF</Color>
|
||||
<Color x:Key="Cyan300Accent">#C3F2F4</Color>
|
||||
<Color x:Key="Blue100Accent">#3E8EED</Color>
|
||||
<Color x:Key="Blue200Accent">#72ACF1</Color>
|
||||
<Color x:Key="Blue300Accent">#A7CBF6</Color>
|
||||
|
||||
</ResourceDictionary>
|
@ -0,0 +1,384 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xaml-comp compile="true" ?>
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||
|
||||
<Style TargetType="ActivityIndicator">
|
||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="IndicatorView">
|
||||
<Setter Property="IndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}"/>
|
||||
<Setter Property="SelectedIndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray100}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Border">
|
||||
<Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||
<Setter Property="StrokeShape" Value="Rectangle"/>
|
||||
<Setter Property="StrokeThickness" Value="1"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="BoxView">
|
||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Primary}}" />
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
<Setter Property="Padding" Value="14,10"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="CheckBox">
|
||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="DatePicker">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Editor">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Entry">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Frame">
|
||||
<Setter Property="HasShadow" Value="False" />
|
||||
<Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
||||
<Setter Property="CornerRadius" Value="8" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="ImageButton">
|
||||
<Setter Property="Opacity" Value="1" />
|
||||
<Setter Property="BorderColor" Value="Transparent"/>
|
||||
<Setter Property="BorderWidth" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="0"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="Opacity" Value="0.5" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="ListView">
|
||||
<Setter Property="SeparatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||
<Setter Property="RefreshControlColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Picker">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="ProgressBar">
|
||||
<Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="RadioButton">
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="RefreshView">
|
||||
<Setter Property="RefreshColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="SearchBar">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||
<Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" />
|
||||
<Setter Property="CancelButtonColor" Value="{StaticResource Gray500}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="SearchHandler">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||
<Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Shadow">
|
||||
<Setter Property="Radius" Value="15" />
|
||||
<Setter Property="Opacity" Value="0.5" />
|
||||
<Setter Property="Brush" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
|
||||
<Setter Property="Offset" Value="10,10" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Slider">
|
||||
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
||||
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="SwipeItem">
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Switch">
|
||||
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="ThumbColor" Value="{StaticResource White}" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
<VisualState x:Name="On">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray200}}" />
|
||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
<VisualState x:Name="Off">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="TimePicker">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Page" ApplyToDerivedTypes="True">
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Shell" ApplyToDerivedTypes="True">
|
||||
<Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
|
||||
<Setter Property="Shell.ForegroundColor" Value="{OnPlatform WinUI={StaticResource Primary}, Default={StaticResource White}}" />
|
||||
<Setter Property="Shell.TitleColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
|
||||
<Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
||||
<Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray200}}" />
|
||||
<Setter Property="Shell.NavBarHasShadow" Value="False" />
|
||||
<Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||
<Setter Property="Shell.TabBarForegroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="Shell.TabBarTitleColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="Shell.TabBarUnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="NavigationPage">
|
||||
<Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
|
||||
<Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" />
|
||||
<Setter Property="IconColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="TabbedPage">
|
||||
<Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray950}}" />
|
||||
<Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||
<Setter Property="UnselectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
||||
<Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="MusiLib.Views.Accueil"
|
||||
xmlns:model="clr-namespace:MusiLib.Model"
|
||||
Title="Accueil"
|
||||
BackgroundColor="White">
|
||||
|
||||
<ScrollView>
|
||||
<Grid x:Name="grille">
|
||||
<Grid.RowDefinitions >
|
||||
<RowDefinition Height="85"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
|
||||
<Rectangle Grid.Row="0" Grid.Column="0"
|
||||
BackgroundColor="#64C1FF"
|
||||
WidthRequest="650"
|
||||
HeightRequest="65"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Start"
|
||||
/>
|
||||
|
||||
|
||||
<Image Grid.Row="0" Grid.Column="0"
|
||||
Source="logo.png"
|
||||
WidthRequest="60"
|
||||
HeightRequest="60"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Start"
|
||||
/>
|
||||
|
||||
<SearchBar Grid.Row="0" Grid.Column="1"
|
||||
WidthRequest="175"
|
||||
MaximumWidthRequest="175"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Center"
|
||||
Margin="25,5,0,0"
|
||||
TextColor="White"
|
||||
CancelButtonColor="White"
|
||||
Placeholder="Rechercher ..."
|
||||
PlaceholderColor="White"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Start"
|
||||
TextChanged="SearchBar_TextChanged"
|
||||
/>
|
||||
|
||||
<ImageButton Grid.Row="0" Grid.Column="2"
|
||||
Source="tri.png"
|
||||
WidthRequest="60"
|
||||
HeightRequest="60"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Center"
|
||||
Margin="100,3,0,0"
|
||||
Clicked="TriButton_Clicked"
|
||||
/>
|
||||
|
||||
<ImageButton Grid.Row="0" Grid.Column="3"
|
||||
Source="etoile.png"
|
||||
WidthRequest="50"
|
||||
HeightRequest="50"
|
||||
Margin="0,5,0,0"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="End"
|
||||
Clicked="GoToFavorisButton"
|
||||
/>
|
||||
|
||||
|
||||
</Grid>
|
||||
</ScrollView>
|
||||
|
||||
</ContentPage>
|
@ -0,0 +1,200 @@
|
||||
using Plugin.Maui.Audio;
|
||||
using MusiLib.Model;
|
||||
|
||||
namespace MusiLib.Views
|
||||
{
|
||||
public partial class Accueil : ContentPage, IAllowClick
|
||||
{
|
||||
public Manager MyManager => (App.Current as App).MyManager;
|
||||
|
||||
private List<Partition> partitionsInitiales;
|
||||
private List<Partition> partitionsFiltrees;
|
||||
private Trier trieur;
|
||||
|
||||
public Accueil()
|
||||
{
|
||||
InitializeComponent();
|
||||
partitionsInitiales = MyManager.partitions.ToList();
|
||||
partitionsFiltrees = new List<Partition>(partitionsInitiales);
|
||||
trieur = new Trier(MyManager.partitions.ToList());
|
||||
BindingContext = MyManager;
|
||||
chargerPartitions();
|
||||
}
|
||||
|
||||
/*Nous redirige vers la page des favoris*/
|
||||
private void GoToFavorisButton(object sender, EventArgs e)
|
||||
{
|
||||
if (!IAllowClick.AllowTap) return;
|
||||
else IAllowClick.AllowTap = false;
|
||||
|
||||
Navigation.PushAsync(new Favoris());
|
||||
|
||||
IAllowClick.ResumeTap();
|
||||
}
|
||||
|
||||
/*Nous redirige vers la partition sur laquelle on a cliqué*/
|
||||
private void GoToPartitionButton(object sender, EventArgs e)
|
||||
{
|
||||
if (!IAllowClick.AllowTap) return;
|
||||
else IAllowClick.AllowTap = false;
|
||||
|
||||
var button = (ImageButton)sender;
|
||||
var idAutomation = button.AutomationId;
|
||||
|
||||
if (int.TryParse(idAutomation, out int id))
|
||||
{
|
||||
Navigation.PushAsync(new PartitionView(id));
|
||||
}
|
||||
|
||||
IAllowClick.ResumeTap();
|
||||
}
|
||||
|
||||
/*Charge automatiquement toutes les partitions en ImageButton et les affiche à l'écran*/
|
||||
private void chargerPartitions()
|
||||
{
|
||||
/*Supprime les partitions présentes (on les différencie des autres ImageButton grâce à l'automationId*/
|
||||
var imageButtonsToRemove = grille.Children.OfType<ImageButton>().Where(btn => !string.IsNullOrEmpty(btn.AutomationId)).ToList();
|
||||
foreach (var button in imageButtonsToRemove)
|
||||
{
|
||||
grille.Children.Remove(button);
|
||||
}
|
||||
|
||||
|
||||
int imagesParLigne = 3;
|
||||
int indice = 0;
|
||||
|
||||
/*Crée les ImageButton des partitions*/
|
||||
foreach (Partition partition in partitionsFiltrees)
|
||||
{
|
||||
int indicePartition = MyManager.partitions.IndexOf(partition);
|
||||
|
||||
ImageButton imageButton = new ImageButton
|
||||
{
|
||||
Source = partition.Image[0],
|
||||
WidthRequest = 175,
|
||||
HeightRequest = 175,
|
||||
AutomationId = indicePartition.ToString(),
|
||||
};
|
||||
|
||||
imageButton.Clicked += GoToPartitionButton;
|
||||
|
||||
int ligne = 1 + (indice / imagesParLigne);
|
||||
int colonne = indice % imagesParLigne;
|
||||
|
||||
imageButton.Margin = GetImageButtonMargin(colonne);
|
||||
|
||||
Grid.SetRow(imageButton, ligne);
|
||||
Grid.SetColumn(imageButton, colonne);
|
||||
grille.Children.Add(imageButton);
|
||||
|
||||
indice++;
|
||||
}
|
||||
}
|
||||
|
||||
/*Récupère des valeurs prédéfinies pour les margin de chargerFavoris afin d'avoir un affichage aligné*/
|
||||
private Thickness GetImageButtonMargin(int colonne)
|
||||
{
|
||||
if (colonne == 0)
|
||||
{
|
||||
return new Thickness(30, 0, 0, 0);
|
||||
}
|
||||
else if (colonne == 1)
|
||||
{
|
||||
return new Thickness(90, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Thickness(150, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/*Permet de modifier l'affichage des partitions en fonction de ce qu'on recherche*/
|
||||
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
string texteRecherche = e.NewTextValue;
|
||||
|
||||
partitionsFiltrees.Clear();
|
||||
|
||||
foreach (Partition partition in partitionsInitiales)
|
||||
{
|
||||
if (partition.Nom.ToLower().Contains(texteRecherche.ToLower()))
|
||||
{
|
||||
partitionsFiltrees.Add(partition);
|
||||
}
|
||||
}
|
||||
|
||||
chargerPartitions();
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur le bouton de tri*/
|
||||
private async void TriButton_Clicked(object sender, EventArgs e)
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Type", "Difficulté", "Ordre alphabétique", "Réinitialiser");
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case "Type":
|
||||
await TrierParTypeButton();
|
||||
break;
|
||||
case "Difficulté":
|
||||
await TrierParDifficulteButton();
|
||||
break;
|
||||
case "Ordre alphabétique":
|
||||
await TrierParOrdreAlphabetiqueButton();
|
||||
break;
|
||||
case "Réinitialiser":
|
||||
ReinitialiserButton();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur Type dans le popup TriButton_Clicked*/
|
||||
private async Task TrierParTypeButton()
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Batterie", "Guitare", "Piano");
|
||||
|
||||
if (action == "Annuler")
|
||||
return;
|
||||
|
||||
var partitionsTriees = trieur.TrierParInstrument(action);
|
||||
partitionsFiltrees = new List<Partition>(partitionsTriees);
|
||||
chargerPartitions();
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur Difficulté dans le popup TriButton_Clicked*/
|
||||
private async Task TrierParDifficulteButton()
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Facile", "Moyen", "Difficile");
|
||||
|
||||
if (action == "Annuler")
|
||||
return;
|
||||
|
||||
var partitionsTriees = trieur.TrierParComplexite(action);
|
||||
partitionsFiltrees = new List<Partition>(partitionsTriees);
|
||||
chargerPartitions();
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur Ordre Alphabétique dans le popup TriButton_Clicked*/
|
||||
private async Task TrierParOrdreAlphabetiqueButton()
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Croissant", "Décroissant");
|
||||
|
||||
if (action == "Annuler")
|
||||
return;
|
||||
|
||||
var partitionsTriees = trieur.TrierParOrdreAlphabetique(action);
|
||||
partitionsFiltrees = new List<Partition>(partitionsTriees);
|
||||
chargerPartitions();
|
||||
}
|
||||
|
||||
/*Réinitialise les partitions pour annuler le tri*/
|
||||
private void ReinitialiserButton()
|
||||
{
|
||||
partitionsFiltrees.Clear();
|
||||
partitionsFiltrees.AddRange(partitionsInitiales);
|
||||
chargerPartitions();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="MusiLib.Views.Favoris"
|
||||
xmlns:model="clr-namespace:MusiLib.Model"
|
||||
Title="Favoris"
|
||||
BackgroundColor="White">
|
||||
|
||||
|
||||
<ScrollView>
|
||||
<Grid x:Name="grille">
|
||||
<Grid.RowDefinitions >
|
||||
<RowDefinition Height="85"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
|
||||
<Rectangle Grid.Row="0" Grid.Column="0"
|
||||
BackgroundColor="#64C1FF"
|
||||
WidthRequest="650"
|
||||
HeightRequest="65"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Start"
|
||||
/>
|
||||
|
||||
|
||||
<ImageButton Grid.Row="0" Grid.Column="0"
|
||||
Source="logo.png"
|
||||
WidthRequest="60"
|
||||
HeightRequest="60"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Start"
|
||||
Clicked="GoToAccueilByLogoButton"
|
||||
/>
|
||||
|
||||
<SearchBar Grid.Row="0" Grid.Column="1"
|
||||
WidthRequest="175"
|
||||
MaximumWidthRequest="175"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Center"
|
||||
Margin="25,5,0,0"
|
||||
TextColor="White"
|
||||
CancelButtonColor="White"
|
||||
Placeholder="Rechercher ..."
|
||||
PlaceholderColor="White"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Start"
|
||||
TextChanged="SearchBar_TextChanged"
|
||||
/>
|
||||
|
||||
<ImageButton Grid.Row="0" Grid.Column="2"
|
||||
Source="tri.png"
|
||||
WidthRequest="60"
|
||||
HeightRequest="60"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="Center"
|
||||
Margin="100,3,0,0"
|
||||
Clicked="TriButton_Clicked"
|
||||
/>
|
||||
|
||||
<ImageButton Grid.Row="0" Grid.Column="3"
|
||||
Source="etoile.png"
|
||||
WidthRequest="50"
|
||||
HeightRequest="50"
|
||||
Margin="0,5,0,0"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="End"
|
||||
/>
|
||||
|
||||
</Grid>
|
||||
</ScrollView>
|
||||
|
||||
</ContentPage>
|
@ -0,0 +1,209 @@
|
||||
using MusiLib.Model;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace MusiLib.Views;
|
||||
|
||||
|
||||
public partial class Favoris : ContentPage, IAllowClick
|
||||
{
|
||||
|
||||
public Manager MyManager => (App.Current as App).MyManager;
|
||||
|
||||
private List<Partition> partitionsInitiales;
|
||||
private List<Partition> partitionsFiltrees;
|
||||
private Trier trieur;
|
||||
|
||||
public Favoris()
|
||||
{
|
||||
InitializeComponent();
|
||||
partitionsInitiales = MyManager.favoris.ToList();
|
||||
partitionsFiltrees = new List<Partition>(partitionsInitiales);
|
||||
trieur = new Trier(MyManager.favoris.ToList());
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
/*Nous redirige vers l'accueil avec le logo de l'appli*/
|
||||
private void GoToAccueilByLogoButton(object sender, EventArgs e)
|
||||
{
|
||||
if (!IAllowClick.AllowTap) return;
|
||||
else IAllowClick.AllowTap = false;
|
||||
|
||||
Navigation.PopAsync();
|
||||
|
||||
IAllowClick.ResumeTap();
|
||||
}
|
||||
|
||||
/*Nous redirige vers la partition sur laquelle on a cliqué*/
|
||||
private void GoToPartitionButton(object sender, EventArgs e)
|
||||
{
|
||||
if (!IAllowClick.AllowTap) return;
|
||||
else IAllowClick.AllowTap = false;
|
||||
|
||||
var button = (ImageButton)sender;
|
||||
var idAutomation = button.AutomationId;
|
||||
|
||||
if (int.TryParse(idAutomation, out int id))
|
||||
{
|
||||
Navigation.PushAsync(new PartitionView(id));
|
||||
}
|
||||
|
||||
IAllowClick.ResumeTap();
|
||||
}
|
||||
|
||||
/*Permet de charger automatiquement tout les favoris qu'on a et les afficher à l'écran*/
|
||||
private void chargerFavoris()
|
||||
{
|
||||
/*Supprime les partitions présentes (on les différencie des autres ImageButton grâce à l'automationId*/
|
||||
var imageButtonsToRemove = grille.Children.OfType<ImageButton>().Where(btn => !string.IsNullOrEmpty(btn.AutomationId)).ToList();
|
||||
foreach (var button in imageButtonsToRemove)
|
||||
{
|
||||
grille.Children.Remove(button);
|
||||
}
|
||||
|
||||
int imagesParLigne = 3;
|
||||
int indice = 0;
|
||||
|
||||
/*Crée les ImageButton des partitions*/
|
||||
foreach (Partition favoris in partitionsFiltrees)
|
||||
{
|
||||
string nomFavori = favoris.Nom;
|
||||
int indicePartition = MyManager.partitions.FindIndex(partition => partition.Nom == nomFavori);
|
||||
|
||||
ImageButton imageButton = new ImageButton
|
||||
{
|
||||
Source = favoris.Image[0],
|
||||
WidthRequest = 175,
|
||||
HeightRequest = 175,
|
||||
AutomationId = indicePartition.ToString(),
|
||||
};
|
||||
|
||||
imageButton.Clicked += GoToPartitionButton;
|
||||
|
||||
int ligne = 1 + (indice / imagesParLigne);
|
||||
int colonne = indice % imagesParLigne;
|
||||
|
||||
imageButton.Margin = GetImageButtonMargin(colonne);
|
||||
|
||||
Grid.SetRow(imageButton, ligne);
|
||||
Grid.SetColumn(imageButton, colonne);
|
||||
grille.Children.Add(imageButton);
|
||||
|
||||
indice++;
|
||||
}
|
||||
}
|
||||
|
||||
/*Récupère des valeurs prédéfinies pour les margin de chargerFavoris afin d'avoir un affichage aligné*/
|
||||
private Thickness GetImageButtonMargin(int colonne)
|
||||
{
|
||||
if (colonne == 0)
|
||||
{
|
||||
return new Thickness(30, 0, 0, 0);
|
||||
}
|
||||
else if (colonne == 1)
|
||||
{
|
||||
return new Thickness(90, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Thickness(150, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/*Permet de modifier l'affichage des partitions en fonction de ce qu'on recherche*/
|
||||
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
string texteRecherche = e.NewTextValue;
|
||||
|
||||
partitionsFiltrees.Clear();
|
||||
|
||||
foreach (Partition partition in partitionsInitiales)
|
||||
{
|
||||
if (partition.Nom.ToLower().Contains(texteRecherche.ToLower()))
|
||||
{
|
||||
partitionsFiltrees.Add(partition);
|
||||
}
|
||||
}
|
||||
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur le bouton de tri*/
|
||||
private async void TriButton_Clicked(object sender, EventArgs e)
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Type", "Difficulté", "Ordre alphabétique", "Réinitialiser");
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case "Type":
|
||||
await TrierParTypeButton();
|
||||
break;
|
||||
case "Difficulté":
|
||||
await TrierParDifficulteButton();
|
||||
break;
|
||||
case "Ordre alphabétique":
|
||||
await TrierParOrdreAlphabetiqueButton();
|
||||
break;
|
||||
case "Réinitialiser":
|
||||
ReinitialiserButton();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur Type dans le popup TriButton_Clicked*/
|
||||
private async Task TrierParTypeButton()
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Batterie", "Guitare", "Piano");
|
||||
|
||||
if (action == "Annuler")
|
||||
return;
|
||||
|
||||
var partitionsTriees = trieur.TrierParInstrument(action);
|
||||
partitionsFiltrees = new List<Partition>(partitionsTriees);
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur Difficulté dans le popup TriButton_Clicked*/
|
||||
private async Task TrierParDifficulteButton()
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Facile", "Moyen", "Difficile");
|
||||
|
||||
if (action == "Annuler")
|
||||
return;
|
||||
|
||||
var partitionsTriees = trieur.TrierParComplexite(action);
|
||||
partitionsFiltrees = new List<Partition>(partitionsTriees);
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
/*Lance un popup de plusieurs choix quand on clic sur Ordre Alphabétique dans le popup TriButton_Clicked*/
|
||||
private async Task TrierParOrdreAlphabetiqueButton()
|
||||
{
|
||||
var action = await DisplayActionSheet("Trier par", "Annuler", null, "Croissant", "Décroissant");
|
||||
|
||||
if (action == "Annuler")
|
||||
return;
|
||||
|
||||
var partitionsTriees = trieur.TrierParOrdreAlphabetique(action);
|
||||
partitionsFiltrees = new List<Partition>(partitionsTriees);
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
/*Réinitialise les partitions pour annuler le tri*/
|
||||
private void ReinitialiserButton()
|
||||
{
|
||||
partitionsFiltrees.Clear();
|
||||
partitionsFiltrees.AddRange(partitionsInitiales);
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
/*Charge à chaque réapparition de la page (quand on revient d'une partition par exemple) les partitions afin de remettre les partitions si jamais une est supprimé des favoris*/
|
||||
protected override void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
partitionsInitiales = MyManager.favoris.ToList();
|
||||
partitionsFiltrees = new List<Partition>(partitionsInitiales);
|
||||
chargerFavoris();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="MusiLib.Views.PartitionView"
|
||||
xmlns:model="clr-namespace:MusiLib.Model"
|
||||
xmlns:local="clr-namespace:MusiLib.Views"
|
||||
Title="{Binding NomPartitionTitle}">
|
||||
|
||||
|
||||
<ScrollView Orientation="Both">
|
||||
<VerticalStackLayout >
|
||||
<HorizontalStackLayout x:Name="Part">
|
||||
<CarouselView ItemsSource="{Binding Image}" ItemsLayout="VerticalList" PeekAreaInsets="0">
|
||||
<CarouselView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Image Source="{Binding .}" HeightRequest="600" WidthRequest="400" Aspect="AspectFill"/>
|
||||
</DataTemplate>
|
||||
</CarouselView.ItemTemplate>
|
||||
</CarouselView>
|
||||
|
||||
<VerticalStackLayout Margin="15" WidthRequest="375">
|
||||
<Label Text="{Binding Description}" />
|
||||
|
||||
<Grid Margin="15">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="35"/>
|
||||
<RowDefinition Height="70"/>
|
||||
<RowDefinition Height="25"/>
|
||||
<RowDefinition Height="70"/>
|
||||
<RowDefinition Height="25"/>
|
||||
<RowDefinition Height="70"/>
|
||||
<RowDefinition Height="25"/>
|
||||
<RowDefinition Height="70"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="130"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button Grid.Row="1" Grid.Column="0"
|
||||
Text="Jouer"
|
||||
WidthRequest="75"
|
||||
HeightRequest="75"
|
||||
HorizontalOptions="Start"
|
||||
Clicked="Play_Music"
|
||||
x:Name="play_music_button"
|
||||
/>
|
||||
<Button Grid.Row="1" Grid.Column="1"
|
||||
Text="Arrêter"
|
||||
WidthRequest="75"
|
||||
HeightRequest="75"
|
||||
HorizontalOptions="Start"
|
||||
Clicked="Stop_Music"
|
||||
/>
|
||||
|
||||
<Border Grid.Row="1" Grid.Column="1" WidthRequest="75"
|
||||
HeightRequest="75" HorizontalOptions="End" Stroke="#6600FF" BackgroundColor="#6600FF">
|
||||
<ImageButton Grid.Row="3" Grid.Column="1" x:Name="favoriButton"
|
||||
WidthRequest="75"
|
||||
HeightRequest="75"
|
||||
HorizontalOptions="End"
|
||||
Clicked="AddFavoriButton"
|
||||
/>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="2" Grid.Column="0" WidthRequest="200"
|
||||
HeightRequest="50" HorizontalOptions="Start" Stroke="#6600FF" BackgroundColor="#6600FF"
|
||||
Margin="0,60,0,0">
|
||||
<Slider Grid.Row="2" Grid.Column="0"
|
||||
x:Name="tempo_slider"
|
||||
Minimum="0"
|
||||
Maximum="6"
|
||||
Value="1"
|
||||
ValueChanged="TempoSlider" />
|
||||
</Border>
|
||||
<Label Grid.Row="3" Grid.Column="1" Text="Vitesse musique" WidthRequest="130" HeightRequest="55" HorizontalOptions="End"/>
|
||||
<Label Grid.Row="0" Grid.Column="0" Text="Paramètres du son " HorizontalOptions="End"/>
|
||||
<Label Grid.Row="0" Grid.Column="1" Text="de la partition :"/>
|
||||
<Label Grid.Row="4" Grid.Column="0" Text="Paramètres du" HorizontalOptions="Center" />
|
||||
<Label Grid.Row="4" Grid.Column="1" Text="métronome :" HorizontalOptions="Start"/>
|
||||
<Label Grid.Row="7" Grid.Column="1" Text="Vitesse Métronome" WidthRequest="130" HeightRequest="55" HorizontalOptions="End" />
|
||||
<Button Grid.Row="5" Grid.Column="0"
|
||||
Text="Jouer"
|
||||
WidthRequest="75"
|
||||
HeightRequest="75"
|
||||
HorizontalOptions="Start"
|
||||
Clicked="Play_Metronome"
|
||||
x:Name="play_metronome_button"
|
||||
/>
|
||||
<Button Grid.Row="5" Grid.Column="1"
|
||||
Text="Arrêter"
|
||||
WidthRequest="75"
|
||||
HeightRequest="75"
|
||||
HorizontalOptions="Start"
|
||||
Clicked="Stop_Metronome"
|
||||
/>
|
||||
<Border Grid.Row="7" Grid.Column="0" WidthRequest="200" HeightRequest="50" HorizontalOptions="Start" Stroke="#6600FF" BackgroundColor="#6600FF">
|
||||
<Slider Grid.Row="7" Grid.Column="0"
|
||||
x:Name="BPM_slider"
|
||||
Minimum="0"
|
||||
Maximum="6"
|
||||
Value="1"
|
||||
ValueChanged="BPMSlider"/>
|
||||
</Border>
|
||||
|
||||
|
||||
</Grid>
|
||||
</VerticalStackLayout>
|
||||
</HorizontalStackLayout>
|
||||
|
||||
<Border Stroke="#000080" >
|
||||
<StackLayout x:Name="PartitionsSimilairesStackLayout"
|
||||
Orientation="Horizontal"
|
||||
VerticalOptions="FillAndExpand"
|
||||
HorizontalOptions="FillAndExpand">
|
||||
</StackLayout>
|
||||
</Border>
|
||||
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
</ContentPage>
|