Thumbnail management code cleanup

This commit is contained in:
Anton Kasyanov
2016-05-30 23:13:39 +03:00
parent 362fd0b8d4
commit 244a193e99
28 changed files with 1207 additions and 1115 deletions

View File

@@ -0,0 +1,31 @@
using System;
using System.Drawing;
namespace EveOPreview.UI
{
public interface IThumbnailView : IView
{
IntPtr Id { get; set; }
string Title { get; set; }
bool IsEnabled { get; set; }
bool IsActive { get; set; }
Point Location { get; set; }
Size Size { get; set; }
bool IsOverlayEnabled { get; set; }
bool IsKnownHandle(IntPtr handle);
void SetOpacity(double opacity);
void SetWindowFrames(bool enable);
void SetTopMost(bool enableTopmost);
void Refresh();
event Action<IntPtr> ThumbnailResized;
event Action<IntPtr> ThumbnailMoved;
event Action<IntPtr> ThumbnailFocused;
event Action<IntPtr> ThumbnailLostFocus;
event Action<IntPtr> ThumbnailActivated;
}
}