mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
Added GetBitsPerPixel & GetPitch
This commit is contained in:
@ -172,6 +172,9 @@ namespace Video
|
|||||||
return *Pixel;
|
return *Pixel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline uint16_t GetBitsPerPixel() { return this->framebuffer.BitsPerPixel; }
|
||||||
|
inline uint64_t GetPitch() { return this->framebuffer.Pitch; }
|
||||||
|
|
||||||
void Scroll(int Index, int Lines)
|
void Scroll(int Index, int Lines)
|
||||||
{
|
{
|
||||||
if (Lines == 0)
|
if (Lines == 0)
|
||||||
|
Reference in New Issue
Block a user