Color support

This commit is contained in:
Alex
2022-10-11 00:46:51 +03:00
parent f7e316bdcb
commit 9c00c5ec4b
5 changed files with 43 additions and 4 deletions

View File

@ -77,7 +77,7 @@ namespace Video
struct ScreenBuffer
{
void *Buffer;
void *Buffer = nullptr;
uint32_t Width, Height;
uint64_t Size;
uint32_t Color;
@ -90,6 +90,8 @@ namespace Video
BootInfo::FramebufferInfo framebuffer;
Font *CurrentFont;
ScreenBuffer *Buffers[16];
bool ColorIteration = false;
int ColorPickerIteration = 0;
public:
Font *GetCurrentFont() { return CurrentFont; }

View File

@ -6,6 +6,7 @@
namespace Interrupts
{
void Initialize();
void Enable();
}
#endif // !__FENNIX_KERNEL_INTERRUPTS_H__