diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
| commit | d7112cd6909640afd7609b3a142bc6ecf921ee25 (patch) | |
| tree | 55033ad28d58d536c4b3bad715d8635f00773bfd /Private/Source/Framebuffer.cxx | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/Framebuffer.cxx')
| -rw-r--r-- | Private/Source/Framebuffer.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Private/Source/Framebuffer.cxx b/Private/Source/Framebuffer.cxx index 1a73e449..9164e913 100644 --- a/Private/Source/Framebuffer.cxx +++ b/Private/Source/Framebuffer.cxx @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -9,15 +9,15 @@ #include <KernelKit/Framebuffer.hpp> -namespace hCore { -Framebuffer::Framebuffer(hCore::Ref<FramebufferContext*>& addr) +namespace HCore { +Framebuffer::Framebuffer(HCore::Ref<FramebufferContext*>& addr) : m_FrameBufferAddr(addr), m_Colour(FramebufferColorKind::RGB32) {} Framebuffer::~Framebuffer() = default; volatile UIntPtr* Framebuffer::operator[](const UIntPtr& width_and_height) { if (m_FrameBufferAddr) - return reinterpret_cast<volatile hCore::UIntPtr*>( + return reinterpret_cast<volatile HCore::UIntPtr*>( m_FrameBufferAddr->m_Base + width_and_height); return nullptr; @@ -33,4 +33,4 @@ const FramebufferColorKind& Framebuffer::Color( return m_Colour; } -} // namespace hCore +} // namespace HCore |
