From 3b3b36dcc6542e203475fe1d50ed89799e3f3fc6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 25 Mar 2024 20:17:53 +0100 Subject: Kernel: implement some tickets, improved stuff. Signed-off-by: Amlal El Mahrouss --- .../System.Core/Headers/Window/Window.hxx | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Public/Developer/System.Core/Headers/Window/Window.hxx (limited to 'Public/Developer/System.Core/Headers/Window/Window.hxx') diff --git a/Public/Developer/System.Core/Headers/Window/Window.hxx b/Public/Developer/System.Core/Headers/Window/Window.hxx new file mode 100644 index 00000000..1a8c6cf6 --- /dev/null +++ b/Public/Developer/System.Core/Headers/Window/Window.hxx @@ -0,0 +1,38 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + +#include + +/// @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; -- cgit v1.2.3