mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel/Graphics: Implement basic cursor for FramebufferConsole
This commit is contained in:
parent
00a0b1bd14
commit
0d784de3a6
2 changed files with 19 additions and 1 deletions
|
@ -43,6 +43,7 @@ protected:
|
|||
: Console(width, height)
|
||||
, m_pitch(pitch)
|
||||
{
|
||||
m_cursor_overriden_pixels.fill(0);
|
||||
}
|
||||
virtual u8* framebuffer_data() = 0;
|
||||
size_t framebuffer_pitch() const { return m_pitch; }
|
||||
|
@ -51,6 +52,8 @@ protected:
|
|||
size_t const m_pixels_per_column { 8 };
|
||||
size_t const m_pixels_per_row { 16 };
|
||||
|
||||
Array<u32, 8> m_cursor_overriden_pixels;
|
||||
|
||||
size_t m_pitch;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue