diff options
| author | Amlal <amlal@zka.com> | 2024-07-12 01:03:21 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-07-12 01:03:21 +0200 |
| commit | a268a7d3551523fb82b1495808f3ea2516b6fdaa (patch) | |
| tree | 0a7fab583aafca52bccf5bac143517f559b3a247 /Kernel/Sources/Framebuffer.cxx | |
| parent | 0a076b2bcc21d4fc94b83569e1b5198f9e4acd0b (diff) | |
[IMP && FIX] Various patches and implementations.
Most importantly:
- JSON parser.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Kernel/Sources/Framebuffer.cxx')
| -rw-r--r-- | Kernel/Sources/Framebuffer.cxx | 23 |
1 files changed, 11 insertions, 12 deletions
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 + |
