This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CMake Warning (dev) at C:/Program Files/JetBrains/CLion 2022.2.1/bin/cmake/win/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message): | |
| The package name passed to `find_package_handle_standard_args` (FFmpeg) | |
| does not match the name of the calling package (ffmpeg). This can lead to | |
| problems in calling code that expects `find_package` result variables | |
| (e.g., `_FOUND`) to follow a certain pattern. | |
| Call Stack (most recent call first): | |
| cmake/FindFFmpeg.cmake:151 (find_package_handle_standard_args) | |
| C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake:826 (_find_package) | |
| CMakeLists.txt:9 (find_package) | |
| This warning is for project developers. Use -Wno-dev to suppress it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MainWindowViewModel : ViewModelBase | |
| { | |
| private CancellationToken _cancellationToken; | |
| private CancellationTokenSource _cancellationTokenSource = new(); | |
| private int _pageIndex = 1; | |
| private ObservableCollection<IWallpaperInfo> _wallpapers = new(); | |
| private string _searchString = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Avalonia.Threading; | |
| using DynamicData.Binding; | |
| using July.Core.Plugin; | |
| using July.Core.Services; | |
| using ReactiveUI; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <OutputType>WinExe</OutputType> | |
| <TargetFramework>net6.0</TargetFramework> | |
| <Nullable>enable</Nullable> | |
| <!--Avalonia doesen't support TrimMode=link currently,but we are working on that https://github.com/AvaloniaUI/Avalonia/issues/6892 --> | |
| <TrimMode>copyused</TrimMode> | |
| <BuiltInComInteropSupport>true</BuiltInComInteropSupport> | |
| </PropertyGroup> | |
| <ItemGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "juliwindow2.h" | |
| bool JuliWindow2::nativeEvent(const QByteArray &eventType, void *message, long *res) { | |
| if(eventType == "windows_generic_MSG") { | |
| MSG* ms = (MSG*) message; | |
| res = (long*) WndProc(ms->hwnd, ms->message, ms->wParam, ms->lParam); | |
| } | |
| return true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) | |
| { | |
| switch (message) | |
| { | |
| case WM_NCHITTEST: { | |
| return 0; | |
| } | |
| default: | |
| { | |
| return DefWindowProc(hWnd, message, wParam, lParam); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.animation.* | |
| import androidx.compose.animation.core.* | |
| import androidx.compose.foundation.* | |
| import androidx.compose.foundation.layout.* | |
| import androidx.compose.material.* | |
| import androidx.compose.runtime.* | |
| import androidx.compose.ui.Alignment | |
| import androidx.compose.ui.ExperimentalComposeUiApi | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.window.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.foundation.Image | |
| import androidx.compose.runtime.* | |
| import androidx.compose.ui.graphics.ImageBitmap | |
| import androidx.compose.ui.graphics.toComposeImageBitmap | |
| import kotlinx.coroutines.delay | |
| import org.bytedeco.ffmpeg.avcodec.AVCodecParameters | |
| import org.bytedeco.ffmpeg.avutil.AVFrame | |
| import org.bytedeco.ffmpeg.global.* | |
| import org.bytedeco.ffmpeg.global.avformat.avformat_find_stream_info | |
| import org.bytedeco.ffmpeg.global.avformat.avformat_open_input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.animation.* | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.layout.Layout | |
| import androidx.compose.ui.unit.IntOffset | |
| import androidx.compose.ui.window.Popup | |
| @Composable | |
| fun AniJinPopup( | |
| expanded: Boolean, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
| plugins { | |
| id("org.beryx.runtime") version "1.12.5" | |
| kotlin("jvm") version "1.5.31" | |
| kotlin("plugin.serialization") version "1.5.31" | |
| application | |
| } | |
| group = "me.habib" |