summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/GfxKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-23 04:07:12 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-23 04:07:12 +0200
commitfc67c4af554189c941c811486a0b2b21aa3f54ea (patch)
treeddc7677c3bb1072c9b9fb85618b75c8ee172b377 /dev/kernel/GfxKit
parentfbd1f65a2cd30b3b4ed3da236398ddcfc437ac47 (diff)
feat!(kernel): Rename NewKit to NeKit.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/GfxKit')
-rw-r--r--dev/kernel/GfxKit/FB.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/dev/kernel/GfxKit/FB.h b/dev/kernel/GfxKit/FB.h
index 33895ce6..e30f1800 100644
--- a/dev/kernel/GfxKit/FB.h
+++ b/dev/kernel/GfxKit/FB.h
@@ -13,16 +13,21 @@ namespace Kernel {
class FBDeviceInterface;
struct FBDevicePacket;
+typedef UInt32 FBCoord2x2;
+typedef UInt32 FBDim2x2;
+typedef UInt32 FBColorProfile;
+typedef UInt32 FBFlags;
+
/// @brief Framebuffer device interface packet.
/// @details This structure is used to send and receive data from the framebuffer device.
/// @note The structure is packed to ensure that the data is aligned correctly for the device.
struct PACKED FBDevicePacket final {
- UInt32 fX;
- UInt32 fY;
- UInt32 fWidth;
- UInt32 fHeight;
- UInt32 fColor;
- UInt32 fFlags;
+ FBCoord2x2 fX;
+ FBCoord2x2 fY;
+ FBDim2x2 fWidth;
+ FBDim2x2 fHeight;
+ FBColorProfile fColor;
+ FBFlags fFlags;
};
/// @brief Framebuffer device interface.