summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Headers/Window/Window.hxx
blob: 1a8c6cf6038f3f54f79da72b2bf487273981e7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* -------------------------------------------

    Copyright Mahrouss Logic

------------------------------------------- */

#pragma once

#include <System.Core/Headers/Defines.hxx>

/// @file Window.hxx
/// @brief Tracker window manager.
/// @author Amlal El Mahrouss.

typedef float PositionType;

/// @brief A point, can represent the size, position of a window.
typedef struct _Point {
  PositionType X, Y;
} Point;

/// @brief Tracker Graphics port.
typedef struct _GraphicsPort {
  WordType windowPort;
  WordType windowKind;
  BooleanType windowVisible;
  BooleanType windowMaximized;
  BooleanType windowMinimized;
  BooleanType windowMoving;
  BooleanType windowDisableClose;
  BooleanType windowDisableMinimize;
  Point windowPosition;
  Point windowSize;
  BooleanType windowInvalidate;
  DWordType windowClearColor;
  WordType menuPort;
  WordType parentPort;
} GraphicsPort;