// Copyright (c) Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Core/Config.h"
///
/// Window closing reasons.
///
API_ENUM() enum class ClosingReason
{
///
/// The unknown.
///
Unknown = 0,
///
/// The user.
///
User,
///
/// The engine exit.
///
EngineExit,
///
/// The close event.
///
CloseEvent,
};
///
/// Types of default cursors.
///
API_ENUM() enum class CursorType
{
///
/// The default.
///
Default = 0,
///
/// The cross.
///
Cross,
///
/// The hand.
///
Hand,
///
/// The help icon
///
Help,
///
/// The I beam.
///
IBeam,
///
/// The blocking image.
///
No,
///
/// The wait.
///
Wait,
///
/// The size all sides.
///
SizeAll,
///
/// The size NE-SW.
///
SizeNESW,
///
/// The size NS.
///
SizeNS,
///
/// The size NW-SE.
///
SizeNWSE,
///
/// The size WE.
///
SizeWE,
///
/// The cursor is hidden.
///
Hidden,
MAX
};
///
/// Data drag and drop effects.
///
API_ENUM() enum class DragDropEffect
{
///
/// The none.
///
None = 0,
///
/// The copy.
///
Copy,
///
/// The move.
///
Move,
///
/// The link.
///
Link,
};
///
/// Window hit test codes. Note: they are 1:1 mapping for Win32 values.
///
API_ENUM() enum class WindowHitCodes
{
///
/// The transparent area.
///
Transparent = -1,
///
/// The no hit.
///
NoWhere = 0,
///
/// The client area.
///
Client = 1,
///
/// The caption area.
///
Caption = 2,
///
/// The system menu.
///
SystemMenu = 3,
///
/// The grow box
///
GrowBox = 4,
///
/// The menu.
///
Menu = 5,
///
/// The horizontal scroll.
///
HScroll = 6,
///
/// The vertical scroll.
///
VScroll = 7,
///
/// The minimize button.
///
MinButton = 8,
///
/// The maximize button.
///
MaxButton = 9,
///
/// The left side;
///
Left = 10,
///
/// The right side.
///
Right = 11,
///
/// The top side.
///
Top = 12,
///
/// The top left corner.
///
TopLeft = 13,
///
/// The top right corner.
///
TopRight = 14,
///
/// The bottom side.
///
Bottom = 15,
///
/// The bottom left corner.
///
BottomLeft = 16,
///
/// The bottom right corner.
///
BottomRight = 17,
///
/// The border.
///
Border = 18,
///
/// The object.
///
Object = 19,
///
/// The close button.
///
Close = 20,
///
/// The help button.
///
Help = 21,
};