Skip to content

Instantly share code, notes, and snippets.

View habibg1232191's full-sized avatar
💻
Work on AniJin

Luen habibg1232191

💻
Work on AniJin
View GitHub Profile
#include "Render.h"
#include <sstream>
#include <iostream>
#include <windows.h>
#include <GL\GL.h>
#include <GL\GLU.h>
#include "MyOGL.h"
#include "Render.h"
#include <sstream>
#include <iostream>
#include <windows.h>
#include <GL\GL.h>
#include <GL\GLU.h>
#include "MyOGL.h"
#include <windows.h> /* This enables access to Microsoft Windows specific data types that are required to use the Graphical User Interface of Windows. (HWND, WNDCLASSEX, etc.) */
#include <tchar.h> /* _T */
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
#include "skia/core/SkBitmap.h"
#include "skia/core/SkCanvas.h"
#include "skia/core/SkSurface.h"
#include <iostream>
extern "C" {
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
}
using namespace std;
const char* url = "<local url file>";
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQuickWindow>
#include <Windows.h>
#include <windowsx.h>
#include "dwmapi.h"
#include "core/window_manager/WindowManager.h"
WNDPROC prevWndProc;
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(37): error C2760: синтаксическая ошибка: непредвиденный элемент "=". Ожидается "{"
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(37): error C2059: синтаксическая ошибка: {
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(37): error C2143: синтаксическая ошибка: отсутствие ";" перед "{"
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(37): error C2447: {: отсутствует заголовок функции (возможно, используется формальный список старого типа)
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(37): error C2059: синтаксическая ошибка: ,
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(38): error C2143: синтаксическая ошибка: отсутствие ";" перед "{"
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(38): error C2447: {: отсутствует заголовок функции (возможно, используется формальный список старого типа)
C:\Users\habib\CLionProjects\win32_window\SkVideoDecoder.cpp(38): error C2059: син
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.
public class MainWindowViewModel : ViewModelBase
{
private CancellationToken _cancellationToken;
private CancellationTokenSource _cancellationTokenSource = new();
private int _pageIndex = 1;
private ObservableCollection<IWallpaperInfo> _wallpapers = new();
private string _searchString = "";
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;
<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>