From a268a7d3551523fb82b1495808f3ea2516b6fdaa Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 12 Jul 2024 01:03:21 +0200 Subject: [IMP && FIX] Various patches and implementations. Most importantly: - JSON parser. Signed-off-by: Amlal --- Kernel/Sources/Framebuffer.cxx | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'Kernel/Sources/Framebuffer.cxx') diff --git a/Kernel/Sources/Framebuffer.cxx b/Kernel/Sources/Framebuffer.cxx index c9c44a55..f006a9b9 100644 --- a/Kernel/Sources/Framebuffer.cxx +++ b/Kernel/Sources/Framebuffer.cxx @@ -70,14 +70,13 @@ namespace Kernel } /// @brief Draws a rectangle. - /// @param width - /// @param height - /// @param x - /// @param y - /// @param color - /// @return - _Output Framebuffer& Framebuffer::DrawRect(SizeT width, SizeT height, - SizeT x, SizeT y, UInt32 color) + /// @param width + /// @param height + /// @param x + /// @param y + /// @param color + /// @return + _Output Framebuffer& Framebuffer::DrawRect(SizeT width, SizeT height, SizeT x, SizeT y, UInt32 color) { for (Kernel::SizeT i = x; i < width + x; ++i) { @@ -93,10 +92,10 @@ namespace Kernel } /// @brief Put a pixel on the screen. - /// @param x - /// @param y - /// @param color - /// @return + /// @param x + /// @param y + /// @param color + /// @return _Output Framebuffer& Framebuffer::PutPixel(SizeT x, SizeT y, UInt32 color) { *(((volatile Kernel::UInt32*)(fFrameBufferAddr.Leak()->fBase + -- cgit v1.2.3