fix animation settings and allow Original animation or no animation - setable from GUI. This should fix client switching when using fixed window

This commit is contained in:
Izakbar
2024-12-27 17:09:38 +00:00
parent b7f9c71f5b
commit 9ee502d6b4
16 changed files with 1301 additions and 1256 deletions

View File

@@ -1,4 +1,5 @@
using System;
using EveOPreview.Configuration;
using System;
using System.Drawing;
namespace EveOPreview.Services
@@ -8,10 +9,10 @@ namespace EveOPreview.Services
bool IsCompositionEnabled { get; }
IntPtr GetForegroundWindowHandle();
void ActivateWindow(IntPtr handle, bool enableAnimation);
void MinimizeWindow(IntPtr handle, bool enableAnimation);
void ActivateWindow(IntPtr handle, AnimationStyle animation);
void MinimizeWindow(IntPtr handle, AnimationStyle animation, bool enableAnimation);
void MoveWindow(IntPtr handle, int left, int top, int width, int height);
void MaximizeWindow(IntPtr handle, bool enableAnimation);
void MaximizeWindow(IntPtr handle);
(int Left, int Top, int Right, int Bottom) GetWindowPosition(IntPtr handle);
bool IsWindowMaximized(IntPtr handle);
bool IsWindowMinimized(IntPtr handle);