- tweak: SVG think
1
.idea/.idea.Nebula/.idea/avalonia.xml
generated
@@ -5,6 +5,7 @@
|
||||
<map>
|
||||
<entry key="Nebula.Launcher/App.axaml" value="Nebula.Launcher/Nebula.Launcher.csproj" />
|
||||
<entry key="Nebula.Launcher/Assets/Icons.axaml" value="Nebula.Launcher/Nebula.Launcher.csproj" />
|
||||
<entry key="Nebula.Launcher/Assets/Resources.axaml" value="Nebula.Launcher/Nebula.Launcher.csproj" />
|
||||
<entry key="Nebula.Launcher/Assets/Style.axaml" value="Nebula.Launcher/Nebula.Launcher.csproj" />
|
||||
<entry key="Nebula.Launcher/ViewModels/Styles1.axaml" value="Nebula.Launcher/Nebula.Launcher.csproj" />
|
||||
<entry key="Nebula.Launcher/Views/Controls/PlayerContainerControl.axaml" value="Nebula.Launcher/Nebula.Launcher.csproj" />
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
<Application.Styles>
|
||||
<FluentTheme />
|
||||
<StyleInclude Source="Assets/Icons.axaml" />
|
||||
<StyleInclude Source="Assets/Style.axaml" />
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
@@ -1,10 +1,4 @@
|
||||
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Design.PreviewWith>
|
||||
<Border Padding="20">
|
||||
<!-- Add Controls for Previewer Here -->
|
||||
</Border>
|
||||
</Design.PreviewWith>
|
||||
|
||||
<Style Selector="Window">
|
||||
<Setter Property="Background" Value="#121212" />
|
||||
</Style>
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB |
@@ -1,3 +0,0 @@
|
||||
account.png Icon by Icon Desai
|
||||
list.png Icon by Vector Stall
|
||||
settings.png Icon by Smashicons
|
||||
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 25 KiB |
1
Nebula.Launcher/Assets/svg/browser.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M472.403,0H39.597C18.945,0,2.763,16.183,2.763,36.835v438.331C2.763,495.817,18.945,512,39.597,512h432.806 c20.652,0,36.835-16.177,36.835-36.835V36.835C509.237,16.183,493.055,0,472.403,0z M472.403,475.165H39.597L39.315,36.859 c0,0,0.086-0.025,0.282-0.025h432.806V475.165z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><rect x="21.18" y="152.249" width="469.026" height="36.835" fill="#000000" style="fill: rgb(255, 255, 255);"></rect></g></g><g><g><circle cx="97.305" cy="94.542" r="29.468" fill="#000000" style="fill: rgb(255, 255, 255);"></circle></g></g><g><g><circle cx="173.429" cy="94.542" r="29.468" fill="#000000" style="fill: rgb(255, 255, 255);"></circle></g></g><g><g><path d="M401.803,76.125H274.11c-10.172,0-18.417,8.245-18.417,18.417c0,10.172,8.245,18.417,18.417,18.417h127.693 c10.172,0,18.417-8.245,18.417-18.417C420.221,84.37,411.976,76.125,401.803,76.125z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
1
Nebula.Launcher/Assets/svg/delete.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><g><polygon points="353.574,176.526 313.496,175.056 304.807,412.34 344.885,413.804 " fill="#000000" style="fill: rgb(255, 255, 255);"></polygon><rect x="235.948" y="175.791" width="40.104" height="237.285" fill="#000000" style="fill: rgb(255, 255, 255);"></rect><polygon points="207.186,412.334 198.497,175.049 158.419,176.52 167.109,413.804 " fill="#000000" style="fill: rgb(255, 255, 255);"></polygon><path d="M17.379,76.867v40.104h41.789L92.32,493.706C93.229,504.059,101.899,512,112.292,512h286.74 c10.394,0,19.07-7.947,19.972-18.301l33.153-376.728h42.464V76.867H17.379z M380.665,471.896H130.654L99.426,116.971h312.474 L380.665,471.896z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></g><g><g><path d="M321.504,0H190.496c-18.428,0-33.42,14.992-33.42,33.42v63.499h40.104V40.104h117.64v56.815h40.104V33.42 C354.924,14.992,339.932,0,321.504,0z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
1
Nebula.Launcher/Assets/svg/file.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M448.39,147.322L297.99,5.242C294.419,1.875,289.709,0,284.8,0h-208C66.195,0,57.6,8.595,57.6,19.2v473.6 c0,10.605,8.595,19.2,19.2,19.2h358.4c10.605,0,19.2-8.595,19.2-19.2V161.28C454.4,156,452.224,150.95,448.39,147.322z M416,473.6 H96V38.4h181.165L416,169.555V473.6z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M345.6,313.6H160c-10.605,0-19.2,8.595-19.2,19.2S149.395,352,160,352h185.6c10.605,0,19.2-8.595,19.2-19.2 S356.205,313.6,345.6,313.6z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M268.8,236.8H160c-10.605,0-19.2,8.595-19.2,19.2s8.595,19.2,19.2,19.2h108.8c10.605,0,19.2-8.595,19.2-19.2 S279.405,236.8,268.8,236.8z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M345.6,390.4H160c-10.605,0-19.2,8.595-19.2,19.2c0,10.605,8.595,19.2,19.2,19.2h185.6c10.605,0,19.2-8.595,19.2-19.2 S356.205,390.4,345.6,390.4z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M300.8,147.2v-128h-38.4v147.2c0,10.605,8.595,19.2,19.2,19.2h153.6v-38.4H300.8z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
1
Nebula.Launcher/Assets/svg/filter.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M500.191,10.674C496.879,4.128,490.171,0,482.834,0H29.164c-7.336,0-14.044,4.128-17.356,10.674 c-3.305,6.546-2.644,14.401,1.705,20.305l177.677,241.133v220.445c0,10.739,8.704,19.443,19.443,19.443h90.734 c10.739,0,19.443-8.704,19.443-19.443V272.112L498.486,30.979C502.841,25.075,503.496,17.22,500.191,10.674z M285.714,254.192 c-2.463,3.338-3.791,7.375-3.791,11.53v207.392h-51.848V265.721c0-4.154-1.329-8.192-3.791-11.53L67.641,38.886h376.722 L285.714,254.192z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 805 B |
1
Nebula.Launcher/Assets/svg/folder.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M480,105.6H244.909L182.08,41.011c-3.616-3.712-8.576-5.811-13.76-5.811H32c-17.645,0-32,14.355-32,32v377.6 c0,17.645,14.355,32,32,32h448c17.645,0,32-14.355,32-32V137.6C512,119.955,497.645,105.6,480,105.6z M473.6,438.4H38.4V73.6 h121.811l62.829,64.589c3.616,3.712,8.576,5.811,13.76,5.811h236.8V438.4z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 647 B |
1
Nebula.Launcher/Assets/svg/home.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M475.425,200.225L262.092,4.669c-6.951-6.359-17.641-6.204-24.397,0.35L36.213,200.574 c-3.449,3.348-5.399,7.953-5.399,12.758v280.889c0,9.819,7.958,17.778,17.778,17.778h148.148c9.819,0,17.778-7.959,17.778-17.778 v-130.37h82.963v130.37c0,9.819,7.958,17.778,17.778,17.778h148.148c9.819,0,17.778-7.953,17.778-17.778V213.333 C481.185,208.349,479.099,203.597,475.425,200.225z M445.629,476.444H333.037v-130.37c0-9.819-7.959-17.778-17.778-17.778H196.741 c-9.819,0-17.778,7.959-17.778,17.778v130.37H66.37V220.853L250.424,42.216l195.206,178.939V476.444z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 891 B |
1
Nebula.Launcher/Assets/svg/information.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 97.083 97.083" style="enable-background:new 0 0 97.083 97.083;" xml:space="preserve"><g><g><path d="M62.079,83.595h-5.137V30.29c0-1.104-0.896-2-2-2H35.005c-1.104,0-2,0.896-2,2v6.685c0,1.104,0.896,2,2,2h5.646v44.62 h-5.137c-1.104,0-2,0.896-2,2v9.488c0,1.104,0.896,2,2,2h26.564c1.104,0,2-0.896,2-2v-9.488 C64.079,84.491,63.185,83.595,62.079,83.595z" fill="#000000" style="fill: rgb(255, 255, 255);"></path><path d="M48.542,23.428c6.459,0,11.714-5.255,11.714-11.714S55.001,0,48.542,0S36.828,5.255,36.828,11.714 S42.083,23.428,48.542,23.428z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 799 B |
1
Nebula.Launcher/Assets/svg/newspaper.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M351.028,144.402H223.873c-11.207,0-20.291,9.083-20.291,20.291c0,11.207,9.083,20.291,20.291,20.291h127.155 c11.214,0,20.291-9.083,20.291-20.291C371.318,153.485,362.235,144.402,351.028,144.402z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M399.725,242.473H223.873c-11.207,0-20.291,9.083-20.291,20.291c0,11.207,9.083,20.291,20.291,20.291h175.852 c11.207,0,20.291-9.083,20.291-20.291C420.016,251.556,410.932,242.473,399.725,242.473z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M491.709,17.247H132.565c-11.207,0-20.291,9.083-20.291,20.291v191.408H76.428C34.284,228.946,0,263.237,0,305.374 v112.951c0,42.144,34.284,76.428,76.428,76.428c3.449,0,6.845-0.23,10.166-0.676h334.775c49.969,0,90.631-40.656,90.631-90.631 V37.538C512,26.33,502.917,17.247,491.709,17.247z M112.275,418.325c0,17.389-12.452,31.931-28.907,35.17h-6.939v0.676 c-19.77,0-35.847-16.084-35.847-35.847V305.374c0-19.763,16.084-35.847,35.847-35.847h35.847V418.325z M471.419,403.445 c0,27.129-22.915,50.05-50.05,50.05H144.273c5.485-10.531,8.583-22.496,8.583-35.17V57.828h318.563V403.445z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M351.028,334.464H223.873c-11.207,0-20.291,9.083-20.291,20.291c0,11.207,9.083,20.291,20.291,20.291h127.155 c11.214,0,20.291-9.083,20.291-20.291C371.318,343.547,362.235,334.464,351.028,334.464z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
1
Nebula.Launcher/Assets/svg/next.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512.002 512.002" style="enable-background:new 0 0 512.002 512.002;" xml:space="preserve"><g><g><path d="M388.425,241.951L151.609,5.79c-7.759-7.733-20.321-7.72-28.067,0.04c-7.74,7.759-7.72,20.328,0.04,28.067l222.72,222.105 L123.574,478.106c-7.759,7.74-7.779,20.301-0.04,28.061c3.883,3.89,8.97,5.835,14.057,5.835c5.074,0,10.141-1.932,14.017-5.795 l236.817-236.155c3.737-3.718,5.834-8.778,5.834-14.05S392.156,245.676,388.425,241.951z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 692 B |
1
Nebula.Launcher/Assets/svg/play.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M369.324,235.336L39.109,10.189C31.445,4.952,21.514,4.41,13.325,8.738C5.128,13.066,0,21.58,0,30.853v450.293 c0,9.281,5.128,17.787,13.325,22.114c3.669,1.943,7.688,2.902,11.691,2.902c4.937,0,9.865-1.468,14.092-4.336l330.215-225.147 c6.838-4.661,10.924-12.391,10.924-20.672S376.153,239.997,369.324,235.336z M50.033,433.807V78.183l260.786,177.816 L50.033,433.807z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M486.984,34.188c-13.817,0-25.016,11.199-25.016,25.016v393.59c0,13.817,11.199,25.016,25.016,25.016 c13.826,0,25.016-11.199,25.016-25.016V59.204C512,45.387,500.801,34.188,486.984,34.188z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 973 B |
1
Nebula.Launcher/Assets/svg/pulse.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M493.929,237.927H409.6c-6.795,0-13.011,3.813-16.095,9.866l-71.325,139.794L209.769,72.84 c-2.427-6.795-8.656-11.493-15.854-11.957c-7.21-0.5-13.981,3.391-17.257,9.818L91.335,237.933H18.071 C8.09,237.933,0,246.029,0,256.003c0,9.975,8.09,18.071,18.071,18.071h84.335c6.789,0,13.005-3.813,16.095-9.861l71.319-139.794 l112.411,314.748c2.427,6.794,8.662,11.493,15.854,11.957c0.391,0.024,0.783,0.036,1.169,0.036c6.752,0,12.987-3.783,16.089-9.854 l85.323-167.237h73.264c9.981,0,18.071-8.09,18.071-18.071S503.91,237.927,493.929,237.927z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 875 B |
1
Nebula.Launcher/Assets/svg/refresh.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M256,64c-63.749,0-116.539,27.751-153.514,61.856l1.762-105.739C104.432,9.191,95.716,0.178,84.784,0 c-0.112,0-0.224,0-0.336,0C73.673,0,64.845,8.65,64.66,19.464l-2.639,158.351c-0.086,5.364,2.006,10.537,5.806,14.331 c3.794,3.794,8.94,5.885,14.331,5.793l154.392-2.639c10.926-0.191,19.635-9.198,19.451-20.13 c-0.185-10.814-9.013-19.457-19.787-19.457c-0.112,0-0.224,0-0.343,0l-109.13,1.867c30.515-28.919,75.54-53.991,129.26-53.991 c110.113,0,184.082,95.182,184.082,184.082c0,89.217-73.969,184.742-184.082,184.742c-120.109,0-184.082-107.296-184.082-184.742 c0-10.933-8.861-19.794-19.794-19.794S32.33,276.737,32.33,287.67C32.33,396.008,122.207,512,256,512 s223.67-115.992,223.67-224.336C479.67,179.649,389.793,64,256,64z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
1
Nebula.Launcher/Assets/svg/settings.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><g><path d="M255.997,149.109c-58.775,0-106.592,47.817-106.592,106.592c0,58.775,47.817,106.592,106.592,106.592 c58.769,0,106.592-47.817,106.592-106.592C362.589,196.925,314.766,149.109,255.997,149.109z M255.997,326.363 c-38.966,0-70.662-31.696-70.662-70.662c0-38.966,31.696-70.662,70.662-70.662s70.662,31.696,70.662,70.662 C326.659,294.667,294.963,326.363,255.997,326.363z" fill="#000000" style="fill: rgb(255, 255, 255);"></path><path d="M474.361,179.871l-25.564-4.258l14.552-20.702c13.222-17.636,11.228-42.954-4.216-57.422l-45.511-45.511 c-15.552-15.552-40.379-17.24-57.392-4.234l-20.264,14.713l-4.078-24.169C328.857,16.103,310.539,0,288.334,0H223.66 c-21.761,0-40.475,16.156-43.469,37.169l-4.288,25.738l-20.702-14.546c-17.642-13.234-42.966-11.24-57.422,4.21L52.269,98.082 c-15.546,15.54-17.252,40.367-4.3,57.296l14.989,20.923l-24.366,4.114c-22.193,3.024-38.295,21.336-38.295,43.547v64.674 c0,22.121,15.803,40.427,37.163,43.463l25.738,4.294l-14.546,20.702c-13.228,17.636-11.234,42.954,4.21,57.416l45.517,45.517 c8.168,8.174,19.857,13.049,31.265,13.049c9.408,0,18.516-3.108,26.031-8.749l20.923-14.989l4.114,24.366 C183.73,495.897,202.048,512,224.259,512h64.674c22.115,0,40.427-15.809,43.457-37.157l4.294-25.744l20.51,14.408 c7.952,5.958,17.019,8.982,26.941,8.982c11.749,0,22.857-4.641,31.271-13.055l45.511-45.511 c15.552-15.54,17.252-40.367,4.12-57.554l-15.432-20.761l23.803-4.012c22.193-3.03,38.295-21.348,38.295-43.553V223.37 C511.704,201.692,495.673,183.033,474.361,179.871z M475.768,288.026c0,4.174-2.91,7.366-7.785,8.042l-53.29,8.982 c-6.162,1.036-11.342,5.21-13.677,11.013s-1.479,12.396,2.246,17.42l33.079,44.505c2.24,2.922,1.85,7.845-0.826,10.521 l-45.511,45.511c-1.725,1.725-3.587,2.527-5.863,2.527c-2.096,0-3.707-0.533-5.839-2.12l-44.313-31.139 c-5.054-3.563-11.581-4.246-17.27-1.874c-5.689,2.383-9.767,7.527-10.779,13.617l-9.048,54.308 c-0.557,3.898-3.904,6.731-7.964,6.731h-64.674c-4.162,0-7.36-2.904-8.03-7.779l-8.982-53.296 c-1.03-6.108-5.138-11.252-10.869-13.617c-2.204-0.916-4.533-1.359-6.845-1.359c-3.695,0-7.366,1.138-10.462,3.353 l-44.637,31.977c-1.587,1.192-3.198,1.797-4.785,1.797c-1.844,0-4.473-1.126-5.863-2.521l-45.93-45.918 c-2.617-2.449-2.803-6.988-0.413-10.108c0.15-0.192,0.293-0.389,0.431-0.587l31.139-44.313c3.551-5.054,4.258-11.575,1.874-17.27 c-2.383-5.689-7.527-9.767-13.617-10.779l-54.308-9.048c-3.898-0.557-6.731-3.904-6.731-7.964v-64.674 c0-4.168,2.898-7.36,7.773-8.036l53.296-8.982c6.114-1.03,11.258-5.138,13.623-10.869c2.365-5.731,1.611-12.276-2-17.312 L76.845,134c-2.234-2.928-1.85-7.845,0.826-10.521l45.912-45.924c2.455-2.623,6.988-2.797,10.114-0.407 c0.192,0.144,0.383,0.287,0.581,0.425l44.313,31.139c5.048,3.551,11.569,4.264,17.27,1.874 c5.695-2.383,9.767-7.527,10.779-13.617l9.048-54.308c0.557-3.898,3.904-6.731,7.964-6.731h64.674 c4.174,0,7.366,2.904,8.048,7.785l8.982,53.296c1.03,6.132,5.162,11.294,10.917,13.647c5.749,2.347,12.312,1.557,17.348-2.096 l44.068-32.008c2.916-2.234,7.839-1.856,10.521,0.826l45.924,45.912c2.611,2.449,2.797,6.994,0.407,10.114 c-0.138,0.192-0.287,0.383-0.419,0.581l-31.139,44.313c-3.551,5.054-4.252,11.575-1.874,17.27 c2.383,5.695,7.527,9.767,13.617,10.779l53.895,8.982c0.138,0.024,0.275,0.048,0.413,0.066c3.898,0.557,6.731,3.904,6.731,7.964 V288.026z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
1
Nebula.Launcher/Assets/svg/stop.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M256,0C114.843,0,0,114.843,0,256s114.843,256,256,256s256-114.843,256-256S397.157,0,256,0z M256,476.279 c-121.463,0-220.279-98.816-220.279-220.279S134.537,35.721,256,35.721S476.279,134.537,476.279,256S377.463,476.279,256,476.279z " fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M172.651,172.651v166.698h166.698V172.651H172.651z M303.628,303.628h-95.256v-95.256h95.256V303.628z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 758 B |
1
Nebula.Launcher/Assets/svg/undo.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M142.716,293.147l-94-107.602l94-107.602c7.596-8.705,6.71-21.924-1.995-29.527c-8.705-7.596-21.917-6.703-29.527,1.995 L5.169,171.782c-6.892,7.882-6.892,19.65,0,27.532l106.026,121.372c4.143,4.729,9.94,7.157,15.771,7.157 c4.883,0,9.786-1.702,13.755-5.169C149.427,315.071,150.319,301.852,142.716,293.147z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M359.93,164.619H20.926C9.368,164.619,0,173.986,0,185.545c0,11.558,9.368,20.926,20.926,20.926H359.93 c60.776,0,110.218,49.441,110.218,110.211S420.706,426.893,359.93,426.893H48.828c-11.558,0-20.926,9.368-20.926,20.926 c0,11.558,9.368,20.926,20.926,20.926H359.93c83.844,0,152.07-68.219,152.07-152.063S443.781,164.619,359.93,164.619z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
1
Nebula.Launcher/Assets/svg/user.svg
Normal file
@@ -0,0 +1 @@
|
||||
<!-- icon666.com - MILLIONS OF FREE VECTOR ICONS --><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M256,288.389c-153.837,0-238.56,72.776-238.56,204.925c0,10.321,8.365,18.686,18.686,18.686h439.747 c10.321,0,18.686-8.365,18.686-18.686C494.56,361.172,409.837,288.389,256,288.389z M55.492,474.628 c7.35-98.806,74.713-148.866,200.508-148.866s193.159,50.06,200.515,148.866H55.492z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g><g><g><path d="M256,0c-70.665,0-123.951,54.358-123.951,126.437c0,74.19,55.604,134.54,123.951,134.54s123.951-60.35,123.951-134.534 C379.951,54.358,326.665,0,256,0z M256,223.611c-47.743,0-86.579-43.589-86.579-97.168c0-51.611,36.413-89.071,86.579-89.071 c49.363,0,86.579,38.288,86.579,89.071C342.579,180.022,303.743,223.611,256,223.611z" fill="#000000" style="fill: rgb(255, 255, 255);"></path></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -7,15 +7,10 @@ namespace Nebula.Launcher.Converters;
|
||||
|
||||
public class TypeConverters
|
||||
{
|
||||
private const string StreamGeometryNotFound =
|
||||
"M24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4ZM24 6.5C14.335 6.5 6.5 14.335 6.5 24C6.5 33.665 14.335 41.5 24 41.5C33.665 41.5 41.5 33.665 41.5 24C41.5 14.335 33.665 6.5 24 6.5ZM24.25 32C25.0784 32 25.75 32.6716 25.75 33.5C25.75 34.3284 25.0784 35 24.25 35C23.4216 35 22.75 34.3284 22.75 33.5C22.75 32.6716 23.4216 32 24.25 32ZM24.25 13C27.6147 13 30.5 15.8821 30.5 19.2488C30.502 21.3691 29.7314 22.7192 27.8216 24.7772L26.8066 25.8638C25.7842 27.0028 25.3794 27.7252 25.3409 28.5793L25.3379 28.7411L25.3323 28.8689L25.3143 28.9932C25.2018 29.5636 24.7009 29.9957 24.0968 30.0001C23.4065 30.0049 22.8428 29.4493 22.8379 28.7589C22.8251 26.9703 23.5147 25.7467 25.1461 23.9739L26.1734 22.8762C27.5312 21.3837 28.0012 20.503 28 19.25C28 17.2634 26.2346 15.5 24.25 15.5C22.3307 15.5 20.6142 17.1536 20.5055 19.0587L20.4935 19.3778C20.4295 20.0081 19.8972 20.5 19.25 20.5C18.5596 20.5 18 19.9404 18 19.25C18 15.8846 20.8864 13 24.25 13Z";
|
||||
|
||||
public static FuncValueConverter<string, StreamGeometry> IconConverter { get; } =
|
||||
public static FuncValueConverter<string, string?> IconConverter { get; } =
|
||||
new(iconKey =>
|
||||
{
|
||||
if (iconKey is null) return StreamGeometry.Parse(StreamGeometryNotFound);
|
||||
|
||||
Application.Current!.TryFindResource(iconKey, out var resource);
|
||||
return resource as StreamGeometry ?? StreamGeometry.Parse(StreamGeometryNotFound);
|
||||
if (iconKey == null) return null;
|
||||
return $"/Assets/svg/{iconKey}.svg";
|
||||
});
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
<PackageReference Include="AsyncImageLoader.Avalonia" Version="3.3.0"/>
|
||||
<PackageReference Include="Avalonia" Version="11.2.1"/>
|
||||
<PackageReference Include="Avalonia.Desktop" Version="11.2.1"/>
|
||||
<PackageReference Include="Avalonia.Svg.Skia" Version="11.2.0.2" />
|
||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.1"/>
|
||||
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.1"/>
|
||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||
|
||||
@@ -20,9 +20,9 @@ public partial class MainViewModel : ViewModelBase
|
||||
{
|
||||
private readonly List<ListItemTemplate> _templates =
|
||||
[
|
||||
new ListItemTemplate(typeof(AccountInfoViewModel), "Account", "Account"),
|
||||
new ListItemTemplate(typeof(ServerListViewModel), "HomeRegular", "Servers"),
|
||||
new ListItemTemplate(typeof(ContentBrowserViewModel), "GridRegular", "Content")
|
||||
new ListItemTemplate(typeof(AccountInfoViewModel), "user", "Account"),
|
||||
new ListItemTemplate(typeof(ServerListViewModel), "file", "Servers"),
|
||||
new ListItemTemplate(typeof(ContentBrowserViewModel), "folder", "Content")
|
||||
];
|
||||
|
||||
private readonly List<PopupViewModelBase> _viewQueue = new();
|
||||
|
||||
@@ -208,9 +208,6 @@ public sealed partial class ContentBrowserViewModel : ViewModelBase
|
||||
|
||||
public class ContentEntry
|
||||
{
|
||||
public static IImage DirImage = new Bitmap(AssetLoader.Open(new Uri("avares://Nebula.Launcher/Assets/dir.png")));
|
||||
public static IImage IconImage = new Bitmap(AssetLoader.Open(new Uri("avares://Nebula.Launcher/Assets/file.png")));
|
||||
|
||||
private readonly Dictionary<string, ContentEntry> _childs = new();
|
||||
private readonly ContentBrowserViewModel _viewModel;
|
||||
|
||||
@@ -229,7 +226,7 @@ public class ContentEntry
|
||||
public string Name { get; private set; }
|
||||
public string PathName { get; }
|
||||
public string ServerName { get; }
|
||||
public IImage IconPath { get; set; } = DirImage;
|
||||
public string IconPath { get; set; } = "/Assets/svg/folder.svg";
|
||||
|
||||
public ContentEntry? Parent { get; private set; }
|
||||
public bool IsRoot => Parent == null;
|
||||
@@ -297,7 +294,7 @@ public class ContentEntry
|
||||
};
|
||||
|
||||
dirEntry.TryAddChild(entry);
|
||||
entry.IconPath = IconImage;
|
||||
entry.IconPath = "/Assets/svg/file.svg";
|
||||
return entry;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@ public partial class ServerListViewModel : ViewModelBase
|
||||
//Design think
|
||||
protected override void InitialiseInDesignMode()
|
||||
{
|
||||
Console.WriteLine("SOSAL");
|
||||
ServerInfos.Add(CreateServerView(new ServerHubInfo("ss14://localhost",
|
||||
new ServerStatus("Nebula", "TestCraft", ["16+", "RU"], "super", 12, 55, 1, false, DateTime.Now, 20), [])));
|
||||
ServerInfos.Add(CreateServerView(new ServerHubInfo("ss14://localhost",
|
||||
@@ -38,7 +37,6 @@ public partial class ServerListViewModel : ViewModelBase
|
||||
//real think
|
||||
protected override void Initialise()
|
||||
{
|
||||
Console.WriteLine("SOSAL!!");
|
||||
foreach (var info in HubService.ServerList) UnsortedServers.Add(info);
|
||||
|
||||
HubService.HubServerChangedEventArgs += HubServerChangedEventArgs;
|
||||
|
||||
@@ -52,10 +52,9 @@
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type models:ListItemTemplate}">
|
||||
<StackPanel Orientation="Horizontal" Spacing="17">
|
||||
<PathIcon
|
||||
Data="{Binding IconKey, Converter={x:Static converters:TypeConverters.IconConverter}}"
|
||||
Height="40"
|
||||
Width="40" />
|
||||
<Svg Path="{Binding IconKey, Converter={x:Static converters:TypeConverters.IconConverter}}"
|
||||
Height="40"
|
||||
Width="40"/>
|
||||
<TextBlock Text="{Binding Label}" VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
|
||||
@@ -78,10 +78,10 @@
|
||||
Padding="15">
|
||||
<Panel>
|
||||
<StackPanel IsVisible="{Binding !IsLogged}" Spacing="15">
|
||||
<Image
|
||||
<Svg
|
||||
Height="100"
|
||||
Margin="0,0,0,20"
|
||||
Source="/Assets/account.png" />
|
||||
Path="/Assets/svg/user.svg"/>
|
||||
<StackPanel HorizontalAlignment="Center">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Label VerticalAlignment="Center">
|
||||
@@ -141,19 +141,19 @@
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel IsVisible="{Binding IsLogged}">
|
||||
<Image
|
||||
<Svg
|
||||
Height="100"
|
||||
Margin="0,0,0,20"
|
||||
Source="/Assets/account.png" />
|
||||
Path="/Assets/svg/user.svg"/>
|
||||
<Label>
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock>Hello:</TextBlock>
|
||||
<TextBlock>Hello,</TextBlock>
|
||||
<TextBlock Text="{Binding CurrentLogin}" />
|
||||
</StackPanel>
|
||||
</Label>
|
||||
<StackPanel
|
||||
HorizontalAlignment="Center"
|
||||
Margin="5"
|
||||
Margin="5,20,5,5"
|
||||
Orientation="Horizontal"
|
||||
Spacing="5">
|
||||
<Button Command="{Binding Logout}">
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*,2*,40,40"
|
||||
Margin="5,5,5,0"
|
||||
Margin="8"
|
||||
RowDefinitions="40,*">
|
||||
<Border
|
||||
BorderThickness="2,0,0,0"
|
||||
CornerRadius="10,10,0,0"
|
||||
Grid.ColumnSpan="4" />
|
||||
<TextBox
|
||||
@@ -40,14 +39,14 @@
|
||||
Grid.Column="2"
|
||||
Grid.Row="0"
|
||||
Padding="10">
|
||||
<Image Source="/Assets/back.png" />
|
||||
<Svg Path="/Assets/svg/undo.svg"></Svg>
|
||||
</Button>
|
||||
<Button
|
||||
Command="{Binding OnGoEnter}"
|
||||
Grid.Column="3"
|
||||
Grid.Row="0"
|
||||
Padding="10">
|
||||
<Image Source="/Assets/go.png" />
|
||||
<Svg Path="/Assets/svg/next.svg"></Svg>
|
||||
</Button>
|
||||
|
||||
<ScrollViewer
|
||||
@@ -71,10 +70,10 @@
|
||||
Background="#00000000"
|
||||
BorderThickness="0,0,2,0"
|
||||
CornerRadius="0">
|
||||
<Image
|
||||
<Svg
|
||||
Height="15"
|
||||
Margin="10,0,10,0"
|
||||
Source="{Binding IconPath}" />
|
||||
Path="{Binding IconPath}" />
|
||||
</Border>
|
||||
<Label>
|
||||
<TextBlock Text="{Binding Name}" VerticalAlignment="Center" />
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
Margin="5,0,5,5"
|
||||
Margin="8,0,8,5"
|
||||
RowDefinitions="*,40">
|
||||
<ScrollViewer Margin="0,0,0,10" Padding="0,0,10,0" Grid.RowSpan="2">
|
||||
<ItemsControl
|
||||
@@ -41,13 +41,13 @@
|
||||
Command="{Binding FilterRequired}"
|
||||
Grid.Column="1"
|
||||
Padding="10">
|
||||
<Image Source="/Assets/filter.png" />
|
||||
<Svg Path="/Assets/svg/filter.svg"></Svg>
|
||||
</Button>
|
||||
<Button
|
||||
Command="{Binding UpdateRequired}"
|
||||
Grid.Column="2"
|
||||
Padding="10">
|
||||
<Image Source="/Assets/refresh.png" />
|
||||
<Svg Path="/Assets/svg/refresh.svg"></Svg>
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
<StackPanel Orientation="Horizontal" Spacing="5" Margin="0">
|
||||
<Border MinWidth="100"
|
||||
Background="{Binding CategoryColor}"
|
||||
CornerRadius="5,0,0,5"
|
||||
Padding="10,0,12,0" BorderThickness="2,0,2,0">
|
||||
CornerRadius="5"
|
||||
Padding="10,0,12,0" >
|
||||
<Label FontSize="15" VerticalAlignment="Center">
|
||||
<TextBlock Text="{Binding Category }" />
|
||||
</Label>
|
||||
|
||||
@@ -10,13 +10,14 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:system="clr-namespace:System;assembly=System.Runtime"
|
||||
xmlns:viewModels="clr-namespace:Nebula.Launcher.ViewModels"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:converters="clr-namespace:Nebula.Launcher.Converters">
|
||||
<Design.DataContext>
|
||||
<viewModels:ServerEntryModelView />
|
||||
</Design.DataContext>
|
||||
|
||||
<Border CornerRadius="10" Margin="0,5,0,5">
|
||||
<Grid ColumnDefinitions="30,*,80,120" RowDefinitions="35,*,*">
|
||||
<Grid ColumnDefinitions="30,*,80,90" RowDefinitions="35,*,*">
|
||||
<Border
|
||||
BorderThickness="0,0,0,2"
|
||||
CornerRadius="10"
|
||||
@@ -31,9 +32,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="3"
|
||||
VerticalAlignment="Stretch">
|
||||
<Label VerticalAlignment="Center">
|
||||
^
|
||||
</Label>
|
||||
<Label VerticalAlignment="Bottom" Margin="5,0,5,2">i</Label>
|
||||
</Button>
|
||||
<ScrollViewer
|
||||
Grid.Column="1"
|
||||
@@ -68,31 +67,26 @@
|
||||
HorizontalAlignment="Stretch"
|
||||
IsVisible="{Binding RunVisible}"
|
||||
VerticalAlignment="Stretch">
|
||||
<Label HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
Play
|
||||
</Label>
|
||||
<Svg Path="/Assets/svg/play.svg"/>
|
||||
</Button>
|
||||
<Grid Grid.ColumnDefinitions="*,*" IsVisible="{Binding !RunVisible}">
|
||||
<Grid ColumnDefinitions="*,*"
|
||||
IsVisible="{Binding !RunVisible}">
|
||||
<Button
|
||||
Command="{Binding ReadLog}"
|
||||
CornerRadius="10,0,0,10"
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="0,0,1,0"
|
||||
Margin="0,0,2,0"
|
||||
VerticalAlignment="Stretch">
|
||||
<Label HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
Log
|
||||
</Label>
|
||||
<Svg Path="/Assets/svg/newspaper.svg"/>
|
||||
</Button>
|
||||
<Button
|
||||
Command="{Binding StopInstance}"
|
||||
CornerRadius="10,0,10,0"
|
||||
CornerRadius="0,10,10,0"
|
||||
Grid.Column="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="1,0,0,0"
|
||||
Margin="2,0,0,0"
|
||||
VerticalAlignment="Stretch">
|
||||
<Label HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
Stop
|
||||
</Label>
|
||||
<Svg Path="/Assets/svg/stop.svg"/>
|
||||
</Button>
|
||||
</Grid>
|
||||
</Panel>
|
||||
|
||||